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

Using BAPI_OBJCL_GETDETAIL in CACL_VALUE_CHANGE causes dump.

Former Member
0 Likes
931

From the MODIFY_INPUT method of BADI CACL_VALUE_CHANGE,  I am trying to use BAPI 'BAPI_OBJCL_GETDETAIL' to get the current values of the characteristics as part of an enhancment to CG02. 

The BAPI executes successfully and returns the proper values, but when I continue processing through CG02, a run time error occurs "Field symbol has not yet been assigned."     If I don't call 'BAPI_OBJCL_GETDETAIL', CG02 runs normally. 

Trigger Location of Runtime Error

    Program                                 SAPLCTMS

    Include                                   LCTMSU26

    Row                                       172

    Module type                            (FUNCTION)

    Module Name                          CTMS_DDB_SET_VALUE

I'm doing nothing in the enhancement method other than calling the BAPI.  Calling  a standard BAPI from a standard enhancement point is causing a run-time error in standard code.  Has anyone seen this before or have any ideas? 

Thank you!

Geoff



From the MODIFY_INPUT method of BADI CACL_VALUE_CHANGE,  I am trying to use BAPI 'BAPI_OBJCL_GETDETAIL' to get the current values of the characteristics as part of an enhancment to CG02. 

The BAPI executes successfully and returns the proper values, but when I continue processing through CG02, a run time error occurs "Field symbol has not yet been assigned."     If I don't call 'BAPI_OBJCL_GETDETAIL', CG02 runs normally. 

Trigger Location of Runtime Error

    Program                                 SAPLCTMS

    Include                                   LCTMSU26

    Row                                       172

    Module type                            (FUNCTION)

    Module Name                          CTMS_DDB_SET_VALUE

I'm doing nothing in the enhancement method other than calling the BAPI.  Calling  a standard BAPI from a standard enhancement point is causing a run-time error in standard code.  Has anyone seen this before or have any ideas? 

Thank you!

Geoff



2 REPLIES 2
Read only

madhu_vadlamani
Active Contributor
0 Likes
709

Hi Martini,

Can you explain in detail.In which place you placed that bapi. Did you debug that transaction at which line you are getting the error.

Regards,

Madhu.

Read only

Former Member
0 Likes
709

Hi Geoff,

Pls check Note 814023. It may helpful to you.

Shravan