Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member189862
Participant
0 Kudos

Requirement

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.

Create AdobeForm

Step 1 : Create Interface in Tcode: SFP.

Add parameters to the form interface import parameters.

Parameter NameTYPEType nameOptionalPassValue
/1BCDWB/DOCPARAMSTYPESFPDOCPARAMSXX
HEADERTYPEMMPUR_PRINT_EKKOXX

These parameters will be export parameters of the calling function module.

Activate Interface.

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.

Activate Form.

 

Configure output type

Tcode: NACE

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

Configure Printer

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.


Trigger Output

In TCode : ME21N/ ME22N/ ME23N.

Create Output.