cancel
Showing results for 
Search instead for 
Did you mean: 

Check Price and Availability: is BAdI a must to fetch customer?

Former Member
0 Kudos

Hi,

While running the app Check Price and Availability, the screen (see the attachment) displays. Do I have to implement the BAdI BADI_SRA016_USR_TO_CUSTOMER to fetch customers? At the current stage, the user's access to the customer list are not limited and all customers should be accessible. How can I configure it?

Best regards,

ts

Accepted Solutions (1)

Accepted Solutions (1)

former_member206574
Active Participant
0 Kudos

Hi TS,

You have to follow the Configuration Tasks maintained in APP Implementation.


Configuration Tasks

To enable Check Price and Availability, perform these configuration tasks:

  • Map 0105 communication type for the employee PERNR to the system user ID.
  • Enable the SRA016_PRICE_AVAIL_SRV SICF Services for the Gateway and SD_PRAV_MON SICF Services for UI5.
  • Call transaction SIMGH to open the Check Price and Availability node to configure user information with the Sales Order Document type and Price Condition type in the SRA016_T_CONFIG table.
  • Implement the following BAdIs:
    • BAdI: Fetch CustomersYou can use this BAdI to fetch a list of customers associated with a specific employee.
    • BAdI: Retrieve Product ImageYou can use this BAdI to retrieve the image of a product.


Please double check these Config Tasks.


You should implement the badi to fetch Customers associated with a specific employee


You Can check this link for all the fiori Apps related BAdi s to implement


Regards,

Venu

Answers (1)

Answers (1)

kammaje_cis
Active Contributor
0 Kudos

You need to implement BADI BD_SRA016_USR_TO_CUSTOMER, method GET_CUSTOMERS_FROM_USR.

You can put your own logic to determine which customers to show.