Create Label for Purchase Order Using AdobeForms
Print PO label with only PO Number as a bar-code on the label. This would be used for plant to plant to stock transfer.
Step 1 : Create Interface in Tcode: SFP.
Add parameters to the form interface import parameters.
|Parameter Name||TYPE||Type name||Optional||PassValue|
These parameters will be export parameters of the calling function module.
Step 2 : Create Form in Tcode : SFP.
Provide the interface name you just created above.
Step 3. Drag and drop your fields from Import to Context Area.
Step 4: Go to Layout and choose the page size based on label stationery.
Currently we are using Height = 4in, Width = 6in and Orientation = Landscape.
Step 5 : From the Object Library take the object you want to print on label, our requirement is to print PO number as a bar-code.
Do the binding with variable added in the context area.
Configure output type
Now we are ready to trigger the label from PO. Let’s make sure we have correct output type setup.
MM functional person can help us with this requirement.
We are using standard SAP print program to print PO.
Program : SAPFM06P
FORM routine : ADOBE_ENTRY_NEU
Device Type and Printer Setup – TCode: SPAD
Label Printer should be available in SAP, with PDF device type so that we can print PDF forms.
Basis team can help us with this one.
In TCode : ME21N/ ME22N/ ME23N.