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

BAPI_CHARACT_CREATE

sunsapblr
Participant
0 Likes
1,068

Hi,

I am using this Bapi for characteristics creation.

but inside this,  there is flag at the beginning of the perform create_characteristic.

  

if not gf_new_processing is initial.

this is always false in my case and i dont know where it is getting populated.

As a result,  structure are not getting populated.

Please help.

Thanks & Regards

Sunil

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
975

Hi Sunil,

The best way to find out is to do a where used list on this BAPI. I have done a where used list and many standard programs are using this BAPI. Maybe you can check these programs and use the BAPI the same way. Hope this helps!

4 REPLIES 4
Read only

Former Member
0 Likes
976

Hi Sunil,

The best way to find out is to do a where used list on this BAPI. I have done a where used list and many standard programs are using this BAPI. Maybe you can check these programs and use the BAPI the same way. Hope this helps!

Read only

Former Member
0 Likes
975

Hello Sunil,

It appears that  gf_new_processing  is always INITIAL.  It is set in the data definition statement.


I think this was the way that SAP is diverting the logic to the CAMA function module.

When you debug, does the execution reach the statement: "CALL FUNCTION 'CAMA_CHARACT_MAINTAIN'"?

Regards,

Kim

Read only

LukaszPegiel
SAP Champion
SAP Champion
0 Likes
975

Try to debug more, although this variable is initial and it will not run the first perform then still there is a lot code after starting in selected area....

Read only

0 Likes
975

Hi All,

Thanks for the help.

I am able to execute this.  The problem was with attribute length.  I had given more than 30 which is not suitable for this.  Also, we should not give same descriptions value for more than one attribute value id.

Thanks & Regards

Sunil