2008 Jul 29 2:19 PM
Hi everyone,
I'm trying to create a LSMW for the upload of customers. The client wants to link 2 contact persons to one vustomer.
The flat file will have two lines with the same data, only the contact person will differ. Do you know how the difference can be made ?
thanks in advance !
2008 Jul 29 2:28 PM
you need to upload first only customer than for each customer:
there is a special transaction for updating the contact person
the Transaction VAP1 (create contact person)
By using this transaction, we can go with normal recording in LSMW it will work fine and update the transaction screen and the table as well.
So its better to use this transaction (VAP1) instead of using the BAPI's which are not updating the screen of the transaction.
2008 Jul 29 2:28 PM
you need to upload first only customer than for each customer:
there is a special transaction for updating the contact person
the Transaction VAP1 (create contact person)
By using this transaction, we can go with normal recording in LSMW it will work fine and update the transaction screen and the table as well.
So its better to use this transaction (VAP1) instead of using the BAPI's which are not updating the screen of the transaction.
2008 Jul 29 2:47 PM
Hi,
if you have only one line you can do the same as mentioned below:
First map the contact name1 to traget source. In 5th step u can map all the comman fields along with the contact person name and from the global variables u can write transfer_record. then again map all the fields along with the secound contact name and again write transfer_record.
So u are trying to pass two customer contact records. It will work try this. Let me know if u have any issues.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |