cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to send user ids to punch out catalog

Former Member
0 Kudos

I am setting up a new punch out catalog and my business unit has requested that we also send user ids so the catalog knows who I am etc.  I have done some research in this and believe I had setup everything correctly by just adding USERNAME   SY_UNAME  SAP Field in the standard call structure setup for that catalog but the vendor is telling me they can't see my user id.

1                           https:                0 URL

10 USERNAME      SCHWANS       2 Fixed Value

20 PASSWORD      Password         2 Fixed Value

30 HOOK_URL                               4 Return URL

40 ~OkCode           ADDI                2 Fixed Value

50 ~TARGET           _top                2 Fixed Value

60 ~CALLER           CTLG              2 Fixed Value

70 USERNAME      SY-UNAME      1 SAP Field

I changed USERNAME to BUYER_USERNAME per the suggestion of the catalog vendor but that did not work either.

The catalog support team is saying they don’t see the test id.  They sent me the request I’m sending them below:

OPI_VERSION     1.0

HOOK_URL          http:// this has our test server name

CATALOG_URL    https://  this has their server name

USERNAME         SCHWANS

sap-client               100

OCI_VERSION     4.0

PASSWORD          Password is listed

sap-language          E

~TARGET               _top

What do I need to setup in config to get them to see the user id of each user that is logging onto their catalog?

Thanks,

Lisa Seefeld

Sr SAP Functional Analyst

Schwan's Shared Services, LLC

Phone: 800.533.5290 ext. 72169

lisa.seefeld@schwans.com

Accepted Solutions (1)

Accepted Solutions (1)

timea_geczi
Employee
Employee
0 Kudos

Hi Lisa,

you can use the BBP_CAT_CALL_ENRICH BADI to pass additional parameters to an external Webservice.

Please also have a look at this thread:

http://scn.sap.com/thread/3184547

For SAP user name you might use the parameter 'sapuser' with value 'sy-uname'.

Additionally please also note, that the parameters used for the catalog call have to be stay BEFORE the HOOK_URL parameter.

Regards,

Timea

Former Member
0 Kudos

This worked once I moved the parameter "sapuser" BEFORE the HOOK_URL parameter.  I can't find the BADI BBP_CAT_CALL_ENRICH on our system but the vendor I am testing with has validated that they can now see my sap user id.  Thank you Timea and Ritesh for taking time out to answer my questions. I greatly appreciate it.

Lisa

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Lisa,

This is excellent question, Passing user who is doing punch out can be done through BADI BBP_CAT_CALL_ENRICH not the way you have changed the parameters in Configuration.

User Name in Catalog Configuration under Standard Structure has to be always User ID given by Punch out catalog to authenticate on their end.

In the BADI BBP_CAT_CALL_ENRICH you can pass user ID and other parameters as requested. Please refer to http://scn.sap.com/thread/3184547

Thank you

Ritesh