Application Development 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: 

Message Control for Purchasing

Former Member
0 Kudos
266

I am new to output determination and am having trouble with the communication structure between the application and my custom code FORM_KOBED_950. When I put a breakpoint in this form and run ME21n to create a PO, then save, I do hit the breakpoint. However, I am not able to read any application data here. I can't find a function module to fill a structure from EKKO or EKPO in function group V61B. Do I need to write it myself? Any guidance would be GREATLY appreciated.<b><REMOVED BY MODERATOR></b>

Thanks,

Beth

Message was edited by:

Alvaro Tejada Galindo

1 REPLY 1

Former Member
0 Kudos
57

I pulled the application data from the stack and assigned to field symbol. I was then able to read contents of EKKO.

FIELD-SYMBOLS: <FS_EKKO> TYPE EKKO.

ASSIGN ('(SAPLMEDR)EKKO') TO <FS_EKKO>.

IF SY-SUBRC = 0.

"LOGIC HERE

ENDIF.