I am creating a sales order from an Inbound IDOC. I am using standard Function Module IDOC_INPUT_ORDERS. I am populating sales order item text in E1EDPT1 and E1EDPT2. However the Item text is not getting saved where as the header text is getting saved in order.
E1EDPT1-TDID = 'Z001'.
E1EDPT1-TSSPRAS = 'E'.
E1EDPT1-TSSPRAS_ISO = 'EN'.
E1EDPT2-TDLINE = 'Some Value'.
E1EDPt2-TDFORMAT = '*'.
I tried debugging and found that Header and Item texts are exported in to some memory ID and from where they might get imported and texts are created.
I couldn't quite figure out where am I doing wrong. Any ideas pls?