Skip to Content
0
Former Member
Oct 26, 2015 at 12:27 AM

Sap sourcing master agreement status update

25 Views

Dear all,

When I update the master agreement status, it works fine,but the status is blank.

But when i leave it to the outside,it can show the status.

Code is as follows:

ValueListValueIBeanHomeIfc valueListHome = IBeanHomeLocator.lookup(session,doc.getStatusRef()); doc.getIBeanHomeIfc().upgradeToEdit(doc); ValueListValueIBeanIfc valueList = valueListHome.findUniqueByNameType("Executed Agreement",1); doc.setStatusRef(valueList.getLocalizedObjectReference()); doc.getIBeanHomeIfc().save(doc); doc.getIBeanHomeIfc().downgradeToView(doc);

I don't know what the reason is,please help me ,thank you very much.

Attachments

pastedImage_1.png (10.7 kB)