cancel
Showing results for 
Search instead for 
Did you mean: 

How to set a status value without stepping through status network?

Former Member
0 Kudos

Hello,

for a development I use the function module 'BAPI_DOCUMENT_SETSTATUS' to set the document status.

The status to be set I get from the caller of the module.

Is there a possibility to set the status without to step through the status network? Which function I can use?

Or is there an easy way to get a path through status network?

Thanks,

Roland

Accepted Solutions (0)

Answers (1)

Answers (1)

christoph_hopf
Advisor
Advisor
0 Kudos

Hi Roland,

using the normal way it is not possible to just set a specific status if there is a status network. Because in this case the system will always check if the status can be set on basis of the status network settings.

The only kind of workaround I can think of would be to have an individual report for this which directly updated the DMS database tables. Therefore I think that for example tables 'DRAW' and 'DRAP' needs to be updated directly. But please note that this is just a personal estimation and not supported in the standard because it may corrupt the data in the status log for example.

Best regards,

Christoph