‎2008 Jul 28 6:49 PM
The markup is in structure KOMG. You have to access this structure with condition type ZMUP, plant # and vendor #.
Is it possible to pull the markup percentage between two plants. I mean in programming can we pull data from structures?
This might sound stupid and I would assume you can but what are the limitations and what sort of logic will the code have?
Thank you.
‎2008 Jul 29 11:25 AM
Hi,
You can't take data directly from structures like you do with tables or views. Because structure is like a work area and only have values at run time. I think there is a FM to take the data. Try "Where-used" list.
Regards,
Teddy
‎2008 Jul 29 1:42 PM
What do you mean by FMs? I am not aware of that term.
Also where can I find the where used list? and what is it?
Edited by: saad A on Jul 29, 2008 2:48 PM
‎2008 Aug 04 5:34 AM
Hi,
FM means Function Module. If you have some technical background, FM is quite like a subroutine. Where we could give an input and then the FM will give us an output. The T-Code is SE37.
'Where used list' is a standard SAP button to check in what other objects that an object is used. For example an object is data element KUNNR_V for field KOMG-KUNNR. You go to SE11 and put KUNNR_V at Data Type and display. There you will find 'where used list' button (at the right of Activate button). You can then check in what other objects that data element KUNNR_V are used.
When I said 'Try to use where used list', I means you need to check whether structure KOMG is used elsewhere by a Function Module. And the function module might help you to get the value you need.
Regards,
Teddy