on 2023 Oct 13 7:00 PM
Como configurar todos lo almacenes EWM para que cualquier tipo o clase
de movimiento al escribir los textos de cabecera y de posición queden grabados y aparezcan en el reporte
de movimientos MB51 para su trazabilidad.
Request clarification before answering.
Hola que tal, para que salgan los textos de cabecera y posición en EWM ya sea al crear una entrega entrante, debes implementar la badi ENH_SHP_GOODSMOVEMENT.
IF if_fcode EQ 'ENT2_T' AND if_tcode EQ 'VL02N'.
tdname = is_likp-vbeln.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'WEWA'
language = sy-langu
name = tdname
object = 'VBBK'
TABLES
lines = lt_line
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc <> 0.
* Implement suitable error handling here
ELSE.
LOOP AT lt_line INTO DATA(s_lines).
CONCATENATE cs_imkpf-bktxt s_lines-tdline INTO cs_imkpf-bktxt.
ENDLOOP.
ENDIF.
Lo mismo debes hacer para las posiciones.
Espero haberte ayudado.
Saludos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.