*Get all the schedule details by doingSELECT * INTO TABLE xvbap FROM vbapWHERE vbeln = '7500000028'AND posnr = '000010'.SELECT * INTO TABLE xvbup FROM vbupWHERE vbeln = '7500000028'AND posnr = '000010'.SELECT * INTO TABLE xvbfa FROM vbfaWHERE vbelv = '7500000028'AND posnv = '000010'AND vbtyp_n = 'J'.SELECT * INTO TABLE da_vbep FROM vbepWHERE vbeln = '7500000028'AND posnr = '000010'.CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'EXPORTINGfbeleg = '7500000028'fposnr = '000010'* FVERRECHNUNG = ' '* FS073_ALT = ' '* IF_NO_SORT = ' 'TABLESfvbfa = xvbfafvbup = xvbupfxvbep = da_vbep* FVBLB =fvbap = xvbapEXCEPTIONSfehler_bei_lesen_fvbup = 1fehler_bei_lesen_fxvbep = 2OTHERS = 3.
Wednesday, April 22, 2009
Check delivery status
To check the delivery status of an order the following code can be used:
Labels:
function modules,
programming,
SD
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment