Skip to Content
0

Problem in CU01 BDC

Mar 13, 2017 at 01:57 PM

165

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

David Antonio Arroyo León Mar 14, 2017 at 07:42 PM
0

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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi David,

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

0

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.

0
avatar image
Former Member May 19, 2017 at 01:43 PM
0

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.

Former MemberrepliedJuly 27, 2016 at 11:29 AM

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

Regards,

Pete

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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

0