Modify Item details while submitting an order

Hi Experts,
  While submitting an order I need to modify one of the field in the item table when saving. So i am writing the code in the BADI ORDER_SAVE, method CHANGE_BEFORE_UPDATE .
I have got the item details with me now in the BADI. How can i modify the particular field ?
Please help.
Many Thanks,
Neeraj

Hi Neeraj,
   Use CRM_ORDERADM_I_MAINTAIN_OW FM to update fields in item list.
Regards,
Lakshmi.Y

Similar Messages

  • Error while submitting ATG order - ATG 10.0.3

    Hi All,
    I am getting the below exception while submitting the order.
    runProcess called with chain ID = moveToConfirmation
    PipelineError: key=NoPaymentGroupsInOrder; error=There are no payment methods specified in the order.
    adding form exception: NoPaymentGroupsInOrder: There are no payment methods specified in the order.
    root cause of exception: null
    PipelineError: key=ValidatePaymentGroupsFailed; error=The payment method(s) are insufficient to cover the following
    adding form exception: ValidatePaymentGroupsFailed: The payment method(s) are insufficient to cover the following it
    root cause of exception: null
    Also, PriceInfo object is not getting created by pipelines. I am able to see an INCOMPLETE order with PrieInfo object as empty.
    I have not customized any of the ATG components.
    Please help to resolve this issue.

    Which formhandlers are you using to create and submit the order?
    Did you use CartModifierFormHandler to add commerceItems to order?
    And did u call processOrderWithRepriceOrder pipeline chain to calculate the price?
    Form Errors it looks:
    the payment group is empty and you didn't not add any payment methods.
    You didn't reprice the order before calling the processOrder
    Peace
    Shaik

  • ITEM DETAILS: CONFIGURATION  in sales order

    Dear  guru,
    In the sale order if we want to see the variant configuration details for a particular line item then after selecting the line item we press
    the ITEM DETAILS: CONFIGURATION icon. Once we press this icon then the system will take us to a display characteristic value screen where we
    can see the configuration details of that particular line item. But now in PRODUCTION SYSTEM we are not finding any value for a variant
    configuration material in the sale order display characteristic value screen, eventhough it is maintained in the material master MRP3 view.
    But in deveploment  client  it is showing correctly.
    Pl. suggest

    Get with the VC person and have them move all the model details to PRD

  • Item Details Columns of Production Order

    Hi,
    In a Production Order Component overview screen,i can see 4 columns related to item details- ITEM, OpAc,ItemID,ItemNo.
    Can anyone explain what is the use of above 4 columns and how are they different from each other. Does maintaining all the above 4 columns are mandatory. Can we make changes to the Column-OpAc,Item,ItemID,ItemNo once a production order is created and released .
    Thanks in advance.

    Position the cursor on the fields which you mention & press F1, it will clarify your query.
    If you have done that & yet not clear, then can you let us know what is not so clear about it. I believe the SAP help for those fields are sufficiently explained isn't it?

  • Address details while saving the order

    hello experts
    i am having the requirement where i wanted to fetch the Ship-to Address details that is changed by the user while saving the order.
    I tried using different FMs like BAPI_BUPA_ADDRESS_GETDETAIL but these fetch the address from master data. What i want is the new address entered by the user.
    In CRM_ORDER_READ i am getting a new ADRNR for the newly entered address (itab_partner-addr_nr)but not able to find any FM to get the details out of it.
    did anyone know how to get the same?
    Thanks in advance.
    regards
    rajeev

    Hi,
    I tried FM BUA_BUPA_ADRC_GET. This one returns address details from memory but doesn't have partner relation in it.
    basically it populates partner's name into NAME1 field of ADRC.
    regards
    rajeev

  • Need help to read the item details while creating the Opportunity in SAP CR

    Hi,
    I need to read the values entered at item level while creating a new opportunity in SAP CRM 5.0.
    Is there any function modle to do that ? I need to read the custom fields (developed by EEWB)
    and sum  them up and populate at the header level.
    As the data is not saved yet, I cannot read from database in the present scenario.
    Thanks and regards

    Hi,
      U can use CRM_ORDER_READ.
    1) Pass the values for the ITEM guid which u want to read.
    2) ignore the other header guid and object id because it is for whole contract
    3) if u had custmize any table it will be available in the internal table returned by the function module.
    4) u have to identify which internal table will contain the field since many internal table are available with similar meaning.
    4) CRM_ORDER_ORDER is heavy function module it reads entire contract hence u need to specify which internal table u have to read any only those values will be read. for that u have to fill in <b>it_requested_objects</b>
    fill requested ogject with below statement
    INSERT gc_object_name-orderadm_h  INTO TABLE lit_import_tab.
    gc_object_name is constant structure u have to include
    *-Standard Include
      INCLUDE crm_object_names_con.
    Mark helpfull answers
    Regards
    Manoj

  • How to avoid XVBPA line item values while creating sales order

    Hi Friends
    I am creating Sales order using function module IDOC_INPUT_ORDERS, for that I am passing partner details through segment E1EDKA1.If I pass the same partner details(Partner number, name1,name4,city,postel code) which is same like customer master,
    I can able to book the order and entries are coming only one time in VBPA table(Header Item level).But if I change any value for the particular partner in the Input(For example Name4, there is no value in customer master but I added through program).Now its creating an order but its showing the entered partner informations in header level.When I checked the same in line item level, its not picking the values from header, its picking the values from customer master for that particular partner.
    So this line item also coming in VBPA table, because its different from header data.
    Anyone guide me, how to avoid this problem while booking order through program.
    Thanks
    Gowrishankar

    I am updating Ship-To-Party value in segment E1EDKA1 and calling IDOC_INPUT_ORDERS function module to create the sales order.
    In this case for the particular partner there is no NAME4 value in KNA1, I am passing some value through this segment E1EDKA1.
    So its creating an order with this new addresses , so its generating new ADRNR in VBPA header level.Thats fine.But the same time
    its not copying the same value from header to line item.
    In Line item level again its picking the address details from KNA1 for the particular partner number.So its showing Blank value in NAME4 field of line items.Its creating and spllitting issue, while creating delivery.
    Thanks
    Gowrishankar

  • ITEM ERROR while creating sales order

    Hi Everyone,
    I'm getting a problem while trying to create a sales order using CASHSALE (BV).
    The error is: <b>"Item 000010 does not exist"</b>.
    But while creating a sales order with other document types like OR,SO,etc... i am not getting any error.
    Do u suggest what should i do to solve this.
    Helpful answers will be awarded maximum points.
    Thanks in Advance.
    sudheer.

    Hey i got the solution for this .
    Actually This order type was not assigned to delivery blocks.
    So our SD guy has set that configuration & now its working 5ne now.
    Regards.
    Sudheer.

  • SAP CLM: Modifying Item detail to include a custom field

    Hello,
    Is it possible to modify the line item page to include another custom field ?
    I navigated through Extension Definition configuration but there is no Class for Line Item. Is this even possible?
    Thanks,
    Arijeet

    Hi Prasad,
    Thank you for your help. But I am unable to find out the correct class to include the extensions. As per the Reference Guide the class ID is 1604 but I am unbale to see this while trying to add the fields in Extension Definition Configuration.
    It would be great if you could provide some more concrete steps.
    Thanks,
    Arijeet

  • Production order item details (For Archived Production Orders)

    Dear SAP Buddy,
    Please can anyone tell how to get the Document Goods Movement list of archived Production orders alongwith the G/L accounts assigned with all Documents Goods movement
    Awaiting reply from all genious SAP Buddy
    Answer will be highly appreciated
    Rgds
    BV
    Edited by: Brijesh Verma on Jun 17, 2009 2:37 PM

    Hi
    Try in MB51 with tick for check short documents in archive along with  proper Archive info structure  at the bottom of the screen
    Regards
    Brahmaji

  • Work Order to cost center settlement with line item detail

    Iu2019m having difficulty finding a method to settle from a work order to a cost center with line item detail.  When an order is settled with KO88 or KO8G the total value for that work order/cost element combination is combined and posted to the cost center as a lump sum with the description of CTR\######.  Users would like to see the individual values that posted to the work order in a cost center report such as  KSB1.
    I donu2019t see anything in the settlement rule, settlement profile or allocation structure that will allow line item settlement from work order to cost center.     Is line item settlement possible when settling to a cost center?   Is there an alternate way to see these expenses as line items in KSB1?
    Thanks,
    Jeff

    Thanks Christian,
    We've defined an allocation structure that we use for Project System and Work Order settlement and have Receiver Categories established as FXA, CTR and WBS with "by Cost Element"  checked.  Work order costs do settle to the cost center entered in the settlement rule, the problem is it combines all items values as a single amount when posting to the cost center.
    For example:  
    expenses post to the work order under cost element 500000 for $500, $200, $300 and cost element 600000 for $250 and $250.  The settlement rule says to settle to cost center 170000.  When the settlement takes place cost center 170000 is debited $1000 to cost element 500000 and $500 to cost element 600000.  We would prefer to see individual posting of $500, $200, $300 to 500000  and $250, $250 to 600000.
    Thanks,
    Jeff

  • BAPI to get the Sales order line item details

    Hi,
    My program gets Sale sorder and item as the input and I need to fetch all the item (Given item) details for this Sales Order from VBAP. Is there any BAPI to get the item details?

    Hi,
    This is a sample code of BAPI.Try to map it to your requirement.This is not related to vendor.This is related to sales order.
    Constants
    CONSTANTS: c_contract LIKE vbak-vbeln VALUE '0020000720',
    c_item LIKE vbap-posnr VALUE '000010'.
    Structures
    Structure to hold BAPI Header
    DATA: st_bapisdhd1 LIKE bapisdhd1.
    Internal Tables
    Sales Order Create BAPI Return Messages
    DATA: tbl_return TYPE STANDARD TABLE OF bapiret2
    WITH HEADER LINE.
    Sales Order BAPI Line Item
    DATA: tbl_bapisditm TYPE STANDARD TABLE OF bapisditm
    WITH HEADER LINE.
    Sales Order BAPI Line Item
    DATA: tbl_bapisditmx TYPE STANDARD TABLE OF bapisditmx
    WITH HEADER LINE.
    Sales Order BAPI Pricing Conditions
    DATA: tbl_bapicond TYPE STANDARD TABLE OF bapicond
    WITH HEADER LINE.
    Sales Order BAPI Partner Functions
    DATA: tbl_bapiparnr TYPE STANDARD TABLE OF bapiparnr
    WITH HEADER LINE.
    Sales Order BAPI Schedule Lines
    DATA: tbl_bapischdl TYPE STANDARD TABLE OF bapischdl
    WITH HEADER LINE.
    Sales Order BAPI Schedule Lines
    DATA: tbl_bapischdlx TYPE STANDARD TABLE OF bapischdlx
    WITH HEADER LINE.
    Sales Order BAPI Pricing Conditions
    DATA: tbl_bapicondx TYPE STANDARD TABLE OF bapicondx
    WITH HEADER LINE.
    Customer Enhancement for VBAK, VBAP, VBEP
    DATA: tbl_bapiparex TYPE STANDARD TABLE OF bapiparex
    WITH HEADER LINE.
    Table to hold BAPI Detail Conditions
    DATA: tbl_bapisdcond TYPE STANDARD TABLE OF bapisdcond
    WITH HEADER LINE.
    Table to hold Return Messages from Sales Order Change BAPI
    DATA: tbl_return_chg TYPE STANDARD TABLE OF bapiret2
    WITH HEADER LINE.
    Variables
    DATA: g_vbeln_created LIKE vbak-vbeln,
    g_valid_contract TYPE c,
    g_cont_price_date TYPE d.
    Start of Selection
    START-OF-SELECTION.
    PERFORM validate_contract.
    PERFORM create_sales_ord.
    PERFORM update_sales_ord.
    End of Selection
    END-OF-SELECTION.
    PERFORM write_output_report.
    Subroutines
    *& Form create_sales_ord
    Create the Sales Order
    FORM create_sales_ord .
    PERFORM populate_bapi_tables.
    PERFORM call_create_sales_ord_bapi.
    ENDFORM. " create_sales_ord
    *& Form populate_bapi_tables
    Fill up the BAPI Tables
    FORM populate_bapi_tables .
    PERFORM populate_bapi_header.
    PERFORM build_bapi_partners.
    PERFORM build_bapi_items.
    PERFORM build_bapi_sched_lines.
    ENDFORM. " populate_bapi_tables
    *& Form populate_bapi_header
    Build BAPI Header Details
    FORM populate_bapi_header .
    CLEAR st_bapisdhd1.
    st_bapisdhd1-doc_type = 'ZOC'. "Order type
    st_bapisdhd1-sales_org = '026'. "Sales Org
    st_bapisdhd1-distr_chan = '00'. "Dist Channel
    st_bapisdhd1-division = '00'. "Division
    st_bapisdhd1-purch_no_c = 'Cust Po No'. "Cust PO No
    st_bapisdhd1-name = 'Orderer'. "Name of Orderer
    st_bapisdhd1-ord_reason = ''. "Order Reason
    st_bapisdhd1-sales_off = '3001'. "Sales Office
    st_bapisdhd1-sales_grp = '301'. "Market Area
    IF g_valid_contract = 'X'.
    st_bapisdhd1-price_date = g_cont_price_date.
    ENDIF.
    ENDFORM. " populate_bapi_header
    *& Form build_bapi_partners
    Build BAPI Partner Functions
    FORM build_bapi_partners .
    CLEAR tbl_bapiparnr.
    tbl_bapiparnr-partn_role = 'AG'.
    tbl_bapiparnr-partn_numb = '0000100750'.
    APPEND tbl_bapiparnr.
    CLEAR tbl_bapiparnr.
    tbl_bapiparnr-partn_role = 'WE'.
    tbl_bapiparnr-partn_numb = '0000504472'.
    APPEND tbl_bapiparnr.
    ENDFORM. " build_bapi_partners
    *& Form build_bapi_items
    Build The BAPI Line Items
    FORM build_bapi_items .
    DATA: l_matnr LIKE mara-matnr.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = '10000072'
    IMPORTING
    output = l_matnr.
    CLEAR tbl_bapisditm.
    tbl_bapisditm-itm_number = c_item.
    IF g_valid_contract = 'X'.
    tbl_bapisditm-ref_doc = c_contract.
    tbl_bapisditm-ref_doc_it = c_item.
    tbl_bapisditm-ref_doc_ca = 'G'. "Contract
    ENDIF.
    tbl_bapisditm-material = l_matnr.
    tbl_bapisditm-plant = '3012'.
    tbl_bapisditm-target_qty = '5.000'.
    tbl_bapisditm-target_qu = 'M3'.
    tbl_bapisditm-item_categ = 'ZZOC'.
    tbl_bapisditm-sales_dist = '301'.
    tbl_bapisditm-dlv_prio = '02'.
    tbl_bapisditm-prc_group5 = '080'.
    tbl_bapisditm-cust_mat35 = 'kdmat'.
    tbl_bapisditm-route = 'TESYS'.
    tbl_bapisditm-usage_ind = 'CIV'.
    APPEND tbl_bapisditm.
    CLEAR tbl_bapisditmx.
    tbl_bapisditmx-itm_number = c_item.
    tbl_bapisditmx-ref_doc = 'X'.
    tbl_bapisditmx-ref_doc_it = 'X'.
    tbl_bapisditmx-ref_doc_ca = 'X'.
    tbl_bapisditmx-material = 'X'.
    tbl_bapisditmx-updateflag = 'I'.
    tbl_bapisditmx-plant = 'X'.
    tbl_bapisditmx-target_qty = 'X'.
    tbl_bapisditmx-target_qu = 'X'.
    tbl_bapisditmx-item_categ = 'X'.
    tbl_bapisditmx-sales_dist = 'X'.
    tbl_bapisditmx-dlv_prio = 'X'.
    tbl_bapisditmx-prc_group5 = 'X'.
    tbl_bapisditmx-cust_mat35 = 'X'.
    tbl_bapisditmx-usage_ind = 'X'.
    tbl_bapisditmx-route = 'X'.
    APPEND tbl_bapisditmx.
    ENDFORM. " build_bapi_items
    *& Form build_bapi_sched_lines
    Build the BAPI Schedule Lines
    FORM build_bapi_sched_lines .
    CLEAR tbl_bapischdl.
    tbl_bapischdl-itm_number = c_item.
    tbl_bapischdl-req_qty = '1'.
    tbl_bapischdl-req_date = sy-datum.
    APPEND tbl_bapischdl.
    ENDFORM. " build_bapi_sched_lines
    *& Form build_bapi_conditions
    Pull the BAPI Pricing Conditions from the Contract
    FORM build_bapi_conditions .
    LOOP AT tbl_bapisdcond.
    CLEAR tbl_bapicond.
    MOVE-CORRESPONDING tbl_bapisdcond TO tbl_bapicond.
    APPEND tbl_bapicond.
    CLEAR tbl_bapicondx.
    tbl_bapicondx-itm_number = tbl_bapicond-itm_number.
    tbl_bapicondx-cond_st_no = tbl_bapicond-cond_st_no.
    tbl_bapicondx-cond_count = tbl_bapicond-cond_count.
    tbl_bapicondx-cond_type = tbl_bapicond-cond_type.
    tbl_bapicondx-updateflag = 'I'.
    tbl_bapicondx-cond_value = 'X'.
    tbl_bapicondx-currency = 'X'.
    tbl_bapicondx-cond_unit = 'X'.
    tbl_bapicondx-cond_p_unt = 'X'.
    tbl_bapicondx-varcond = tbl_bapicond-varcond.
    APPEND tbl_bapicondx.
    ENDLOOP.
    ENDFORM. " build_bapi_conditions
    *& Form call_create_sales_ord_bapi
    Call the Sales Order Create BAPI
    FORM call_create_sales_ord_bapi .
    CLEAR g_vbeln_created.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
    EXPORTING
    order_header_in = st_bapisdhd1
    IMPORTING
    salesdocument = g_vbeln_created
    TABLES
    return = tbl_return
    order_items_in = tbl_bapisditm
    order_items_inx = tbl_bapisditmx
    order_partners = tbl_bapiparnr
    order_schedules_in = tbl_bapischdl.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = 'X'.
    ENDFORM. " call_create_sales_ord_bapi
    *& Form update_sales_ord
    Update the newly created Sales Order with the Pricing Conditions
    from the Contract
    FORM update_sales_ord .
    CHECK g_valid_contract EQ 'X'.
    PERFORM get_contract_details.
    PERFORM build_bapi_conditions.
    PERFORM call_change_sales_ord_bapi.
    ENDFORM. " update_sales_ord
    *& Form get_contract_details
    Get Contract Details
    FORM get_contract_details .
    Need to manually get the relevant Pricing Conditions as the BAPI
    BAPISDORDER_GETDETAILEDLIST causes problems when we call the BAPI
    BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_SALESORDER_CHANGE (I think
    this is due to the fact that these BAPIs belong to the same Function
    Group and there must be some common structures that are not cleared
    causing us all sorts of grief when we try and call the next BAPI)
    DATA: tbl_konv TYPE STANDARD TABLE OF konv WITH HEADER LINE.
    DATA: tbl_komv TYPE STANDARD TABLE OF komv WITH HEADER LINE.
    DATA: tbl_vbak TYPE STANDARD TABLE OF vbak WITH HEADER LINE.
    Pricing Condition Master
    DATA: BEGIN OF tbl_t685a OCCURS 0,
    kschl LIKE t685a-kschl,
    kaend_wrt LIKE t685a-kaend_wrt,
    END OF tbl_t685a.
    SELECT *
    INTO TABLE tbl_vbak
    FROM vbak
    WHERE vbeln = c_contract.
    READ TABLE tbl_vbak INDEX 1.
    SELECT *
    INTO TABLE tbl_konv
    FROM konv
    WHERE knumv = tbl_vbak-knumv AND
    kposn = c_item.
    CHECK sy-subrc EQ 0.
    We now need to make sure we only bring across the Condition Types that
    are EDITABLE. If we bring across non editable conditions (such as
    'ZPR1') the Change Sales Order BAPI will fail
    SELECT kschl kaend_wrt
    INTO TABLE tbl_t685a
    FROM t685a
    FOR ALL ENTRIES IN tbl_konv
    WHERE kappl EQ 'V' AND "Sales
    kschl EQ tbl_konv-kschl AND
    kaend_wrt EQ 'X' AND "Value is Editable
    kmanu NE 'D'. "Process manually
    Prepare for Binary Search
    SORT tbl_t685a BY kschl.
    LOOP AT tbl_konv.
    READ TABLE tbl_t685a WITH KEY kschl = tbl_konv-kschl BINARY SEARCH.
    IF sy-subrc EQ 0.
    MOVE-CORRESPONDING tbl_konv TO tbl_komv.
    APPEND tbl_komv.
    ENDIF.
    ENDLOOP.
    CHECK NOT tbl_komv[] IS INITIAL.
    Map KOMV into the more BAPI friendly BAPISDCOND structure
    CALL FUNCTION 'MAP_INT_TO_EXT_STRUCTURE'
    TABLES
    fxvbak = tbl_vbak
    fxkomv = tbl_komv
    fxbapikomv = tbl_bapisdcond
    EXCEPTIONS
    entry_missing = 1
    OTHERS = 2.
    ENDFORM. " get_contract_details
    *& Form call_change_sales_ord_bapi
    Call the Change Sales Order BAPI
    FORM call_change_sales_ord_bapi .
    DATA: st_head_chg LIKE bapisdh1x,
    st_logic_switch TYPE bapisdls.
    CHECK NOT g_vbeln_created IS INITIAL.
    CHECK g_valid_contract EQ 'X'.
    st_head_chg-updateflag = 'U'.
    st_logic_switch-cond_handl = 'X'.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
    EXPORTING
    salesdocument = g_vbeln_created
    order_header_inx = st_head_chg
    logic_switch = st_logic_switch
    TABLES
    return = tbl_return_chg
    conditions_in = tbl_bapicond
    conditions_inx = tbl_bapicondx.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = 'X'.
    ENDFORM. " call_change_sales_ord_bapi
    *& Form write_output_report
    Produce Output Report
    FORM write_output_report .
    IF NOT g_vbeln_created IS INITIAL.
    WRITE:/ 'Success! Sales Order', g_vbeln_created, 'was created!'.
    ELSE.
    WRITE:/ 'Failure! Sales Order was not created!'.
    ENDIF.
    SKIP.
    WRITE:/ 'Sales Order Create Log'.
    LOOP AT tbl_return.
    WRITE:/ tbl_return-type, tbl_return-id, tbl_return-number,
    tbl_return-message.
    ENDLOOP.
    SKIP.
    WRITE:/ 'Sales Order Change Log'.
    LOOP AT tbl_return_chg.
    WRITE:/ tbl_return_chg-type, tbl_return_chg-id,
    tbl_return_chg-number, tbl_return_chg-message.
    ENDLOOP.
    ENDFORM. " write_output_report
    *& Form validate_contract
    Make sure that the Contract is Valid
    FORM validate_contract .
    DATA: l_gueen LIKE vbak-gueen,
    l_prsdt LIKE vbkd-prsdt.
    SELECT SINGLE vbakgueen vbkdprsdt
    INTO (l_gueen, l_prsdt)
    FROM vbak
    INNER JOIN vbkd
    ON vbakvbeln = vbkdvbeln
    WHERE vbak~vbeln = c_contract AND
    vbkd~posnr = '000000'.
    IF sy-datum LE l_gueen.
    Contract is valid! Set Order Price Date
    g_valid_contract = 'X'.
    g_cont_price_date = l_prsdt.
    ENDIF.
    ENDFORM. " validate_contract
    Regards
    Rajesh Kumar

  • Item level remark while entering Sales order

    I have entered a remark at item level while entering sales order. How will the user i.e production or quality department will come to know that there is a remark at the item level.
    Now one has to go and check for each and every item for remark.
    Can someone help me out from this.
    Thanks

    The answer to your question is you use sales texts. This is done in IMG-SD-BF-Text determiantion
    In customizing, you can specify which texts are to be used for internal purposes and which are to be used in the sales and distribution forms.

  • BAPIFM to read Sales Order Item Details

    Hello Experts,
    Any idea if there is a BAPI/FM which I can use to retrieve all item details of a Sales Order?
    ~ Vinayak

    Hi
    Kindly check the below  function module
    BAPI_SALESORDER_GETLIST
    Regards
    Damu

  • Customer subscreen on the PO item detail tab ( ME_GUI_PO_CUST)

    I use the BADI  ME_GUI_PO_CUST added customer subscreen ( new TAB) on the PO item detail.  if PO order type is NB ,  the TAB can show both me23n and me22n . if  PO order type is UB  , the TAB can show ME23N , but can't show ME22N .    Please Help, thanks.

    Hi,
    In PBO Logic of whicehver screen is called we can check if sy-tcode = ME22N/23N and hide all the fields/make it display only as per requirement so that user sees an empty screen/display only fields in customer tab ....using
    loop at screen..
    if screen-name = 'XXX' .
    screen-invisible = 1.  for hiding
    screen-input = 0.    for display only
    modify screen .
    endloop.
    Hope it helps
    Regards
    Byju

