Skip to Content
avatar image
Former Member

Get vendor object from RFX response

Hello All

I am trying to get the vendor reference from RFX responses.

relevant code

propsColln = doc.getProposals();

iterProps=propsColln.iterator();
		while(iterProps.hasNext()){
			prop=iterProps.next();
			propSupplier=prop.getFieldMetadata("VENDOR").get(prop);
			logMsg.setLogMessage("*****MP ***"+propSupplier);
                                            }

This prints

*****MP ***1283457025:902:Test Supplier 1

How can I get vendor reference from this class?

Although 902 is the class id for RfxVendorIBeanIfc, I am unable to call methods like getDocumentId(), error is

No args method getDocumentId() not found in class'com.sap.odp.common.db.ObjectReference'

How can I get the vendor object reference from the RFX response?

Thanks,

MP

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 27, 2011 at 11:24 PM

    Hi MP,

    RfxVendorIBean has a reference to master data vendor object. Looks like getVendor() methods in RFxVendorIbean is not API enabled & not sure if there are any workarounds.. if not request SAP for api enablement for this..

    Thanks, Baski

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      Yes, you would not be able to write jobs directly. I would suggest raising an OSS with SAP for them to provide some solutions for initiating access to database.

      Regards

      Mudit Saini