2007 Feb 06 7:02 PM
Hi
I need to modify one segment from the first idoc wp_plu02 created by tcode WPMI, but but im not able to find an exit where can distinguish if the current idoc is the first.
Report from wpmi
Locnr 1011
Idoc 1 wp_plu02 (I need to modify segment, from first idoc)
Idoc 2 wp_plu02
Idoc 2 wp_plu03
Locnr 1012
Idoc 1 wp_plu02 (modify segment)
Idoc 2 wp_plu02
Im using EXIT_SAPLWPDA_002 / ZXWPDU02 with this code, but this way all segments are modified from all idocs .
**Begin modif
IF sy-tcode = 'WPMI' .
CLEAR w_e1wxx01.
MOVE 'INI' TO w_e1wxx01-fldgrp.
MOVE 'FLAG' TO w_e1wxx01-fldname.
MOVE 'X' TO w_e1wxx01-fldval.
MOVE w_e1wxx01 TO t_idoc-sdata.
APPEND t_idoc.
ENDIF.
Suggestions?
regards.
Luis
2007 Feb 06 7:13 PM
Hi Luis,
Following user exits are available for WPMI (Check out which one suits your requirement):
WPAV0001 POS upload role resolution
WPDA0001 Function exits for POS interface (POS download)
WPSA0001 Retail enhancements POS interface sales audit
WPUE0001 GR Check (Correct Quantities)
WPUE0002 POS inbound processing
Ashvender
Hi
I need to modify one segment from the first idoc wp_plu02 created by tcode WPMI, but but im not able to find an exit where can distinguish if the current idoc is the first.
Report from wpmi
Locnr 1011
Idoc 1 wp_plu02 (I need to modify segment, from first idoc)
Idoc 2 wp_plu02
Idoc 2 wp_plu03
Locnr 1012
Idoc 1 wp_plu02 (modify segment)
Idoc 2 wp_plu02
Im using EXIT_SAPLWPDA_002 / ZXWPDU02 with this code, but this way all segments are modified from all idocs .
**Begin modif
IF sy-tcode = 'WPMI' .
CLEAR w_e1wxx01.
MOVE 'INI' TO w_e1wxx01-fldgrp.
MOVE 'FLAG' TO w_e1wxx01-fldname.
MOVE 'X' TO w_e1wxx01-fldval.
MOVE w_e1wxx01 TO t_idoc-sdata.
APPEND t_idoc.
ENDIF.
Suggestions?
regards.
Luis
2007 Feb 06 7:13 PM
Hi Luis,
Following user exits are available for WPMI (Check out which one suits your requirement):
WPAV0001 POS upload role resolution
WPDA0001 Function exits for POS interface (POS download)
WPSA0001 Retail enhancements POS interface sales audit
WPUE0001 GR Check (Correct Quantities)
WPUE0002 POS inbound processing
Ashvender
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |