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

Create Device info using FM ISU_S_SMALL_DEVICE_CREATE

Former Member
0 Likes
1,171

    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.

5 REPLIES 5
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,052

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.

Read only

former_member222709
Contributor
0 Likes
1,052

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.

Read only

Former Member
0 Likes
1,052

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.

 

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,052

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.

Read only

0 Likes
1,052

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