on 12-06-2007 5:33 AM
Hi experts,
sd_partner_update what actually this function module does?
ws_parnter_update what it does?
if any one knows about those functionality can you please help me out.
for those functionality i didnt find the documentation also.
thanks in advance,
Try to use the fm 'SD_PARTNER_UPDATE', to update the partner details in sales order.
Check the below code....
CALL FUNCTION 'SD_PARTNER_READ'
EXPORTING
f_vbeln = vbeln
object = 'VBPA'
TABLES
i_xvbadr = i_xvbadr
i_xvbpa = i_xvbpa
i_yvbadr = i_yvbadr
i_yvbpa = i_yvbpa
i_xvbpa2 = i_xvbpa2
i_yvbpa2 = i_yvbpa2.
READ TABLE i_xvbpa WITH KEY parvw = 'SP '.
IF sy-subrc NE 0. "Delivery does not have any Forwarding Agent
CLEAR i_xvbpa.
i_xvbpa-vbeln = vbeln.
i_xvbpa-parvw = 'SP '.
i_xvbpa-lifnr = lv_lifnr.
i_xvbpa-updkz = 'I'. "For Insert new row
APPEND i_xvbpa.
CALL FUNCTION 'SD_PARTNER_UPDATE'
EXPORTING
f_vbeln = i_vbkok-vbeln_vl
object = 'VBPA'
TABLES
i_xvbadr = i_xvbadr
i_xvbpa = i_xvbpa
i_yvbadr = i_yvbadr
i_yvbpa = i_yvbpa
i_xvbpa2 = i_xvbpa2
i_yvbpa2 = i_yvbpa2.
IF sy-subrc = 0.
COMMIT WORK.
ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have an eye on the date when the discussion was posted: Dec 6, 2007 6:33 AM
and if this is such an old post then check the user to see when he was last online:
Last Logged In: | Aug 11, 2008 10:58 AM |
No problem if you update an open question with a definitive answer, but asking a user to check and try 7 years after is probably too late
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
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.