2008 Jun 09 7:58 AM
Hi all,
We have a requirement to copy the incoterms from sales order during PO creation. I am using enhancement MM06E005. I am looking at exits EXIT_SAPMM06E_008 and EXIT_SAPMM06E_012. In debugging mode, when i change ekko manually, the screen is displaying the value i passed but from the exit itself there is no parameter to pass/change this value (EKKO-INCO2). Upon saving EXIT_SAPMM06E_012 gets triggered. Just the same don't know which parameter to pass to change this field.
Any idea how to get this requirement done?
Thanks.
Regards,
nEnE
2008 Jun 09 1:24 PM
use fields symbols
this following code should be inside your exit.
field-symbols <fs>.
assign ( ' (SAPMM06E)EKKO-INCO2' ) to <fs>.
<fs> = 'Your Inco term'.
2008 Jun 10 2:59 AM
Thanks but there's no available parameter to pass/change EKKO. I used ME_PROCESS_PO_CUST-PROCESS_HEADER to set the incoterms. I have 2 more fields to set, but it is in the header text. Is there any available method we can use for this?
2008 Jun 10 8:06 AM
Resolved using
CALL METHOD im_header->if_longtexts_mm~set_text
EXPORTING
im_tdid = tdid
im_textlines = lt_im_textlines.
Closing this thread.