May 31, 2009

Print Form PO (Purchase Order)

When you create add on program for Print Out Form PO ( Purchase Order), you will use t-code (SE38). To get parameter PO number from ME23N, you need to add coding like this in below :

*&---------------------------------------------------------------------*
*& Form entry_neu
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* -->ENT_RETCO text
* -->ENT_SCREEN text
*----------------------------------------------------------------------*
FORM entry_neu USING ent_retco ent_screen.
CLEAR ent_retco.
MOVE nast-objky TO p_ebeln.
* Collect data from several tables
PERFORM f_collect_data.
** Display form
PERFORM f_display_form.
ENDFORM. "entry_neu



After you already finish to develop. You need to assign the program Id in Output Type using t-code spro.


No comments:

Post a Comment