2012 May 29 2:43 PM
Hi Experts,
I want to create billing related new device like in t-code EG44.
I have found a standard FM "ISU_S_SMALL_DEVICE_CREATE" for doing this but this is showing
a screen which we need to save to complete the FM and create the device.
When i am setting the no_dialog parameter of the FM EQ 'X' , screen is not coming but its not creating the device.
Please suggest how to overcome this problem. Suggest if any alternative.
Thanks in Advance.
Hariom.
Hi Experts,
I want to create billing related new device like in t-code EG44.
I have found a standard FM "ISU_S_SMALL_DEVICE_CREATE" for doing this but this is showing
a screen which we need to save to complete the FM and create the device.
When i am setting the no_dialog parameter of the FM EQ 'X' , screen is not coming but its not creating the device.
Please suggest how to overcome this problem. Suggest if any alternative.
Thanks in Advance.
Hariom.
2012 May 30 7:39 AM
I checked the where used list iof the fm, you have to pass the parameters like below:
x_obj-auto-contr-okcode = co_save.
x_obj-contr-general-no_dialog = co_true
or
Provide a commit work after vyou call the fm like
if exit_type = co_save.
if db_update = co_flag_marked.
commit work.
endif.
endif.
2012 May 30 7:40 AM
Hi Hariom,
The most common error for an FM not working is "COMMIT WORK". Check if you've called FM 'BAPI_TRANSACTION_COMMIT' after your FM.
Also, is there any exception raised by the FM or return error?
Regards, Pranav.
2012 May 30 9:46 AM
Thanks All for your prompt response.
Even if i have done commit work after the fm its not working. Please suggest.
thanks in advance
Hariom.
2012 May 30 9:52 AM
In transaction EG44 place a debug point in the include LEG42F01 where the function gets called and check the mapping of parameters. You can also see a commit work called after the function call.
2012 May 30 10:14 AM
Hi Kesavadas,
I have checked that but it is in dialog mode and i dont want the screen popup.
I want to save it without the screen(dialog).
Regards,
Hariom