‎2009 Jan 30 11:38 AM
Hi Friends,
I have created field exit on sold to party field while creating sales order. But inside of that field exit
i need to put one query on basis of sold to party and sales organization and division. But that field exit function having only one import parameter that is sold to party but from where i can fetch sales organization and division . How can i refer global program values. Can i use assign statememnt for that. Please help me.
Thanks a lot in advance.
‎2009 Jan 31 7:11 PM
You can use the assign command to get other values in the screen. See the examplo below:
DATA lv_field TYPE char40.
FIELD-SYMBOLS: <fs_postp> TYPE ANY.
lv_field = '(SAPLCOMD)RESBD-POSTP'. "
ASSIGN (lv_field) TO <fs_postp>.
‎2009 Jan 31 7:11 PM
You can use the assign command to get other values in the screen. See the examplo below:
DATA lv_field TYPE char40.
FIELD-SYMBOLS: <fs_postp> TYPE ANY.
lv_field = '(SAPLCOMD)RESBD-POSTP'. "
ASSIGN (lv_field) TO <fs_postp>.
‎2009 Jan 31 7:21 PM
Hello
the original article about this topic can be found here:
[SAP User Exits and the People Who Love Them|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8]
Regards
Uwe