on 07-07-2011 11:48 AM
Hi,
I try to add new partners in delivery document when I execute the transaction vl06. For this, I use the user exit MV50AFZ1 where I implement the code that add new registers in table XVBPA. This solution doesn't work because it doesn't add new partners in delivery document.
...
CLEAR XVBPA.
XVBPA-MANDT = '010'.
XVBPA-VBELN = LIKP-VBELN.
XVBPA-POSNR = '000000'.
XVBPA-PARVW = 'ZC'.
XVBPA-PERNR = '00000045'.
XVBPA-ADRNR = '0000000000'.
XVBPA-LAND1 = 'ES'.
XVBPA-ADRDA = 'D'.
APPEND XVBPA.
CLEAR XVBPA.
XVBPA-MANDT = '010'.
XVBPA-VBELN = LIKP-VBELN.
XVBPA-POSNR = '000000'.
XVBPA-PARVW = 'SP'.
XVBPA-LIFNR = '0000000491'.
XVBPA-ADRNR = '0000083037'.
XVBPA-LAND1 = 'ES'.
XVBPA-ADRDA = 'D'.
APPEND XVBPA.
...
Please, anybody knows others solutions.
Thanks for your help.
Xevi G.
check this EXIT_SAPLV09A_004
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Update XVBPA-UPDKZ = 'I' to insert new record. 'D' for Delete and 'U' for update
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
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.