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

General Programming question

Former Member
0 Likes
568

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.

3 REPLIES 3
Read only

Former Member
0 Likes
546

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

Read only

Former Member
0 Likes
546

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

Read only

0 Likes
546

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