cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for transaction VAP1

Former Member
0 Kudos

Hello there,

ist there a bapi for the transaktion VAP1?

The bapi must be remote accessible.

I just want to enter the following date:

The debitor number and the date for the contact person.

Thanks a lot.

Greetings M.Schüring

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Try BAPI_CUSTOMER_CREATEFROMDATA1

Regards

Abhii

Former Member
0 Kudos

Thanks for the fast reply.

I know this bapi already, but:

I have an existing Debitor (debitor number 0000001982)

Now I want to create a contact person for this debitor.

So I use PI_PERSONALDATA for the data of the contact person, but where is the assignment to the debitor.

Where can I put the debitor number, so that the contact person is linked to my existing debitor?

Greetings M.Schüring

Former Member
0 Kudos

Hi,

forget that function module.

There is NO BAPI enabled function module for maintenance of customer master data.

As a result, the same is true for contact persons.

The BAPI you refer to is reserved to be used for SAP Online Store. See [note 390045|https://service.sap.com/sap/support/notes/390045]

Due to the specificity of that function module, out of the original context you will face limitations and data inconsistencies.

For the maintenance of customers, there is NO BAPI and NO direct function module.

There are some functions modules like the one above where the name is looking nice. But these should not be used.

  • Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See [note 384462|https://service.sap.com/sap/support/notes/384462]

  • Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduced. See class CMD_EI_API and VMD_EI_API

In your case, you may also have a look at class CL_ERP_SALES_LCM_INTERACTION. Despite the limitations, it is easier to use than CMD_EI_API.

Hope this helps

BR

Alain