Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Scripts and Smartfroms

Former Member
0 Likes
345

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 )

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
319

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

2 REPLIES 2
Read only

Former Member
0 Likes
320

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

Read only

Former Member
0 Likes
319

Abdul,

by just copy MEDRUCK into some z script than you can start change in your script.

Amit.