Maybe you are looking for

  • Repeated crashing and failure to power up

    My Macabook Pro (retina) as started crashing after being in use for ~10 minutes. The entire computer will suddenly power off. Pushing the power button won't restart the computer. Doing a shift-ctrl-opt maneuver followed by the power button usually re

  • Can't see shared photo streams in Aperture

    I have created a number of photo streams and shared them with my wife. My wife has accepted the streams and can see them on her iPhone. She uses Aperture on the Mac but cannot see the streams there. She has the three checkboxes on the photo streams t

  • Mac crashes; Firefox 33.02 FORGETS all tabs (Safari doesn't!)

    MacBook Air (mid-2011), OS 10.10, 4 gig When the Mac crashes - increasingly frequently, sigh - Firefox forgets all open windows and current tabs... which is VERY annoying - especially as Safari DOESN'T. This is so infuriating that I'm about to give u

  • Material document cancellation indicator:

    Dear Friends, How to find the Material document cancelled or not based on the Material-doc number. Is there any  straight forward check or status in the Material document itself. Thanks in advance. RAMAN.

  • Does XE support Bitmap Indexes?

    Hi, I am trying to create a bitmap index in XE and getting the following error: ORA-00439: feature not enabled: Bit-mapped indexes I am guessing this is only available in the enterprise editions of the database or is there some way i can enable this