cancel
Showing results for 
Search instead for 
Did you mean: 

Inbound ORDERS05 with only EAN

Former Member
0 Kudos

Hello,

The sap system receive an idoc with only these information for the item :

- quantity

- EAN

As EAN is a code for unit and material number, I thought that SAP would create an order without any issue.

Actually, when I execute the integration in Batch Input, I can see that it puts the EAN code into material number field, which obviously get an error...

Is there any solution other than find the material number and unit through a user exit ?

Thanks for your help.

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>Actually, when I execute the integration in Batch Input, I can see that it puts the EAN code into material number field,

because obviously you didn't give correct identifier in the IDOC

you need to put - 003 and not any other as 003 is for EAN

in older releases of R/3 it worked only with that with latest you need to use my blog :

/people/michal.krawczyk2/blog/2006/12/22/idoc-ean-mapping-in-edi-orders

but the answer to your question is - YES you can use EAN only

(no user exits)

Regards,

Michal Krawczyk

Former Member
0 Kudos

Oh... I forgot... We have an IDOC Guru here in our XI forum also. Michal is always there to answer any IDOC related question.

Thanks for clarifying that IDOC questions fall under the XI forum Michal.

Edited by: Pooja Pandey on Jan 23, 2009 10:52 AM

Former Member
0 Kudos

Thank you very much for your answer.

I still got a problem since i already put 003, and everything is well customized (I didn't know about OV14 but it was already filled with A00001 for my sales order type).

To be as clear as possible this is what i filled in the idoc item :

E1EDP01-MENGE = 2

E1EDP19-QUALF = '003'

E1EDP19-IDTNR = "EAN"

The program still put the EAN in the material field.

BTW, I work on SAP 4.7

Edited by: Louis-Arnaud Bouquin on Jan 23, 2009 6:41 PM

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>E1EDP01-MENGE = 2

>E1EDP19-QUALF = '003'

>E1EDP19-IDTNR = "EAN"

as far as I remeber with 4.7 you need to do per my blog and it should

work perfectly

but the the code it it fetches OV14 and you will know

anyway this works in standard for sure

Regards,

Michal Krawczyk

Former Member
0 Kudos

Thanks a lot, I must have done something wrong but now it is working.

Too bad that SAP didn't found a better solution because the information of the EAN is already filled in the additional data of the material. So we have to write the information 2 times !

Users are not very happy with that...

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>is already filled in the additional data of the material. So we have to write the information 2 times !

it takes 4 lines of code to do it in a standard user exit

and save the time so I always do it to help users

Regards,

Michal Krawczyk

Former Member
0 Kudos

Yes I guess this is the best solution.

Did you use batch input or function module or direct insert in the tables in the user exit ?

Thanks again for your help.

MichalKrawczyk
Active Contributor
0 Kudos

hi,

user exit

Regards,

Michal Krawczyk

Former Member
0 Kudos

Hi,

My question was, what is the method to copy EAN to VB11 table in the user exit ?

Call transaction of VB11 ?

BAPI ?

Direct-Input ?

Because I don't see how you can do it with 3 lines of code.

Thank you

Former Member
0 Kudos

Hi Louis,

i have exactly the same issue at my customer. did you ever resolve this issue? and how?

thanks,

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Louis,

Please post this question in the ABAP forum. The ABAP expets will be able to help you.

Thanks,

Pooja Pandey

MichalKrawczyk
Active Contributor
0 Kudos

hi Pooja,

if it's IDOC related quesiton there is no better place to ask then on the middleware forum (so XI forum)

Regards,

Michal Krawczyk