cancel
Showing results for 
Search instead for 
Did you mean: 

Customization of Sales Order Screen Based on the Material Type

SHRADDHA2
Discoverer
0 Kudos

Scenario description: 

  1. We want the moment we enter the flight ticket item in the line item level, custom fields specific to the flight ticket should show, we don't want other irrelevant custom field to pop up. And likewise for hotel accommodation as well. IN short custom field visibility should depend on the material we are entering at line item level.
  2. We are generating the purchase requisition from the sale order using item category DBAB as the tickets are real time procured based on customer requirement. Custom fields filled with data in sale order should flow to Purchase requisition which will be generated from sale order. The custom field data should flow from PR to PO.
  3. We also want Custom fields data from sales orders should flow to billing documents as well. Standard copy control does not support custom field.
  4. A company is selling flight tickets and hotel accommodation service both in one sale order. 


    First Scenario:

    1. We want the moment we enter the flight ticket item in the line item level, custom fields specific to the flight ticket should show, we don't want other irrelevant custom fields to pop up. And likewise for hotel accommodation as well. Inshort custom field visibility should depend on the material we are entering at line item level.
    2. We have activated the BADI: 

      Hiding of Custom Item Fields for Mass Change of Sales Documents

      ID : SD_MASSCHG_SLSDOC_ITM_HIDE_EXT

      SHRADDHA2_1-1715767884389.png

      And this is the logic we have copied from the sample code provided by SAP: Can you let me know what changes we need to make to the logic?


       

Accepted Solutions (0)

Answers (0)