2007 Jun 20 6:56 AM
Hi,
I am sending a PO through EDI.
I am working in an enhancement wherein when the PO is sent,then the outbound Idoc ORDERS05 will have some more details other than what it already has.
I have written the code to populate the fields of most of the segment,but there is one segment where I am facing problem.
The requirement is such that in segment E1EDKA1,when the PARVW field is WE,I need to modify the segment and add some more data to its fields(telf1,bname,etc.).The problem is I am unable to modify the segment but when I tried to append the segment with the new values,it is working fine.
I can't understand why modify is not working but append is working.
Please help.
Thanks,
Sandeep.
Hi,
I am sending a PO through EDI.
I am working in an enhancement wherein when the PO is sent,then the outbound Idoc ORDERS05 will have some more details other than what it already has.
I have written the code to populate the fields of most of the segment,but there is one segment where I am facing problem.
The requirement is such that in segment E1EDKA1,when the PARVW field is WE,I need to modify the segment and add some more data to its fields(telf1,bname,etc.).The problem is I am unable to modify the segment but when I tried to append the segment with the new values,it is working fine.
I can't understand why modify is not working but append is working.
Please help.
Thanks,
Sandeep.
2007 Jun 20 7:02 AM
Hi,
Something like this.
DATA: s_e1axxxx LIKE e1xxxx1.
LOOP AT int_edidd.
CASE int_edidd-segnam.
WHEN '...'.
WHEN 'E1xxx'.
MOVE int_edidd-sdata TO s_e1adrm1.
make changes to S_E1xxxx-PARTNER_ID.
MODIFY int_edidd.
ENDCASE.
ENDLOOP.
<b>Reward points</b>
Regards
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |