on 11-24-2007 9:27 AM
for order confirmation....
in va03 transaction when for header level ship to party is diff to line item level ship to party we mention item consignee i.e is we mention ship to party details
for that particular line item in smart form(main window) ,we also display header
level ship to party in smart form but in case when for particular line item
ship to party is different from header level ship to party(special case) we mention
ship to part details for that line item explictly in main window.
posnr matnr description quantity unit price amount
10 ch-1000 sap 10.0 25 250
20 ch-100 sap 1 30 30
like for line item 20 ship to party details are diff than header than with 20 item no we also write its ship to part details.
there is standard form RVADOR01.
in this form we have place where ship to party is checked *****
FORM DIFFERENT_CONSIGNEE.
CHECK VBDKA-NAME1_WE NE VBDPA-NAME1_WE
OR VBDKA-NAME2_WE NE VBDPA-NAME2_WE
OR VBDKA-NAME3_WE NE VBDPA-NAME3_WE
OR VBDKA-NAME4_WE NE VBDPA-NAME4_WE
OR VBDKA-STRAS_WE NE VBDPA-STRAS_WE
OR VBDKA-PFACH_WE NE VBDPA-PFACH_WE
OR VBDKA-PSTLZ_WE NE VBDPA-PSTLZ_WE
OR VBDKA-PSTL2_WE NE VBDPA-PSTL2_WE
OR VBDKA-ORT01_WE NE VBDPA-ORT01_WE
OR VBDKA-PFORT_WE NE VBDPA-PFORT_WE
OR VBDKA-LAND1_WE NE VBDPA-LAND1_WE.
CHECK VBDPA-NAME1_WE NE SPACE
OR VBDPA-NAME2_WE NE SPACE
OR VBDPA-NAME3_WE NE SPACE
OR VBDPA-NAME4_WE NE SPACE
OR VBDPA-STRAS_WE NE SPACE
OR VBDPA-PFACH_WE NE SPACE
OR VBDPA-PSTLZ_WE NE SPACE
OR VBDPA-PSTL2_WE NE SPACE
OR VBDPA-ORT01_WE NE SPACE
OR VBDPA-PFORT_WE NE SPACE
OR VBDPA-LAND1_WE NE SPACE.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_CONSIGNEE'
EXCEPTIONS
ELEMENT = 1
WINDOW = 2.
IF SY-SUBRC NE 0.
PERFORM PROTOCOL_UPDATE.
ENDIF.
ENDFORM.
as VBDPA and VBDKA are structure fields ,,,how do i do check inmy program..
if any one has implemented the same plz guide
OPEN TABLE VBDKA AND GIVE DOCUMENT AND FINE NO SOLD TO PARTY (FIELD NAME KUNNR ) THEN GO KNA1 TABLE(General Data in Customer Master) AND GIVE SOLD TO PARTY NO AND CHECK NAME1 FIELD THIS FIELS IS SHIP TO PARTY SO YOU HAVE TO DISPLAY THIS FIELD .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ALSO CHECK KNA1 TABLE AND FIRST CHECK THE ORDER NO AND DESCIPTION THEN U CHECK TABLE KNA1 BECAUSE SHIP-TO PARTY NAME COME FROM KAN1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
THROUGH VA02 AND GIVE ORDER NO SO U CAN SEE SHIP TO PARTY NAME AND IN BELOW U SEE ALL DETAILS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
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.