cancel
Showing results for 
Search instead for 
Did you mean: 

help required to understand the idoc inbound orders creating a sales order

Former Member
0 Kudos

hi,

I am basically a PI resource, trying to understand more of the ECC side of things .. i hope the below question makes sense.

I have an inbound PO Idoc created and the Idoc goes to status 53 . The order document is created successfully. However, when i go to that particular Sales order in va02, the material it shows is different from what i have sent in E1EDP19 -003 - EAN code of material. Basically it is a dummy material getting populated.

So in order to understand the process more, i tried to access one of the materials using mm03 filtering with the sales org and division number. I got one such material and ean number. I used it in my input and the idoc when reached ECC went to status 51. The error says V1 155 - "

Credit check: maximum document value exceed"

I tried to understand what that is about, going to fd32 and several other blogs/posts. But i am completely confused on what is happening. First, why is it that a dummy gets created. I can assume that it is because that particular EAN code is not maintained in the ECC system. But then when i update just the material number of the message, how does this new credit check issue come into picture. I tried to go through the ABAP process code happening with the orders, but it just puts me into more confusion.

Please let me know if this is a trivial issue on the ECC side or what tcodes/processes can i check to know more

Regards,

Ninu

Accepted Solutions (0)

Answers (4)

Answers (4)

paul_quinn
Participant
0 Kudos

hi Ninu,

even though the idoc is in status 53, you can still simulate the va01 process by clearing the idoc

number in program SDJEDI , see note 380603

(clearing the idoc number is not necessary if status is 51)

This is a simulation only program so you can even use this on idocs in production.

If you need to work out why your credit check failed (or what your credit check is doing), please see program CHECK_CM

kind regards

Paul

neeraj_lal
Contributor
0 Kudos

Ninu Sankar,

I understood your issue. I will suggest you to execute this Idoc in Tcode WE19.

If you are using standard message type, then execute your IDOC in WE19 in Foreground mode. You will be able to see how Idoc is filling sales order data to create sales order.

It is very useful transaction especially when you are mapping new Idoc.

In your case looks like your Idoc is carrying EAN# and material # both in Item segment. You can verify this in WE19, forground mode and take necessary action to correct it.

Check and let me know if you have still any issue here.

Regards

Jelena
Active Contributor
0 Kudos

Check if the inbound IDoc has the segment E1EDP19 with a different qualifier. If there is a segment that provides SAP material ID (MATNR) then it will override EAN or any other IDs, I believe. Also there could be a user exit, say, with a condition 'if there is no such EAN, use a dummy material #'.

Credit check has nothing to do with material, it's based on the amount of credit limit, outstanding orders, etc. Completely different area.

former_member186385
Active Contributor
0 Kudos

Hi,

i can suggest you to first try to create the sales order with the Material for which EAN number is active and check if the material is swapped as well

If it swaps, then it could be material determination configuration, if not then some code you have to look into

And the Credit check error is because of the Credit limit set for the customer has exceeded and it is throwing the error

you can ask your SD guys to remove the credit check, it is not a ABAP issue, it is functionality in SD which has to be done by SD, they can remove the block using VKM3

hope it is clear

regards,

santosh

Former Member
0 Kudos

hi santhosh,

as you suggested, I have actually updated a proper EAN but even now the item shown in the sales order is the dummy one.

REgards,

Ninu