Skip to Content
Author's profile photo Kapil Changrani

Create Label for Purchase Order Using AdobeForms

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 Name TYPE Type name Optional PassValue
/1BCDWB/DOCPARAMS TYPE SFPDOCPARAMS X X
HEADER TYPE MMPUR_PRINT_EKKO X X

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

Activate Interface.

Interface.png

Step 2 : Create Form in Tcode : SFP.

Provide the interface name you just created above.

FormCreate.png

Step 3. Drag and drop your fields from Import to Context Area.

Drag Fields.png

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.

/wp-content/uploads/2015/04/layout_695427.png

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.

  /wp-content/uploads/2015/04/binding_695428.png

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

Output type.png

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.


SPAD.png

Trigger Output

In TCode : ME21N/ ME22N/ ME23N.

Create Output.

trigger output2.png

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.