cancel
Showing results for 
Search instead for 
Did you mean: 

ADRMAS idoc problem

sreenivasa_reddy
Participant
0 Kudos

We are uploading the data using LSMW

Step1: Customer General Data + Company code data

Step2: Customer Address Updation using ADRMAS idoc method in LSMW

But When I am doing it Its replacing the other fileds in the

Customer address which are not supplied in ADRMAS idocs

Can anybody know how to tackle this problem ?

Useful answer will be rewarded.

Thanks & Regards'

Sreenivasa Reddy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sreenivasa Reddy,

you have started to implement a nice process.

But I would recommend that first you process ADRMAS and then DEBMAS.

In the other way, you will face troubles.

To come back to your main question.

ADRMAS is processing ALL address data. It is a replication of data. Therefore the '/' is not working for this idoc.

This is also why DEBMAS should be processed after.

BR

Alain

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

try to set an "/" value at each field which should not be updated !

/ = do not update

Test it with one single field !

Edited by: Gordon Breuer on Nov 3, 2008 6:21 PM

sreenivasa_reddy
Participant
0 Kudos

Thanks a lot for quick reply '/' will work for other programes except Idoc method.

If you pass '/' in address data ,, field is updated with '/'.

Former Member
0 Kudos

give me an example, please.

which field is updated ?

sreenivasa_reddy
Participant
0 Kudos

Suppose while creating the customer master I will give mandatory fields like

1)Country ,Name1,Langauage....etc

And while updating the customer address I will pass the fields

like EMail id....

So when I process ADRMAS idoc it will update EMail id and also it will clear the country , Name1,Language.

Please let me know

Former Member
0 Kudos

Hi Srinivasa,

Could you please let me know how did you over come this issue.

Former Member
0 Kudos

hi,

Email id data stored in Adr6 table.

for genral data updating u can use BAPI .

~linganna

Former Member
0 Kudos

Hi I am trying to do a similar process by first trying to create a vendor using the FM idoc_input creditor(FM used in CREMAS)but there is no place to put the email address in the structure of CREMAS .

I am trying to use the ADRSMAS(Structure) but when i try to test it it gives an error saying that

Output length of field E_MAIL in table E1BPADSMTP is greater than 132.

Is there a Bapi i can call to update the email field .

Thanks .

Former Member
0 Kudos

Hi,

well there quite a lot of function to maintain address data.

For BAPI, I don't know.

The best is always to first read an address in order to get accurate data and structures and then maintain them.

To come back to your ADRMAS troubles.

The email segment (E1BPADSMTP) is not very easy to maintain.

e_mail field must be populated as well as EMAIL_SRCH (uppercase), CONSNUMBER, ...

From the idoc perpective, quite a lot of other fields are necessary

  • Segment E1ADRMAS: OBJ_TYPE=LFA1, OBJ_ID=yourvendor, CONTECXT=0001

  • Segment E1BPAD1VL: FROM_DATE, TO_DATE, probably COUNTRY, COUNTRY_ISO, LANGU_ISO, LANGU too.

  • Segment E1BPAD1VL1: ADDR_GROUP = BP

Maybe for your error, you tried to have E1ADRMAS-CHECK='X'

Hope this help

BR

Alain