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 *****
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'
ELEMENT = 'ITEM_CONSIGNEE'
ELEMENT = 1
WINDOW = 2.
IF SY-SUBRC NE 0.
as VBDPA and VBDKA are structure fields ,,,how do i do check inmy program..
if any one has implemented the same plz guide