cancel
Showing results for 
Search instead for 
Did you mean: 

Create Contract with new custom fields

ipravir
Active Contributor
0 Kudos

Hi,

I have added number of custom field in Add ins table of the WB21/WB22, Contract Creation T-Code.

And now a requirement comes to create contract trough BAPI or BDC.


Please suggest how i can use the BAPI_TRADINGCONTRACT_CREATE BAPI to create a new contract with pass the all custom fileld information's.

Note: Some valildation are also incorported in systems based on the Custom field. So that should happend trough BAPI also.

Thanks & Regads.

Praveer.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Praveer,

Hello.

You have to set the parameter 'EXTENSIONIN' and append customer fields.

You can get the following more information to Function Module Documentation by SE37.

**********************************************************************

You can use structure "EXTENSIONIN" to add customer-specific fields. These
must be made available via append structures for structures

  • BAPI_TE_WBHK
  • BAPI_TE_WBHI
  • BAPI_TE_WBHE
  • BAPI_TE_WBHD
  • BAPI_TE_WBHP

**********************************************************************

By the way, You will post ERP SD or MM forum next time because there is no forum of GTM.

Best regards,

Tomomi Higashi

ipravir
Active Contributor
0 Kudos

Hi Tomomi,

Thank you for the reply. Next time I will post the same to SD / MM forum.

Thanks Again for the information.

Thanks & Regards

Praveer.

former_member215181
Active Contributor
0 Kudos

Hi Praveer,

This forum is for GTS geeks.  I think you are asking about GTM?  Maybe there's a separate forum for that?

Regards,
Dave

ipravir
Active Contributor
0 Kudos

Hi Dave,

I Will check the same. Thanks for the Information.

Thanks & Regards.

Praveer.,