Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Changes to Standard Program help plz

Former Member
0 Likes
346

In the Function Module IDOC_INBOUND_FROM_FILE, PerFORM one_idoc_read leads to the program LEDINF01 and Line 340 is DESCRIBE TABLE g_t_data_records LINES l_no_of_data_records.

If I have developer access to the above program LEDINF01, I will write a read statement for table g_t_data_records. Depending on the results of this read statement I need to send an email to user regarding the current IDOC being processed and I have to end the process without creating a new IDOC or posting the Sales Order.

How can I exit out directly from the FORM one_idoc_read , without executing any of the statements after that Form.

Please suggest

1 REPLY 1
Read only

Former Member
0 Likes
301

Use Leave Program after sending mail