cancel
Showing results for 
Search instead for 
Did you mean: 

How to Generate sales orders with custom Fields using BAPI_BUSPROCESSND_CREATEMULTI

salah_zinet
Participant
0 Kudos

Hi,

I need to generate sales orders with custom fields on table CRMD_ORDERADM_H using BAPI_BUSPROCESSND_CREATEMULTI, after changing the structure BAPI_TE_CRMD_ORDERADM_H, and feed the  EXTENSIONIN table of the BAPI with data, the order is created, but any value on custom fields.

After debuging, I saw that the BAPI search for structure conversion in table CRMC_OBJECTS_GEN, but we haven't entry with BAPI_TE_CRMD_ORDERADM_H in this table. is that the problem ?, Is there any way to fix it?

Best Regards,

Salah.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member182421
Active Contributor
0 Kudos

That depends on where do you have the customer fields, check the table CRMD_CUSTOMER_H, if your custom fields are there, you need to use the changing parameter CUSTOMER_HEAD, I guess your already checked that one, right? but there's no custom fields, well...AET/EEWB doesn't enhance the strcuture of the BAPI, so you should do it manually, check the note following note for further details.

988410 - FAQ: User-defined fields in the BAPI

If you don't have access to the SAP Marketplace, in resume you should create an append on the structure BAPIBUS20001_CUSTOMER_H and include the following strcutrue CI_EEW_CUSTOMER_H

Cheers!

Luis