on 11-03-2008 5:02 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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 .
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
User | Count |
---|---|
97 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.