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

Document create

Former Member
0 Likes
479

Hello Friends,

I am using BAPI_DOCUMENT_CREATE2 to create the documents withinside the loop, at first time things works fine, and it create me the document. but second time ( with in loop ) it thorws me error ( msg id ZVC and MSG NO 11 )... I debug the BAPI_DOCUMENT_CREATE2 to see why it thorws me exception, and came to know at following FM it give me exception:

CTMS_CHAR_FIRST_ASSIGNED_VALUE

Any idea, what I can do to fix this issue....

Kind regards,

3 REPLIES 3
Read only

Former Member
0 Likes
429

Hi Shah ,

ZVC ->message class is customized on , so some where in ur program they are doing some validations ?

so check from which program this message is tiggered .

check in SE93 ---> give message class and navigate ( where - used list ) of that message number.

Regards

Peram

Read only

0 Likes
429

Hello Prabhu,

Do you have any idea, what "CTMS_CHAR_FIRST_ASSIGNED_VALUE" fm is doing ?

Regards,

Read only

0 Likes
429

Hi,

Okey, I have found the issue, actually in the FM CTMS_CHAR_FIRST_ASSIGNED_VALUE, there is one table WI and it has field WSELE which is fillied first time, and that's why things works first time, but second time this value WI_WSELE is not fillied, and that's why it throws me error.....

Now I need your suggetion, what I can do to fill this field second time as well ? any idea..

kind regards,