cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc Error

former_member650236
Participant
0 Kudos

Hi Experts,

I have an Idoc Zdebmas.It is accepting all the customer names below 30 characters and for one customer who is having 33 characters it is not going to accept and it is coming in next line.

I tested the Mapping and I run in target side it is generating the same as given in source mapping.when it is given in ECC it is correct and when coming to PI it is not accepting the customer name in full and coming in next line.

Any help would be appreciated,

Thanks,

SKvalli

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

could you please precise the direction: ECC -> PI -> Ext ? or Ext -> PI -> ECC ?

because as you probably know, in ECC the customer name and addresses have extensions which are managed in idoc ADRMAS.ADRMAS03 and not in Idoc DEBMAS.DEBMAS06.

for instance, the Customer name (NAME1) in DEBMAS06 has a length of 35, whereas in ADRMAS03 it's 40.

regards.

Mickael

former_member650236
Participant
0 Kudos

Hi Mickael,

My scenario is ECC --> PI -->JDBC .In the ECC System it is accepting the characters in ZDEBMAS IDOC.But where as in the PI as unable to get the result.

Thanks,

SKVallli.

Former Member
0 Kudos

hi SK,

ok, so ECC send 33 charachers in NAME1 of your idoc (you see that in tx WE02). But...

¤ In SXMB_MONI, when you look at the received IDOC XML, does PI receives 33 or 30 characters ?

¤ always in the SXMB_MONI, after the mapping, in the target XML, do you have 33 or 30 characters ?

¤ At to finish, does the cut 33 -> 30 + 3, is it only appears in target database field?

please give an answer for each questions, that we will greatly help us to localize your issue.

regards.

Mickael

former_member650236
Participant
0 Kudos

Hi Mickael,

¤ In SXMB_MONI, when you look at the received IDOC XML, does PI receives 33 or 30 characters ?

--> In PI Im getting only 30 characters.

¤ always in the SXMB_MONI, after the mapping, in the target XML, do you have 33 or 30 characters ?

-->I have 33 characters in mapping Target side.But after generating the customer number in Transaction-xd03 and testing in the PI DEV system by using SXMB_MONI am getting only 30 characters.

¤ At to finish, does the cut 33 -> 30 + 3, is it only appears in target database field?

Yes it apperas in the target side 30+3.

Thanks,

SKValli.

Former Member
0 Kudos

Hi SK,

that's more and more strange... so during a "ECC -> PI" exchange (runtime), we have:

Ecc = 33 -> inbound of PI = 30 (before mapping) (?*) --> outbound of Mapping = 30 -> message for JDBC = 30 + 3

(?*) is that correct ?

1. your idoc type is well DEBMAS06 or DEBMAS05 ?

so normally you use the standard idoc type, with its standard field NAME1, which has a length = 35 char. So ok for your 33.

2. first, check if ECC->PI connexion is unicode:

in ECC, tx WE0 (partner profile), get the idoc port name which is used to send idoc to PI.

in tx WE21, with this port, you have the RFC destination which is used, double-click on it (or use tx SM59) to see the RFC destination. Here, in the RFC destination, check if you have the radio-button "Unicode" (PI is a unicode system).. That's mandatory to have the good radio-button.

2. check your Database vs Data type in PI:

Check the field length in your database, and this one declared in your Data type for this table structure. What's the field type in this Data Type (e.g CHAR, VARCHAR) ? and do you have the same field length? I the feeling you have only a field length = 30.

Regards

Mickael