cancel
Showing results for 
Search instead for 
Did you mean: 

Class FM or BAPI to change a CRM sales order item - system status

Former Member
0 Kudos

Hi,

I've a problem that is as follow: i need to change the system status of a sales order item by RFC from a R/3 system.

What fm, bapis or class is to do that?

Thanzs in advance to all

Regards

Jaime Cordeiro

Accepted Solutions (1)

Accepted Solutions (1)

former_member184067
Active Contributor
0 Kudos

hi Jaime,

for doing that scenario you can build an customized function modul in crm for rfc. this function modul will be called from R/3 side.

in this function modul you can called another function modul to change / update system status of a sales order item by using function module CRM_STATUS_MAINTAIN_OW.

don't forget to call function module CRM_ORDER_SAVE and COMMIT WORK after that.

hopes it helps

cheers

Former Member
0 Kudos

Hi,

i've done that scenario but using a FM 'CRM_ORDER_MAINTAIN' to change the system status, but i'm facing a problem some sales order get a problem that there not distributed to the R/3 system after the update using the custom FM in the R/3 system, any ideas?

Many thnzs for the quick answer

former_member184067
Active Contributor
0 Kudos

hi Jaime,

please check wheather your document still contains error or not.

if the document still contain error the document won't be distributed to other system

hopes it helps

cheers

Former Member
0 Kudos

Hi eddhie,

the document is fine only after the change of status by the custom FM it gets locked.

Thzs for the help

Regards

Jaime

Answers (1)

Answers (1)

Former Member
0 Kudos

Until it commits works the system blocked the document