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: 

URGENT ..userexit Idoc(inbound ) to mir4 tcode

Former Member
0 Kudos

Am coding in two userexits (ZXM08U25, ZXM08U26 ) of INBOUND Idoc which will update t-code of mir4, and I am testing this using we19.

some field ( field sgtxt of bseg table ) we forgot to send to( they did not give how to pass in functional specs ) ….through IDoc .

Just want to know how the mir4 tcode gets updated by we19 tool..Is it BDC or some direct abap coding UPDATE/MODIFY ?

ERROR is 51 : Field Text is a required field for G/L account IP50 21300010.

Functional specs are not stating that this particular text field … how ever specs stated other texts to pass in internaltable . How can I solve this problem please.

7 REPLIES 7

Former Member
0 Kudos

How the inbound Idoc gets updated in SAP . using update stmt or it uses any bdc?

Former Member
0 Kudos

How the inbound Idoc gets updated in SAP . using update stmt or it uses any bdc?

Just want to figure it out...using we19 when we test the Idoc ...how is it going to be updated in SAP ?

ferry_lianto
Active Contributor
0 Kudos

Hi Sam,

Please check the process code that was setup in the partner profile (WE20) for the corresponding inbound IDoc.

Process code is basically a function module that is used to process and post the IDoc.

What is the inbound message type that you are dealing with now?

Regards,

Ferry Lianto

Former Member
0 Kudos

Hi Sam,

Thank you very much .

INVOIC is the inbound message type that you are dealing with now..

Former Member
0 Kudos

Hi Sam,

Thank you very much .

INVOIC is the inbound message type that I am dealing with now..

Former Member
0 Kudos

your transaction is posting accounting document and it looks like for the account you use a field-gorup is defined where text field is marked as mandatory.

So you have 2 options here

- either populate the text in your exit (it either can be passed in teh IDOC or you can populate it in your userexit based on your own logic - check with your functional analyst)

- or change field-gorup for your account to make text field non-mandatory -> this obviously requires verification with your accounting folks and your functional analyst.

ferry_lianto
Active Contributor
0 Kudos

Hi Sam,

Message type INVOIC will use FM IDOC_INPUT_INVOIC_MRM to post the data into MIR4 through process code INVL (in the partner profile).

Both user exits ZXM08U25 and ZXM08U26 can be called from the FM.

Hope this will help.

Regards,

Ferry Lianto