Quantcast
Channel: SCN : Document List - ABAP Development
Viewing all articles
Browse latest Browse all 935

Create Label for Purchase Order Using AdobeForms

$
0
0

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.

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.

layout.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.

 

  binding.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


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>