cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Read only

EDI PO to SO questions - How to remove segment E1EDKA1 LS and how to derive a different qualifier?

papa261190
Explorer
0 Likes
1,527

Hi Gurus,

I am recently working in some EDI integration scenarios to automate the sales order creation and I have two small questions I haven't been able to find an answer:

  1. Outbound IDOC message type that I am sending (and receiving on the receiving side) is ORDERS05. I can see that a segment for partner LS is created although it is not a real partner function in the sales order. Whenver I am getting the inbound IDOC, I am getting error that "Partner type LS is not permitted". Is it possible to remove this segment from my outbound Idoc or is it something we should do on the CPI side? 
  2. A more generic question regarding qualifiers: can anyone explain how the system decides which qualifier to use in a segment? Is that something we can do in configuration or is it only something ABAP can do in the code of the FM?

I am asking specifically because I want segment E1EDP19 to change from qualifier 001 to 002.

papa261190_0-1743494227559.png

 

 

Thanks!!!

Accepted Solutions (1)

Accepted Solutions (1)

Stanislaw_Stefanowski
Active Participant
0 Likes

Hello,

Qualifiers in segment E1EDP19 indicate which material number is being sent:

001 - Material number used by customer

002 - Material number used by vendor

If you enter the vendor's material number in the PO, segment E1EDP19 will also be populated with qualifier 002.

Regarding partner LS in E1EDKA1 - could you please provide more details on IDOCs setup for this scenario? What is the partner type that you use?

Regards

papa261190
Explorer
0 Likes
Thanks for the quick response!
papa261190
Explorer
0 Likes
The problem for the material number is that it is the same number for both customer and vendor, which is the reason why it gets qualifier 001. I understand that if the material numbers were different, in this case by entering the material nunber used by the vendor qualifier 002 would be triggered but I also understand that CMIR should be created for this purpose. In my case, both vendor and customer are using the same material numbers (it's the same company sitting in different SAP instances so it's a kind of "intercompany" PO/SO flow. I guess I will need to go ahead with an enhancement in the FM on the sending system or an IDOC conversion rule on the receiving system.
papa261190
Explorer
0 Likes
As for the partner LS, it is also linked with the same flow. Since we are sending the IDOCs via an external system, we defined message ORDERS for LS partner and assigned the output type that I created specifically for purchase orders to trigger the process ME10 in message control tab.
Stanislaw_Stefanowski
Active Participant
0 Likes
You should be able to use the same material number as vendor material number, it will be them populated in E1EDP19 with qualifier 002. You can also create CMIR with the same material numbers. It is a bit more complicated in terms of data maintenance, but in this case you don't need any enhancements.
Stanislaw_Stefanowski
Active Participant
0 Likes

Regarding E1EDKA1 segment, it is a bit difficult to answer without checking your system settings. If I understand correctly, you have the partner function LS in the PO header?

papa261190
Explorer
0 Likes
Do I need to do something else to link both materials to have the same numbers? I still am not getting qualifier 002 determined but still 001 although the material number is exactly the same in both systems. As for the LS partner type, in the PO I don't have any partner determined at header level nor assigned any partner schema to the order type. It is just getting determined in the IDOC message as a segment as you can see in the screenshot
Stanislaw_Stefanowski
Active Participant
0 Likes
Are you sure you entered supplier material number in the PO in field IDNLF? I am sure it should be then populated in E1EDP19 002.
papa261190
Explorer
0 Likes
Sorry I thought by only entering the material number it should be enough but indeed it needs to be entered in the PO in field IDNLF or in the Info Records. Now I am getting the qualifier correctly determined šŸ™‚

Answers (0)