Dear All,
Kindly help in modifying the SAP Standard script of PO printing as im very new to SAPSCRIPT programing.
My requirements are as follows.
1.Need to add field in the customer address area, CNPJ
CNPJ = (Select paval from T001Z for some cond...) + ( select J_1BBRANCH from
T001W for some cond...) + Function returns HR_BR_CGC_CHECK_DIGITS).
2.Need to add field in the PO Item display area, UnitPrice.
UnitPrice = ( Select KBETR from KONV where KONV-KNUMV=EKPO-KNUMV
and KSCHL = 'ZPBO' or KSCHL='PBXX'.
3.Neet to add the company logo in the Title area.( how to include a logo to the script)
<b>
i went thru the coding and understand that we need to do the changes in the
ME_READ_PO_FOR_PRINTING and ME_PRINT_PO function modules.
But i dont know how to and where to add my coding ( as above given reqmt) in those func.modules, also im not sure abt how to do the changes in the SAPSCRIPT FORM LAYOUT-(Desing/Text)</b>
Note:
For this, I had copied , MEDRUCK as ZMEDRUCK,
SAPFM06P as ZSAPFM06P ,
FM06PE02 as ZFM06PE02,
did the NACE part and configured the ME23N Print Preview with the newly copied programs and form.
copied...
ME_READ_PO_FOR_PRINTING as ZME_READ_PO_FOR_PRINTING,
ME_PRINT_PO as ZME_PRINT_PO.
<b>Also im getting a declaration related error when trying to activating the ZME_PRINT_PO.</b>
Kindly guide me to solve the above given issues.