cancel
Showing results for 
Search instead for 
Did you mean: 

Where did the SAP SRM messages are coming from?

Former Member
0 Kudos

Hi,

     I  need to find where the SAP SRM FPM messages are coming from. When I click save button in my standard FPM SRM screen with views from different components, I get a message containing my Business Partner Number. I need to save this Business partner number which is generated in  a table. How to get this number in the message in runtime and extend my save button functionality for filling a table with Business partner number?

Some one please helping me solve it.

Regards,

Darsana.

Accepted Solutions (1)

Accepted Solutions (1)

vinita_kasliwal
Active Contributor
0 Kudos

Hi Darsana

Can you check the webdynpro component associated with this ? It should come from there .

or you can also  check if this FM gets triggered BUPA_CENTRAL_EXTINCL_CHANGE

and also BADI RSCRM_BUPA_CREATE or RSCRM_BUPA_CREATE

Else you may want to debug the webdynpro/ FPM component  it should be able to provide you the exact place.

Regards

Vinita

Former Member
0 Kudos

Hi Vinita,

      It is a standard FPM OIF component with views from many components. So what will be the component i need to check? Because if i need to put a breakpoint i can debugg only these seperate views. Is there any component in FPM that joins all the Component views together other than FPM_OIF_COMPONENT?

Thank you

Darsana

Former Member
0 Kudos

Hi Vinita,

      The FM BUPA_CENTRAL_EXTINCL_CHANGE is getting triggered when I put a break point there. I got the Business Partner no getting filled in variable IV_partner, in workarea IS_BUT000-Partner and in internal table gt_but000_mem.

The BADi's are not getting triggered.

Can I create an implicit enhancement at this function module and fill my custom table using this values? Will it work?

vinita_kasliwal
Active Contributor
0 Kudos

Hi Darsana
Do you see the success message being returned in the ET_RETURN table if yes then you should try creating the implicit enhancement.

Also when you right click you will see the webdynpro component as WDS_MESSAGE and also you can try to create a component configuration for that particular application configuration as you can see below and be able to modify the message but this is a bit complicated .

The below screen is for the Shopping cart please try to right click on your screen and find the relevant component names.

Let me know if this helps

Regards

Vinita

Former Member
0 Kudos

Hi Vinita,

        Now I got the Contact person-Business partner number from the function module BUPA_CENTRAL_EXTINCL_CHANGE which I could be able to save in the table

I need Company Business partner number too. From where I can get it? Any idea?

Thank you for your helpful answer,

Darsana.

vinita_kasliwal
Active Contributor
0 Kudos

All business partner data comes from table BUT000 can you check in that ?

Is that what you are asking?

Regards

Vinita

Former Member
0 Kudos

It is there in BUT000. But I need to get it in runtime when the save button is clicked. Not after the value get saved in the table BUT000. Similar to the BP number of Contact person which I get from FM BUPA_CENTRAL_EXTINCL_CHANGE, I need to get the BP number of Company. Both numbers are actual consecutive but if more users are using the portal in same time it may not be. So somewhere in the standard code it is getting created. I need to find it.

Thanks,

Darsana

vinita_kasliwal
Active Contributor
0 Kudos

Can you share a screenshot again ? Is it the same screen you are talking about or something else?

Former Member
0 Kudos

Hi Vinita,

        The issue is solved.

Thank you for your help

Answers (1)

Answers (1)

RicardoRomero_1
Active Contributor
0 Kudos

Hi,


Try putting a break-point within FM BBP_PD_MSG_ADD.


Then see the call stack.

Regards,

Ricardo.