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 BAPI_CONTRACT_CREATEFROMDATA Question

Former Member
0 Likes
1,201

Hi,

Is there a way to add field VBKD-TRATY in the BAPI? I'm using BAPI_CONTRACT_CREATEFROMDATA to copy sales contract into a new one but since that field is not available in BAPISDHD1 header structure, it is not being copied.

What would be the best way to do this? Points will be rewarded.

Thanks,

Gene

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
870

Hi,

Please check for customer extension given.

You can extend VBKD fields into the Customer extension table tab EXTENSIONIN

VBKD : If you are using an enhancement for header data, you must add an append structure to BAPE_VBAK. You also need to enhance structure VBAKKOZ. If it is for item data, you need to add an append structure to BAPE_VBAP. You must also enhance structure VBAPKOZ.

Thanks

aRs

1 REPLY 1
Read only

former_member194669
Active Contributor
0 Likes
871

Hi,

Please check for customer extension given.

You can extend VBKD fields into the Customer extension table tab EXTENSIONIN

VBKD : If you are using an enhancement for header data, you must add an append structure to BAPE_VBAK. You also need to enhance structure VBAKKOZ. If it is for item data, you need to add an append structure to BAPE_VBAP. You must also enhance structure VBAPKOZ.

Thanks

aRs