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

create characteristic

Former Member
0 Likes
823

hi experts,

Iam trying to make a bdc for transaction CT04 which uploads values from file.

I was trying to do recording for transaction ct04 but on the very first screen the fields gets greyed unlike when i run the transaction manually.

Is there any alternative which you can suggest that might work.

thanks,

sabs

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
744

Hi,

Use this BAPI_CHARACT_CREATE for creating characteristics. It covers all the fields required for creating characteristics.

Use explicit bapi_commit_work after using this bapi. For more info refer BAPI documentation.

Hope this will solve your problem.

Regards,

Brajvir

5 REPLIES 5
Read only

Former Member
0 Likes
744

hi,

check this program

hope it help u .

RCCTBI01

~linganna

Read only

Former Member
0 Likes
745

Hi,

Use this BAPI_CHARACT_CREATE for creating characteristics. It covers all the fields required for creating characteristics.

Use explicit bapi_commit_work after using this bapi. For more info refer BAPI documentation.

Hope this will solve your problem.

Regards,

Brajvir

Read only

0 Likes
744

HI ,

thanks for the bapi ...

iam using this bapi and its able to create the charcterstic but iam not able to save values through this BAPI

ie. in the value tab the values along with description are not saved

the parameters iam giving in the bapi are:

BAPI_CHARACT_CREATE

CHARCTERSTIC : NAME 1 |

LENGTH : 15 | CHARACTDETAIL

STATUS: 1 |

LA: EN ,

LA: EN

DESCRIPTION : ANY | CHARCATDESCR

LA:E

LA:EN

VALUE_CHAR: 136 |

DESCRIPTION: 136 | CHARACTVALUEDESCR

thanks...

Read only

0 Likes
744

Hi,

To populate value tab,

The values must be entered in the following values tables, according to data type: numeric, time, and date values in CharactValuesNum, character and boolean values in CharactValuesChar, and currency values in CharactValuesCurr. The value descriptions are in table CharactValuesDescr, regardless of data type.

Hope this help in entering data in value tab.

Regards,

Brajvir

Read only

Former Member
0 Likes
744

Hi,

just read the documentation for the BAPI provided,

just after using the bapi u have to use another bapi for saving the changes into the database.

i.e.

BAPI_TRANSACTION_COMMIT

this shall save the entries.

thanks

ravi