cancel
Showing results for 
Search instead for 
Did you mean: 

E1EDP01-ACTION is not working for message type ORDRSP

Former Member
0 Kudos

Hello Friends,

I am working on providing functional spec for Sale Order changes Acknowledgement for EDI IDOC.

The business scenarios is, whenever customer request for changes in the existing PO (Which is a Sale Order in our system), we will do the changes in sale order and confirm back to customer with EDI IDOC. The changes could be 'Add Item' 'Change Item' 'Delete Item'. For this I have used Message type 'ORDRSP', Basic Type 'ORDERS05' and process code 'SD10'.

We want to capture all the actions like Add item, Change item and Delete item in E1EDP01-ACTION with field value '001' '002' and '003'. But we found that E1EDP01-ACTION is always showing value '001' though sale order line item quantity is changed. I am unable to find a solution for this.

Let mek now if this can be achieved with the existing set-up or any user exit is required for this?

Thanks in Advance

Srikanth

Accepted Solutions (0)

Answers (2)

Answers (2)

peter_wallner2
Active Contributor
0 Kudos

This message was moderated.

paul_quinn
Participant
0 Kudos

hi,

yes this is what the coding does in IDOC_OUTPUT_ORDRSP

see include LVEDCF0F

FORM FILL_E1EDP01

..

-ACTION-Feld setzen --------------------------------------------------*


*-set field ACTION ----------------------------------------------------*


  IF delivery_change = 'X'.


    e1edp01-action = '001'.            "Änderung


  ELSE.


    e1edp01-action = '000'.            "keine Änderung


  ENDIF.

-------------

You have the possibility to change E1EDP01 at the end of the FORM

..

  MOVE e1edp01 TO int_edidd-sdata.


  APPEND int_edidd.


  PERFORM customer_function.



ENDFORM.                               " FILL_E1EDP01