Custom screen using BBP_CUF_BADI

Hi,
I am trying to call a custom screen using implementation of BADI, BBP_CUF_BADI.
I have written the following code in the implementation of the PUT_DATA method.
EV_REPID = 'Z_SCREEN'.
EV_DYNNR = '8888'.
The screen is not displayed. Also if you could tell me if the displayed screen will have the look and feel of GUI screen or the look and feel will be similar to the SRM screen in the web?
Thanks,
Mick

Hi Yann,
John is doing a call screen in code. But when you do that you start a different memory process. Also with the code that I have written in the badi
EV_REPID = 'SAPLZCUST_SCREEN'.
EV_DYNNR = '8888'
the PBO of the screen gets executed but the screen is not displayed.
Please help!!!!!
Thanks,
Mick

Similar Messages

  • Custom screen in BBP_CUF_BADI

    Hi,
    I know that this topic was discuss a million time on the forum, but I still didn't get how to put my customer fields in customer screen.
    I append the structures as it's describe oss note 458591 and 672960 and use badi bbp_cuf_badi.
    Everything is fine.
    Now i want those fields to be display in a cutomer screen with its own template. So I create a function group where i add 2 function module: one for the put_data method and the second for the get_data method. I also create 2 screens in the Function group.
    Now how I call thoses screens? simply by a "call screen" command?
    thanks for the help,
    joseph fryda
    Message was edited by:
            joseph fryda

    hola -
    did you figure this out?  here is some other posts around this, but also the SAP documentation in SPRO for that BADI (depending on the release) is pretty good as well. 
    Other Posts:
    Custom screen
    Using BBP_CUF_BADI to display custom screens
    thanks for the other points earlier.
    stirfry...today is 'chicken'

  • Customer screen using BADI :  ME_GUI_PO_CUST

    Hi
    I am implementing BADI : ME_GUI_PO_CUST to create custom screen at item level.
    Pls tell me the steps to be followed to get custom screen using BADI
    Thanks
    Vinay.

    Hi Vinay,
    go to transaction SE18, then enter your BADI.The in menu go to Goto -> Sample Code -> Display. You will see example of implementation of this BADI. All these examples are very well commented. Basically you will have to create your own function group with your new screen and call this screen from methods of BADI.
    Cheers

  • Custom Screen using BADI seen in ME23N, ME22N Display, but not in ME21N

    Hi,
    I have developed a custom screen for purchase order using badi ME_PROCESS_PO_CUST and ME_GUI_PO_CUST.
    But, its not visible in ME21N, whereas its dipalyed in ME23N, ME22N .
    Please advise.
    Thanks,
    Shivaa....

    In TC CMOD you can create a new proyect and use the component MEREQ001 with this component you can see adicional tab in those TC.

  • How to get a field description on custom screen used in enhancement

    Hi all,
             I am working with transaction cj20n. It is having an enhancement and a custom screen is used in it. I have modified the screen by adding a text label ahead of field FUND. I want to get the description of that field on that text label. How can i achieve this? I have the table field where the description is available. How to get it on the screen?
    Thanking you in advance.

    When you refer your field to the DD table field, the domain will contain the text, it will automatically fetch the description. But you can also Hard code them since its a label in the screen.
    Regards,
    Anita

  • Custom screen using MB_MIGO_BADI  in MIGO transaction

    Using MB_MIGO_BADI i have cretaed a subscreen in MIGO transaction.WHen i select a particular item in MIGO transaction that particulra item value,i have to get into my custom code to make some validations.In which method i have to use set& get parameters.

    Hi sashi,
    Check the pbo and pai of that screen.
    Regards,
    Madhu.

  • Add customer fields using BBP_CUF_BADI

    Hi,
    I am trying to add my own subscreen to PO Item screen.
    In order to do that I created a Function Group and assigned my screen to it. the screen contains a push button.
    In order to display my screen at the PO item I used the
    PUT_DATA method of badi BBP_CUF_BADI to export to the standard program the name of my function group and the number of the screen via the EV_REPID and EV_DYNNR export parameters of the method.
    What I need to do next in order to display my screen;
    Do I need to create an HTML template or set some other parameters?
    The system is working on the Extended Classical Scenario.
    Thanks for your help,
    Eyal.

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Exit customized screen

    Dear gurus,
    i have one problem here. I am using the BADI 'ME_PROCESS_REQ_CUST' to perform a checking of PR before save.
    When user click 'Save', i will direct them to one customized screen using Function Module which i call screen 100.
    In the screen, i have one button 'Cancel' to cancel the transaction. i would like to go back to the PR screen and display an error message 'PR not created'. But when i click on the 'Cancel' button, it calls back to this screen (screen 100) instead of the PR screen. Please guide me.
    I have the below code:
    In customized function module to call screen
    CASE OK_CODE.
    WHEN 'CANCEL'.
            EXPORT ok_code TO MEMORY ID 'ANS'.
            LEAVE SCREEN.
    IN BADI function module
      CALL FUNCTION 'ZFM_CAPITALISED_Q'.
      IMPORT ok_code TO to_ok_code FROM MEMORY ID 'ANS'.
      IF to_ok_code EQ 'CANCEL'.
        MESSAGE ID 'ZMSG' TYPE 'E' NUMBER '000' WITH 'PR not created'.
      ENDIF.
    Thanks,
    Starry99

    solved

  • Implemented BADI to add custom screen to VD02 - how to get data to fields?

    hi..
    i have implemented CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS to add a new screen to Customer Master maintenance tcodes.
    When I run VD02 (for example), I get my button and when I click it, my new screen with new fields show up.
    I need to be able to select from a custom table based on the current KUNNR and populate those fields with data for the user.
    I created the custom screen using a Module Pool program - so this does give me PBO/PAI but I don't have access at that point to my S_KNA1 & other structure info that is contained in the BADI which I need.
    How do I pass data to those fields?
    thanks in advance.
    rp.

    At the point you are clicking 'your' button you could export the structures containing the needed data to abap memory. once in your new screen pbo you may import from abap memory.
    do make sure that your development is hit only for the document type and other usage parameters by putting enough filters before the screen call- else this can slow down quite a few things in SD.

  • Print Current screen ( Dailog custom screen)

    Hi Experts,
       I have urgent requirement lilke ,I have dovelped one Custom screen using SE51 and Screen no : 9001,9002.
    When user enters values in the current screen and then he will select the Print options from the standard tool bar which i activated and when i select that print options it should pring the current screen which i develoloped ,,very urgent experts and gr8 helpfull to me,,,,,
    Pls see below code which i was written ,,it is not print the screen...
       CALL FUNCTION 'GET_PRINT_PARAMETERS'
            EXPORTING
              report                 = sy-repid
              mode                   = 'CURRENT'
              immediately            = 'X'
              user                   = sy-uname
            IMPORTING
              out_archive_parameters = arc_params
              out_parameters         = params
              valid                  = l_valid
            EXCEPTIONS
              archive_info_not_found = 1
              invalid_print_params   = 2
              invalid_archive_params = 3
              OTHERS                 = 4.
    Pls suggest me or how to print the current screen and send a code........
    Venkat

    I don't know whether u can achieve it through programming or not but
    If u want to print the screen in ur PC's window printer then press "Customizing of local Layout (Alt + F12)" button . Then press Hard Copy  from the pop up window...if ur printer settings are correct then it will print ur screen in the Window's local printer.
    Regards,
    Joy.

  • Using BBP_CUF_BADI to display custom screens

    I am using BBP_CUF_BADI to display my customer screen on the Shopping Cart Item Screen. How do I pass data to my custom screen? I would like to display my CUF fields, I would like the data from the standard fields on the Shopping Cart line item. Any help would be appreciated.

    Hi Jagathi,
    You'll name the FM as you want.
    The pupose of these 2 FM is to exchange data between the BADIs methods and the Function Group (with global data of the FG).
    The 1st FM is to be called from the PUT_DATA method of the BADI, to send data to the Function Group (FG global data): for example items and/or header and iv_mode, ...
    The 2nd FM is to be called from the GET_DATA method of the BADI to get the result of the subscreen (CUF changes).
    Hope you'll get it all.
    Vadim

  • Using BBP_CUF_BADI to display custom screen in bid Invitation

    Hello Everyone,
    I have a requirement of enhancing Process Bid Invitation,  adding customer fields.
    I hv added the fields but I want to change the layout of added customer screen.
    I tried to implement BBP_CUF_BADI, but it doesnt seem to work.It still shows the field one below the other.
    I hv also read notes 458591 and 672960.
    I would like to hv step by step instructions of steps to be followed.
    Thanks in advance for the help. Please revert ASAP.
    Regards,
    Kunal

    Hello, BBP_CUF_BADI is used to handle the vizualization of the customer fields, i.e. with BBP_CUF_BADI you can decide if you want a field to be displayed and if it has the read-only attribute, customer fields are displayed using a table control, the layout of the customer fields is rendered using a template that expands the line of the control table and map those fields with a name-value logic.
    If you want to customize the layout of the screen you will have to rewrite the templates contained in the internet service BBPCUF.
    Regards, Luciano.

  • Custom Infotype - Using Table control in the screen.  IN OM

    Hi,
    I am having a requriement where in I need to create a custom infotype using table control in the screen. I have to create this in OM and I am using PPCI transaction to create the info type. I am able to create the infotype with fields but not table control. Please let me know if any one of you came across and help me with the process I need to follow.
    Thanks in advance.
    Venkat.

    Hello,
    After you create the info type throug PPCi, you can directly go to the Sceen module program created automatically while creating Info type and edit the screen.
    activate it after your changes.
    Regards,
    Srujan.

  • Added custom screen in PO using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST

    Hi All,
    I have added custom screen with two z fields at item level using BADI ME_GUI_PO_CUST and ME_PROCESS_PO_CUST i can see my screen in tcodes ME21N , ME22N , ME23N but I am not able to save data.
    and also screen is coming in change mode even in ME23N .
    thanks.

    Hi,
    I have added two xfields at item level.
    This is the code i have added in zimplementation ZME_GUI_PO_CUST .
    IN Zimplementation ME_PROCESS_PO_CUST I have added code only in method FIELDSELECTION_ITEM . after doing this I can see only screens in ME21N, ME22N, ME23N but when enter data in zfields and trying to save it is giving me message no data has changed.
    method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE.
    DATA: ls_subscriber LIKE LINE OF re_subscribers.
    we want to add a customer subscreen on the item detail tab
      CHECK im_application = 'PO'.
      CHECK im_element     = 'ITEM'.
    each line in re_subscribers generates a subscreen. We add one subscreen in this example
      CLEAR re_subscribers[].
    the name is a unique identifier for the subscreen and defined in this class definition
      ls_subscriber-name = subscreen1.
    the dynpro number to use
      ls_subscriber-dynpro = '0001'.
    the program where the dynpro can be found
      ls_subscriber-program = 'SAPLYMEPOBADIEX'.
    each subscreen needs his own DDIC-Structure
      ls_subscriber-struct_name = 'MEPO_BADI_STRUCT'.
    a label can be defined
      ls_subscriber-label = text-001.
    the position within the tabstrib can be defined
      ls_subscriber-position = 4.
    the height of the screen can be defined here. Currently we suport two screen sizes:
    value <= 7 a sevel line subscreen
    value > 7  a 16 line subscreen
      ls_subscriber-height = 7.
      APPEND ls_subscriber TO re_subscribers.
      ENDIF.
    method IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_MODEL.
      DATA: l_item       TYPE REF TO if_purchase_order_item_mm,
            ls_mepoitem  TYPE mepoitem,
            ls_customer  TYPE mepo_badi_exampl.
    system asks to transport data from the business logic into the view
      CASE im_name.
        WHEN subscreen1.
    is it an item? im_model can be header or item.
          mmpur_dynamic_cast l_item im_model.
          CHECK NOT l_item IS INITIAL.
    transport standard fields
          ls_mepoitem = l_item->get_data( ).
    transport customer fields
          CALL FUNCTION 'YMEPOBADIEX_GET_DATA'
            EXPORTING
              im_ebeln = ls_mepoitem-ebeln
              im_ebelp = ls_mepoitem-ebelp
            IMPORTING
              ex_data  = ls_customer.
    store info for later use
          MOVE-CORRESPONDING ls_mepoitem TO dynp_data_pbo.
          MOVE ls_customer-badi_bsgru TO dynp_data_pbo-badi_bsgru.
          MOVE ls_customer-badi_afnam TO dynp_data_pbo-badi_afnam.
        WHEN OTHERS.
      ENDCASE.
    endif.
    method IF_EX_ME_GUI_PO_CUST~TRANSPORT_TO_DYNP.
      CASE im_name.
        WHEN subscreen1.
          CALL FUNCTION 'YMEPOBADIEX_PUSH'
            EXPORTING
              im_dynp_data = dynp_data_pbo.
        WHEN OTHERS.
      ENDCASE.
    ENDIF.
    endmethod.
    method IF_EX_ME_GUI_PO_CUST~TRANSPORT_FROM_DYNP.
      CASE im_name.
        WHEN subscreen1.
          CALL FUNCTION 'YMEPOBADIEX_POP'
            IMPORTING
              ex_dynp_data = dynp_data_pai.
          IF dynp_data_pai NE dynp_data_pbo.
    something has changed therefor we have to notify the framework
    to transport data to the model
            re_changed = mmpur_yes.
          ENDIF.
        WHEN OTHERS.
      ENDCASE.
    ENDIF.
    endmethod.
    method IF_EX_ME_GUI_PO_CUST~TRANSPORT_TO_MODEL.
    DATA: l_item       TYPE REF TO if_purchase_order_item_mm,
            ls_mepoitem  TYPE mepoitem,
            ls_customer  TYPE mepo_badi_exampl.
    data have to be transported to business logic
      CASE im_name.
        WHEN subscreen1.
    is it an item? im_model can be header or item.
          mmpur_dynamic_cast l_item im_model.
          CHECK NOT l_item IS INITIAL.
          ls_mepoitem = l_item->get_data( ).
    standard fields changed?
         IF dynp_data_pbo-matkl NE dynp_data_pai-matkl OR
            dynp_data_pbo-plifz NE dynp_data_pai-plifz OR
            dynp_data_pbo-webaz NE dynp_data_pai-webaz.
    update standard fields
           ls_mepoitem-matkl = dynp_data_pai-matkl.
           ls_mepoitem-plifz = dynp_data_pai-plifz.
           ls_mepoitem-webaz = dynp_data_pai-webaz.
            CALL METHOD l_item->set_data( ls_mepoitem ).
         ENDIF.
            CALL FUNCTION 'YMEPOBADIEX_GET_DATA'
              EXPORTING
                im_ebeln = ls_mepoitem-ebeln
                im_ebelp = ls_mepoitem-ebelp
              IMPORTING
                ex_data  = ls_customer.
            ls_customer-badi_bsgru = dynp_data_pai-badi_bsgru.
            ls_customer-badi_afnam = dynp_data_pai-badi_afnam.
            CALL FUNCTION 'YMEPOBADIEX_SET_DATA'
              EXPORTING
                im_data = ls_customer.
         ENDIF.
        WHEN OTHERS.
      ENDCASE.
    ENDIF.
    method IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM.
    DATA: l_persistent TYPE mmpur_bool.
    CONSTANTS:
    FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.
    l_persistent = im_item->is_persistent( ).
    *IF l_persistent EQ mmpur_yes.
    READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY
                         metafield = MMMFD_YYMAN_NUM."fd_cust_01.
    IF sy-subrc IS INITIAL.
    <fs>-fieldstatus = '*'. " Display <-- this one was as per the sample code given.
    <fs>-fieldstatus = '+'. " Input <-- this i added to make the field mandatory.
    ENDIF.
    READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY
                         metafield = MMMFD_YYMAN_DES."fd_cust_01.
    IF sy-subrc IS INITIAL.
    <fs>-fieldstatus = '*'. " Display <-- this one was as per the sample code given.
    <fs>-fieldstatus = '+'. " Input <-- this i added to make the field mandatory.
    ENDIF.
    *ENDIF.
    ENDIF.
    endmethod.

  • Navigate from portal custom screen - how to use OBN?

    Hello,
    We need to navigate to an SRM document in display/change mode when the document number is clicked in the portal on a custom screen/custom webdynpro.
    I am trying the following OBN navigation methods, but it is not working yet: 
    call method lo_portal_manager->navigate_to_object (lo_portal_manger is an object of type if_wd_portal_integration)
    call method lo_navigation_service->launch_target (lo_navigation_service is an object of type  /sapsrm/if_ch_wd_navi_serv)
    Any thought or ideas on how I can do this?
    Thanks,
    Zack

    "i have a brand new 24" iMac G5 "
    No such computer. You have an Intel iMac. Intels & G5 are 2 different models.
    You will need to repost over in the Intel-based iMac Forums
    http://docs.info.apple.com/article.html?artnum=301724-en How to identify your iMac
    http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh355.html Getting information about your computer

Maybe you are looking for