Application Development 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: 

BDC Issue with CU41

Former Member
0 Kudos

Hi all,

My requirement is to create a profile for the material and then update its characteristics value.

Its a typical upload program.

I am using BDC to create profile via Transaction CU41.

Issue is that, when I do CU41 for the first time at first login, then i get first pop up which ask "SELECT CONFIGURABLE OBJECT".

from which I have select "MATERIAL" as object

Then at second time, if i do CU41 , it doesn't ask me for the pop up to SELECT CONFIGURABLE OBJECT", whereas it directly takes me to the initial screen of " Create Configuration profile for Material".

This can be an major issue at production as the BDC program cannot understand, whether the user has attempted CU41 for first time or second attempt.

Please suggest me any BAPI which does same functionality of CU41 to create profile for material.

Or

Is there any other mechanism by which i can put some condition of first attempt and second attempt for CU41 after first login before executing the BDC ?

Regards,

Amruta

2 REPLIES 2

Former Member
0 Kudos

data: gv_param_cuq like RCUCO-CUQOB.

Before processing BDC.

GET parameter ID 'CUQ'

field gv_param_cuq.

if gv_param_cuq eq space.

message e001(zmsg) with 'Please Select from POP-UP and execute this program again'.

else.

proceed for BDC.

endif.

gv_param_cuq = '001' for material

'002' ...... for remaining fields in pop up screen.

if u want to select material from pop up instead of giving error message you can

SET parameter ID 'CUQ'

field '001'.

and proceed for BDC.

Former Member
0 Kudos

Hi,

set in your user ( transaction SU3 tab parameters) parameter CUQ and parameter value 001.

Use BDC and your problem will be solved.

Regards Vassko!