cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fiori - PO Tracking app - acessing Fiori app with RFC user at backend

Former Member
0 Kudos

Hi,

Is there any way wherein SAP Fiori End User can access SAP fiori app by having his Login ID in Gateway system only i.e., EndUser wont be having corresponding UserID in backend ECC system.

Here scenario is like this. We have activated PO Tracking fiori application.

EndUser who is a non-employee will be having Login Id in Gateway system and not in ECC.  And when he logs into Fiori launchpad he should be

able to see the Purchase Orders which were assigned to him.  I tried with rfcuser in RFC destination, but its giving error while accessing the application.

Is there any way, wherein without having login id in ECC, can we show PO's to the User?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Syam,

Could you share the business use case?

What the vendor is going to do after looking at the PO Track?

Is the vendor going to create a delivery notification or invoice?

Does the vendor have Sales Order tracking system?

Regards,

Masa / SAP Technology RIG

Former Member
0 Kudos

Hi Masa,

Here Vendor wants to know the status of Purchase Order.

He doesnt have any other access in SAP, except PO tracking app.

Thanks

Syam.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Syam,

My questions was what are actions after knowing the status of PO.

If it is just knowing the status and no action, I don't see any big business value.

Regards,

Masa / SAP Technology RIG

Former Member
0 Kudos

Hi Masa,

In this scenario, Vendor wants to know the status of PO..nothing more..

Vendor wants to know whether it is Delivered or Invoice is done or Payment is done.

He wont be having any other access.

I have resolved this issue.

Used Un Trusted RFC destination using RFCUSER. And in DPC_EXT, retrieved Gateway UserID and used the same for further processing.

so closing the thread

Thank you.

Syam

Answers (1)

Answers (1)

kammaje_cis
Active Contributor
0 Kudos

Syam,

When you say

see the Purchase Orders which were assigned to him

Where is this assigned? In Backend? If yes, how?

It makes sense to use generic users for internet kind of scenarios. But keep in mind that you need to look at licensing conditions, if you do that in Production. You might have ot go with Gateway volume licensing.

PO Tracking app would definitely would require enhancements for your scenario.

Regards

Krishna

Former Member
0 Kudos

Hi Krishna,

Thanks for your quick reply.

Here the End-User who has login in in Gateway, will be a Vendor in ECC.

For example, 2000000 is a end user who has login in Gateway system.  He will be a Vendor in ECC.

When 2000000  logsin to launchpad, All PO's which were created for that User needs to be displayed i.e., EKKO-LFA1 = Sy-unam of Gateway User-id. I just changed the POLISTS_GET_ENTITYSET so that it retrieves the data who logged in.

But challenge here is, End User wont be having Login credentials in ECC. 

Will this be possible and if so how?  I just kept RFC User in RFC destination with Trusted, but its not working.

Thank you

kammaje_cis
Active Contributor
0 Kudos

When your code executes in backend (in DPC), Sy-UNAME will be the backend user ID, in your case the user you hardcoded in RFC destination. It will NOT be Gateway user ID. So this approach is not possible.

Former Member
0 Kudos

Krishna,

I am able to retrieve  Gateway User id in DPC class using method MO_CONTEXT->GET_PARAMETER of MO_CONTEXT->GC_PARAM_REQUEST_USER.

kammaje_cis
Active Contributor
0 Kudos

Then you need to have a custom mapping table to map your Gateway user with backend Vendor. Other option is to make use of some custom field  to store this Gateway user ID at vendor level.

Then you can enhance the Gateway service to fetch all vendors where this Gateway user is maintained.  From there fetch the POs for those vendors.

As mentioned earlier, if this is going to be a Productive solution, consult your licensing representative.