Skip to Content

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

Sap sourcing master agreement status update

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.

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