‎2009 Jan 19 2:41 PM
Hi,
While trying to create the sales order using BAPI BAPI_SALESORDER_CREATEFROMDAT1, there is a call to the FM SD_SALES_HEADER_MAINTAIN in the ENHANCEMENT-SECTION KOPF_ANLEGEN_01 SPOTS ES_SAPLV45J.
I want to comment this call. In TCode SPAU_ENH, after selecting the above enhancement section and clicking on the change mode, the code is still displayed in display mode.
How do I comment the call to the FM in the Enhancement Section.
Thanks,
Mick
‎2009 Jan 20 12:12 AM
I have experience with enhancements but not with SPAU_ENH, so I hope it's the same. I guess you know what you are doing, and you want to comment out the STANDARD CODE (even if what Raj is true, i.e. the enhancement-section is deactivated by an active implementation).
- click the kind of whirl button to get into enhancement mode
- Position your cursor on the enhancement-section line, right click, choose "change"
‎2009 Jan 19 3:02 PM
Hi,
Only one Active Implementation is possible at runtime for Enhancement Sections. So though the code is visible in normal mode , if you check in Debugg mode the latest Implementation is visible. So if you wish not to call this FM, then Implement the Enh Section and comment the Function Call in the implemented Section.
Hope this helps you.
Raj
‎2009 Jan 20 12:12 AM
I have experience with enhancements but not with SPAU_ENH, so I hope it's the same. I guess you know what you are doing, and you want to comment out the STANDARD CODE (even if what Raj is true, i.e. the enhancement-section is deactivated by an active implementation).
- click the kind of whirl button to get into enhancement mode
- Position your cursor on the enhancement-section line, right click, choose "change"