‎2008 Jul 25 7:02 PM
Hi Buddies,
How to modify the standard layout (eg. MEDRUCK)
and how to pass additional data to the modified layout with
and without modifying the driver program. Pls any body explain
me indetail ( if possible with suitable example )
‎2008 Jul 25 7:12 PM
Hi,
Copy the script and make the changes.
In NACE for output type EF (Purchase Order), create one more output type ZNEU. (Click on change button and create new entry).
Copy the entry as it is in the standard NEU output type, against the Form name enter your new 'Z' form name.
For the addl.fields, create another program, say, ZPO_PUR_ORD and write your own selects and subroutines for fetching the values.
For printing that value in sapscript:
PERFORM GET_WORK_ORDER IN PROGRAM ZPO_PUR_ORD
USING &EKPO-EBELN&
USING &EKPO-EBELP&
CHANGING &EKKN-AUFNR&
ENDPERFORM
Regards,
Subramanian
‎2008 Jul 25 7:12 PM
Hi,
Copy the script and make the changes.
In NACE for output type EF (Purchase Order), create one more output type ZNEU. (Click on change button and create new entry).
Copy the entry as it is in the standard NEU output type, against the Form name enter your new 'Z' form name.
For the addl.fields, create another program, say, ZPO_PUR_ORD and write your own selects and subroutines for fetching the values.
For printing that value in sapscript:
PERFORM GET_WORK_ORDER IN PROGRAM ZPO_PUR_ORD
USING &EKPO-EBELN&
USING &EKPO-EBELP&
CHANGING &EKKN-AUFNR&
ENDPERFORM
Regards,
Subramanian
‎2008 Jul 26 12:49 PM
Abdul,
by just copy MEDRUCK into some z script than you can start change in your script.
Amit.