Application Development 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: 

Item Details : Configuration

former_member188001
Active Participant
0 Kudos

All,

I went through the forum and found couple of posts explaining how to populate BAPI :BAPI_CONTRACT_CREATEFROMDATA structures to create characteristics. I tried all the options and still when I am creating Contract, the characteristics are not getting populated. Any help would be highly appreciated.

I am populating the following 3 structures.

  • CONTRACT_CFGS_REF
    • POSEX                          000010

    • CONFIG_ID                    000001

    • ROOT_ID                       00000001

  • CONTRACT_CFGS_INST
    • CONFIG_ID                      000001
    • INST_ID                        00000001
    • OBJ_TYPE                       MARA
    • CLASS_TYPE                     300
    • OBJ_KEY                        30064

  • CONTRACT_CFGS_VALUE
    • CONFIG_ID                      000001
    • INST_ID                        00000001
    • CHARC                          AUTORENEW
    • VALUE                          Y

Any idea, what is being missed?

Regards

Salil

1 ACCEPTED SOLUTION

former_member188001
Active Participant
0 Kudos

I found the answer to this. You have to populate  CONTRACT_ITEMS_IN-PO_ITM_NO in order to trigger characteristics.

4 REPLIES 4

Former Member
0 Kudos


Hi Salil,

Are you using Commit BAPI after the above call.

BAPI_TRANSACTION_COMMIT

Kindly use the same and let me know of that works out.

Regards,

Abhi

0 Kudos

Yes, using it...still doesnt work.

former_member188001
Active Participant
0 Kudos

Any one has idea on this issue?

former_member188001
Active Participant
0 Kudos

I found the answer to this. You have to populate  CONTRACT_ITEMS_IN-PO_ITM_NO in order to trigger characteristics.