cancel
Showing results for 
Search instead for 
Did you mean: 

CMD_EI_API usage together with KNVV append

Former Member
0 Kudos

Hello,

I am trying to use class CMD_EI_API for customer maintenance, especially updating the sales view.

I don't find a way to pass data to a KNVV append fields .

Is this a known limitation or does anybody know a workround .

P.S. Working with SD_CUSTOMER_MAINTAIN_ALL seems to meet this requirement.

Regards

Wolfgang Schildmann

Accepted Solutions (1)

Accepted Solutions (1)

former_member189545
Participant
0 Kudos

Hello Wolfgang,

Despite the name SD_CUSTOMER_MAINTAIN_ALL should not be used directly.

It is only used from the main transaction for maintenance of consumers

and within some very specific processes.

Unfortunately, we do not have any BAPI for such maintenance.

There exists some BAPIs but they are designed for very specific

maintenance processes.

Please look at note 384462. There you will find what is available.

This is mainly batch-input processing and ALE.

Alternatively, as you already mentioned you may look at class CMD_EI_API and methods MAITAIN,

MAINTAIN_BAPI, and MAINTAIN_DIRECT_INPUT.

This is supported class and you can fully maintain customer master

data.

Please note that it is only available starting with release ECC 2005.

I hope I was able to help you.

Kind regards,

Zsuzsanna

Answers (2)

Answers (2)

dkle
Participant
0 Kudos

Hi Wolfgang,

Alain Bacchi gave the answer to your problem in another Thread one year later:

[;

The solution:

You have to append the Append-Fields of KNVV to the complex input structure of CMD_EI_API=>maintain( ).

In your case create Appends for the following structures:

- CMDS_EI_SALES_DATA and

- CMDS_EI_SALES_DATAX

I just tried and it worked like a charm.

Regards

Daniel Klein

Former Member
0 Kudos

Hello Wolfgang,

no there is no trick or workaround.

It is fully supported to create and change sales area with CMD_EI_API.

If you need some example about how to populate the complex structure, you may look at class CMD_EI_API_EXTRACT and method GET_DATA.

This will read a customer and fill the structure.

You may also use this read functionality in order to prepare your reports for changing some master data.

Hope this helps.

BR

Alain