Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_DOCUMENT_CREATE2 - adding classification data

Hello,

I want to create document data with the named BAPI.

Not that bad, I thought, implemented the BAPI in my program, provided the required data and then made my first tests.

Result:

- document created

- no classification data added

And the return message from the program part were the classification is added is....

ID = CC / Number 164

"Date is in the past".

Thats lovely and I don´t understand whats wrong here!

I provided the same data that I use when I create documents via transaction!

Did anybody have similar experience and a solution for that, means an idea, what´s going wrong?

What I found out is that in the called function module in API_DOCUMENT_MAINTAIN2 (perform save_classification_data -> CACL_OBJECT_ALLOCATION_MAINT) named CLAP_DDB_GET_CLASSIFICATION the value for the date is set empty and the function comes back with an exception 4!

Any help is really appreciated!

Regards

Dirk

Edited by: Dirk Meinhard on Oct 20, 2008 4:49 PM

Tags:
Not what you were looking for? View more on this topic or Ask a question