Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

WBS Encoding/Conversion Exit using RFC

Former Member
0 Likes
854

Hello,

I am developing a SAP application using .NET Sap Connector/Rfc function calls. I'm synchronization project/psp (wbs) elements and purchase order items from a SAP system and am trying to link PSP (WBS) assignments on the purchase order item lines with the PSP element definitions in the external application.

Function "BAPI_PROJECT_GETINFO" of BAPI "WorkBreakdownStruct" (s. EWbsElementTable.WBS_ELEMENT) returns PSP-element in output representation e.g. "T-20301"

Function BAPI_PO_GETDETAIL of BAPI "PurchaseOrder" (s. PoItemAccountAssignm.WBS_ELEM_E) returns PSP-element in internal database representation e.g. "T20301"

I found out that "CONVERSION_EXIT_PROJN_OUTPUT" converts between these 2 display types but this function is not remotable i.e. it cannot be accessed using RFC function calls (Note: This is not a conversion issue between internal PSPNR, external POSID representation)

How can I convert these 2 representations from an external rfc application ? Or is there a different way of linking purchase order items with the psp element definitions using RFC ?

Thanks for a reply on this issue,

Greetings,

Andreas Koschinsky

2 REPLIES 2
Read only

athavanraja
Active Contributor
0 Likes
524

create a custom RFC FM and call CONVERSION_EXIT_PROJN_OUTPUT within that. Now you can call your custom RFC to do the conversion.

Regards

Raja

Read only

0 Likes
524

Thanks for your reply. That would indeed be a simple solution but the problem is that I am developing an external RFC application.

Introducing a new custom RFC FM would need administrative rights in the SAP system that I currently do not have and would need to go through several review and approval processes which would not be feasible in this case.

Is there any other way to solve this ?

Thanks,

Andreas Koschinsky