cancel
Showing results for 
Search instead for 
Did you mean: 

E-sourcing Undocumented methods

Former Member
0 Kudos

Hi experts ,

Where I can find the Undocumented methods of e-SOurcing .

DO we have access to e-sourcing code . Any idea the exact path to get the code for exisitng functionalities

Thanks

tayi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tayi -

Sourcing and CLM intentionally expose functionality via the Integration APIs (IAPIs). Information about those can be found in the reference guide, which is accessed from the top of the page once logged in (assuming an access level sufficient to utilize it). Only APIs exposed and documented in the IAPI JavaDoc are available. There are a few "helper" functionalities also exposed which can be found in the scripting and workflow guide, available on the service marketplace.

If by "undocumented methods", you are referring to the internal APIs of Sourcing and CLM, those are not available for use in scripts and workflow. Any code that attempts to use APIs that are not part of the documented methods is not supported and, in the worst case, could result in corrupting portions of the application.

Perhaps you could provide more details about what you are trying to accomplish. It may be that someone here could offer an approach or, it is possible, that you could request additional IAPIs from SAP.

Hope this helps.

Rob

Former Member
0 Kudos

Hi Rob ,

Thank you . I dnt have access to E-sourcing application code . currently i'm trying to auto-populate time period values for projects . RG refers to only one TimePeriod interface which has no sufficient methods to achieve the above requriement .

Looking for help on this

Thanks,

Tayi

Former Member
0 Kudos

Hi Rob ,

thanks for your concern .

I am trying to set the value of the M_ERS_YEAR (an object picker of years) field of an extension collection column and YEAR values was stored in FCI_MAS_TIMEPERIOD table .

The above Collection field value should auto-populate based on a extension field M_ERS_DATE .

For Ex: If i select 11/01/2011 value for M_ERS_DATE , M_ERS_YEAR collection field should be populated with Year 2011 value .

I tried out by using Set(value) method . but on re-open the Year field appears to be blank .

can any one guide me , how to pull the Year value from time Period table and set to M_ERS_YEAR collection field using Script

Any assistance would be greatly appreciated.

Thanks,

tAyi

0 Kudos

Hello Tayi,

This looks like a duplicate to the posts below:

It would be helpful if you could tell us the exact version you are running by looking at Setup > System Information.

Also, the API documentation in the RG can be found by clicking on RG link and if you are not at the index, at the top of the RG page there are 2 links top & index. click index and there you should see a link for tha JAVA IAPI Documentation.

The left window of the documentation shows all the available classes.

If TimePeriodIBeanHomeIfc and TimePeriodIBeanIfc are not in this list, it's likely you do not have access to these objects in a script.

If they are there, then you must first import them at the top of your java script before you can use them in your code.

Hope this helps,

Alan

Former Member
0 Kudos

Hi Alan ,

E-Sourcing version is 4.2 . I'm looking for undocumented methods . Just i explained the ROB about my issue .

Thanks,

Tayi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Tayi -

As there are no standard Time Period fields on the Project, I am not sure what you are trying to do. Were Time Period extension field(s) added to the Project? Could you provide a few more details and I may be able to explain how to set Time Period values.

Thanks,

Rob