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: 

Check FM invocation

Former Member
0 Kudos
83

Hi. I've got a problem. I try to debug a core SAP program. On some stage there is function <b>posed_store_data_wpubon</b> called. It takes a table-parameter. I need to get to know how is that table generated but when I try to search for that FunctionModule invocations there are no incvocations found. How can I search that?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
59

Hi,

It is related to IDOC. U just search in main program. U can find it. In to this we have to pass edidc and edidd.

regards,

Subbu

3 REPLIES 3

Former Member
0 Kudos
60

Hi,

It is related to IDOC. U just search in main program. U can find it. In to this we have to pass edidc and edidd.

regards,

Subbu

Clemenss
Active Contributor
0 Kudos
59

Hi Piotr,

put a breakpoint (soft) on that function module. When executions stops, go to call hierarchy to check where it is called from. You can click through the hierarchy to find out how table is filled.

In IDoc processing, many function calls are trigered dynamically. That's why you do not find references.

I think, it will be a retail system processing Idocs coming from a cashier system.

Table I_EDIDD carries IDoc data. Field SEGNAM contains the segment structure name. SDATA has the data structured according to structure given in SEGNAM.

Regards,

Clemens

Former Member
0 Kudos
59

1.<b>Clemens Li</b>

<i>When executions stops, go to call hierarchy to check where it is called from</i>

I can't find that in menu whilst debugging. Could You give me a menu-path to that option? Maybe we have different versions of ABAP environment

2. <b>Clemens Li</b>

Yes it's exactly such table I_EDIDD STRUCTURE EDIDD. Could You tell me please how can I solve my problem? I have IDOC number and I'd like to check which casshier bill is it connected with. It is in I_EDIDD-SDATA. How should I fill I_EDIDD with data and is there some FModule which would import that I_EDIDD to give me that casshier bill number somehow?

But the best solution for me wold be if I could find connectin betweek material and financial IDOC, because in our company those documents account different amounts of money sometimes and I have to catch such faked situations.