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

IDOC_INPUT_MATMAS01 INclude

Former Member
0 Likes
1,241

Hi All,

I had used IDOC_INPUT_MATMAS01 for the modification of material master updation. This FM is having a CALL CUTOMER FUNCTION '002'. Actually inside it there was a INCLUDE which needed to be activated and write a set of code inside it.

So, I had done that part. But now the issue is that once it moved to production system. It is going inside the FM but not inside the include. It worked fine on the 3 Intergration Systems. But in production it is not working that way.

If anybody has faced such issue. Please provide some inputs on this.

Regards,

Brijesh Patel

9 REPLIES 9
Read only

Former Member
0 Likes
1,096

The user exit needs to be assigned to a project (trans CMOD). Does this project exist in Prod.

Read only

Former Member
0 Likes
1,096

Hi,

Yaa projet assignment is done in cmod. It is in active state with this 2 User exit names.

regards,

Brijesh Patel

Read only

0 Likes
1,096

Are u using the single step mode when in debug. Also set a breakpoint in the user exit itself and try it again.

If you view the code of the user exit, does SAP allow u to navigate to the main program.

Read only

0 Likes
1,096

my doubt is the complte function group is transpored to the PRD or not...definetly is not, but once if u check that its good..

wht my suggestion is oput the break point in the include if it exitst..

Read only

0 Likes
1,096

You need to re-post your last comment and read it before you submit. It did not make any sense.

Read only

0 Likes
1,096

Hello,

Try to check IDOC_INPUT_MATMAS01 source code from system(where exit is triggered correctly ) with source code of IDOC_INPUT_MATMAS01 in production system till the call of customer function '002'.

If you notice diff between source code ,then it's possible that some notes/patches are applied in your development system which are not applied in production.

If there is no difference in the source code,then set break-point just before call of the customer function & see how system inteprets customer function call.that may help you.

Thanks.

Read only

Former Member
0 Likes
1,096

Actually FM is standard and iNclude is active there. And while debugging it is skipping the INCLUDE . Any inputs on this will be helpful.

regards,

Brijesh Patel

Read only

0 Likes
1,096

Using SE38, view the code of the include. Then see if you can navigate to the main program of the incldue.

I know the FM is standard.

Is the include active. Also run a syntax check, if there are errors, then the include will not be active.

Read only

0 Likes
1,096

u r sure INCLUDE ZXMGVU04 is in active stage and project is also created...

once check u SAP inbox... r u reciving any messages while running IDOC_INPUT_MATMAS01.

why iam telling all these... trail and error, i have worked on Matas outbound exits..may be i can help u

can you plese post u r code here...