cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in CU01 BDC

0 Kudos

I have created BDC for CU01, but while recording I have entered a code in Dependency Editor which is not captured in it. Please help me out in capturing the Dependency editor screen. Or how to take the value for dependency editor to upload into SAP. I tried using FM SAVE_TEXT but I am not able to find the Text ID and Text object so that I can use it in FM.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Please use BAPI CAMA_DEPENDENCY_MAINTAIN.

Using this BAPI you can capture code from dependency editor.

Thank you

Answers (2)

Answers (2)

0 Kudos

Hello Nikhil,

Have you figured this out? I now have the same issue in my bdc program for CU01 that I wrote in 2003. We just upgraded to EHP8 and it is no longer working because the editor in that transaction has changed. @li.tao reported a solution in an archived thread but I do not see a solution in note 1339049.

li.taorepliedJuly 27, 2016 at 11:29 AM

finally ,I found a note (1339049) which can solve this problem.

Regards,

Pete

0 Kudos

No! I still haven't got any right solution as yet.

former_member235395
Contributor
0 Kudos

Hi Nikhil,

CU01 tcode not use STXH Function Group. This tcode use CUKD Function Group.

Check any Dependency on CU02 --> You will can find text on Dependency Editor in CUKB-KNNAM = Dependency(get KNNUM field) and then in CUKN-KNNUM = CUKB-KNNUM and get CUKN-KNBLK, in this field you will find text that appear on Dependency Editor.

Similar to READ_TEXT on CUKD use CUKD_GET_KNOWLEDGE.

Regards.

0 Kudos

Hi David,

I didn't get you. What exactly are you trying to say?

Sandra_Rossi
Active Contributor
0 Kudos

He says: don't use SAVE_TEXT, use function module CUKD_GET_KNOWLEDGE. You'll have to use tables CUKB and CUKN (he gives the join condition).

My advice : use the SQL trace (transaction code ST05) to trace the MODIFY, INSERT, UPDATE while you save a changed code in the Dependency Editor in transaction code CU01, select the corresponding trace line(s) and click the ABAP button to see which function modules are used, and try to mimic this standard code.