SE37 – Function Module builder
FM usually starts with IDOC_INPUT_XXXXXX
XXXXXX usually is the message type, eg DESADV for delivery, ORDERS for order, etc
The FILL_DATA_XXXXXX is where you do data validation and build internal tables and variables needed for subsequent process
The MAINTAIN_DATA_XXXXXX is usually where you see the main logic of the program, eg: to update orders, delivery, purchase order, etc
FILL_DATA_XXXXXX
This section contains editing logic and data validation
IDOC_STATUS_FILL
This is where you fill up the error messages you want display in the IDOC. You will need the status, document number, message ID, message number, and detail messages (msgv1-4).
Status value:
50 - erster_statuswert_eingang
51 - fehler_bei_uebergabe
52 - beleg_unvollstaendig
53 - alles_ok
54 - fehler_in_der_bearbeitung
WE19 – IDOC test tool
Find an IDOC to be copied and change the data
Use the Inbound function module to test the IDOC
No comments:
Post a Comment