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

Method MAINTAIN_BAPI of CMD_EI_API does not populate Tcode 'BP'

Former Member
0 Likes
2,338

Hello SAP Experts,

We are using method MAINTAIN_BAPI of Class CMD_EI_API to create Customer in ECC using SAP Portal through a form.

When the Customer Details are added on the Form in the Portal and the Form is submitted, the MAINTAIN_BAPI method is called and the relevant structures used in it are populated.

The Customer gets created appropriately in ECC(verified through Tcode XD03) and Entries are populated in the various Customer (KN*) Database tables in ECC.

But when the Customer is displayed using Tcode 'BP' , its details are not displayed.

In other words, although the Customer thus created can be seen using Tcode 'BP', its data in the various sections for eg. the Address Section are not populated in this Transaction.

However, after this if any change is made to the newly created Customer in XD02, like updating the Customer Name, the Customer Details miraculously show up when the Customer is displayed again using the BP Transaction code.

Please advise what is missing here. Thanks in advance for your help.

Best Regards,

Damian

3 REPLIES 3
Read only

Tammie
Participant
0 Likes
1,019

Hi Damian,

I realise this is quite an old thread, but did you ever figure out what was causing the issue?  I'm currently facing a very similar issue.

Thanks.

Regards,
Tammie

Read only

Former Member
0 Likes
1,019

Hello both: we are facing a similar issue, but we do not get an ID in the BP transaction for the customer ID just created using method  MAINTAIN_BAPI in CMD_EI_API

Any idea?

Thanks

regards

Valentín

Read only

JackGraus
Active Contributor
1,019

The implementation of below notes did make it work for us.

Regards Jack

  • 2604337 Dump occurs during creation of Vendor via method maintain_bapi.
  • 2706149 Maintain Customer/Vendor master data does not create Business partner
  • 2562821 CVI BP: Business address of a Contact Person not synchronized from customer to B
  • 2703764 BP CVI: Incorrect error handling during synchronization of vendors to business p
  • 2617848 Clear buffers of VMD_VENDOR_BTE_1421_IMPL