cancel
Showing results for 
Search instead for 
Did you mean: 

What is Extended OCI call and access to third party catalog by passing values

Chaitanya_Kumar
Explorer
0 Kudos

Hi Experts,

Can anyone tell me what is Extended OCI call in SRM . As i am new to SRM please help me. And also Please explain about BADI  BBP_CAT_CALL_ENRICH. 

Using this Badi i have to pass some parameters. From where do i get these values.

Thanks in advance.

Kumar.

Accepted Solutions (1)

Accepted Solutions (1)

konstantin_anikeev
Active Contributor
0 Kudos

Hi Kumar,

first of all you can configure constant fields for catalog call via

SPRO->SAP Supplier Relationship Management->SRM Server->Master Data->Content Management->Define External Web Services.

Here is an example.

Via mentioned BADI you can transfer additional dynamic parameters. Which values do you need to transfer?

Regards

Konstantin

Chaitanya_Kumar
Explorer
0 Kudos

Hi Konstantin,

   Thank you very much for your reply.

My Functional team asked me to pass Username,First name,Last Name,Email,Region,Language, Catalog Groups,Org-ID,show prices.

I can able to pass Username,First name,Last name,Email,Region,Language to CT_Post_Values.

Coming to Catalog Groups, Org_id, Show Prices I am not understanding how get the values to BADI and how to Pass.

sample code is

* E-Mail
CLEAR LS_POST_VALUES.
LS_POST_VALUES
-FIELDNAME = zsrmCL_IM_CAT_CALL_ENRCH=>E_EXTOCI_FLD-E_MAIL.
LS_POST_VALUES
-FIELDCONT = LS_ADDRESS-E_MAIL.
IF NOT LS_POST_VALUES-FIELDCONT IS INITIAL.
APPEND LS_POST_VALUES TO CT_POST_VALUES.
ENDIF.
* First name
CLEAR LS_POST_VALUES.
LS_POST_VALUES
-FIELDNAME = zsrmCL_IM_CAT_CALL_ENRCH=>E_EXTOCI_FLD-FIRST_NAME.
LS_POST_VALUES
-FIELDCONT = LS_ADDRESS-FIRSTNAME.
IF NOT LS_POST_VALUES-FIELDCONT IS INITIAL.
APPEND LS_POST_VALUES TO CT_POST_VALUES.
ENDIF.

Like above i have passed all. If there is any better solution Please let me know.

And please tell me about Catalog Groups , Org-Id, Show prices.

Please help me on this...

Thanks & Regards,

Kumar

konstantin_anikeev
Active Contributor
0 Kudos

Hi Kumar,

I think you should also use FIELDINDEX, but it is not critical.

As for other fields, please let me know what concrete do you need.

Catalog Groups - what is it? Is it attribute in PPOMA or something like that?

Org-Id - Is it Org-ID from PPOMA or some custom attribute?

Show prices - is this boolean field, or 0/1, or ''/'X'?

Regards

Konstantin

Chaitanya_Kumar
Explorer
0 Kudos

Hi Konstantin,

Thanks for your response.

Is it mandatory to use FIELD INDEX or the sample code is enough which i posted. If I have to use FIELD INDEX how can I use it.

1) Catalog Groups are attributes in PPOMA. How can I get these values to BADI and how can I pass.

2)Functional Consultant told Org-Id will be provided by third Party Catalog Vendor and I don't know whether it is PPOMA or some custom attribute since I did't get answer from third party vendor.

3)Show Prices may be Boolean field.

Thanks in advance..

Kumar

konstantin_anikeev
Active Contributor
0 Kudos

Hi Kumar,

1) please use function module BBP_READ_ATTRIBUTES

2) you should clear it with your consultants

3) add an entry to CT_POST_VALUES for this field.

Regards

Konstantin

Answers (0)