Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Tcode WPMI USER-EXIT

Former Member
0 Likes
628

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
444

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

1 REPLY 1
Read only

Former Member
0 Likes
445

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