Hide bdc okcode popup screen in tthe processing

HI all,
I am calling the bdc call transaction from report.At that time bdc okcode come along with popup screen.How i have to hide popup screen.but the bdcokcode fiel;d should be passed to commnad field.Then only the next screen will be coming.
My requirement is all screen mode,because after running the report ,depends on the selected entry i am going to show the some sap inherent screen to user.its working fine.but i dont need the popup screen,the bdc ok code available in popup screen as well as command field .I need only in command field only.i have seen command field technical properties.But it shows no tables and data elements.
thanx,
raja

Hi Raja,
This should help you
CALL TRANSACTION <tcode>
                       USING  <bdc_data_table>
                       MODE   <A/E/N>
                       UPDATE <S/A/L>
                       MESSAGES INTO <message_table>.
   MODE -> mode of transaction
           A - interactive
           E - Screen only on Error
           N - Background
   UPDATE -> udate for transaction
             S - Synchronous
             A - Asynchronous
             L - Local
Regards,
Reema.

Similar Messages

  • I am not able to close the popup screen which i created using module pool

    Hi,
    I had written the following code in my PBO of the screen
    PROCESS BEFORE OUTPUT.
    MODULE status_0300.
      MODULE call_list_0300.
    PROCESS AFTER INPUT.
      MODULE exit AT EXIT-COMMAND.
    MODULE USER_COMMAND_0300.
    *&      Module  call_list_300 OUTPUT
    MODULE call_list_0300 OUTPUT.
      LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
      SET PF-STATUS '300'.
      SUPPRESS DIALOG.
      PERFORM get_document_text.
    ENDMODULE.
    *& FORM get_document_text.
    FORM get_document_text.
    ENDFORM
    when i execute... since the screen is directed to list processing, when i click the close button the popup window is not getting closed
    what should i do to close the list processing screen

    If your screen is popup screen than your PF-Status must be type of "Dialog Box".
    Than you will get the buttons at the bottom part of your pop-up which will allow you to interact with your PAI.
    Regards,
    Naimesh Patel

  • Set PF status in popup screen

    Hi ,
    I m creating a ALV report ,in that using set PF status i created push button , in alv output list if i click the push button pop up screen will come in that popup screen it displays the previous PF status, how to add my own PF status in that popup screen
    thanks

    Hi,
    You must have created other screen for the pop up say suppose 9002.
    then we need to write the code in 9002 PBO.
    *&      Module  STATUS_9002  OUTPUT
    *       text
    MODULE status_9002 OUTPUT.
      SET PF-STATUS 'ZNOT3'.
      SET TITLEBAR 'ZTNOT3'.
    ENDMODULE.                 " STATUS_9002  OUTPUT
    Here 'ZNOT3' is is the PF STATUS that ius made according to our need.
    It is recommend that you copy standard status'STANDARD' from function group SALV and modify it accordingly. ALV standard function codes always start with '&'.
    Hope this will help you.
    Thanks,
    Dhanashri.

  • Popup screen not working after upgrade to APEX 3.0

    Hi,
    I have upgraded my APEX installation from version 1.6 to version 3. My application has some popup screens that are displayed when a user presses a button. These popups have now stop working and when you press them, the user is presented with the login page.
    I suspect this is because I am not passing the SESSION value in the URL when the page is displayed. The following code is the javascript that is called from one of the buttons :-
    function sa_popup2() {
    var field_value = document.getElementById("f22@0").value;
    if ( document.getElementById("f22@0").value != "" ) {
    var enqNo = document.getElementById("P17_ENQUIRY_NO") ? document.getElementById("P17_ENQUIRY_NO").value : -1;
    var enqLineNo = wwv_flow.f02[0].value;
    var str=document.getElementById("P17_PROCESS_CHRG_INCL").value;
    var outstring = str.replace(/%null%/,"");
    windowAddress = 'f?p=200:228:::::P228_CUS_ID,P228_ENQ_STATUS,P228_PROCESSING_CHRG,P228_ENQUIRY_NO,P228_ENQUIRY_LINE_NO:'+document.getElementById("P17_CUS_ID").value+','+document.getElementById("P17_ENQ_STATUS").value+','+outstring + ',' + enqNo + ',' + enqLineNo ;
    w = open(windowAddress,"winhelp","Scrollbars=1,resizable=1,width=500,height=350");
    You can see from the above that when the windowaddress variable is set it does not include the session value. In APEX 1.6 when the popup is displayed the SESSION is automatically populated in the URL, but in APEX 3 it is not populating.
    Is there a way I can get this to continue working without changing my javascript function. This approach has been used throughout my applications, and I do not want to have to change the code if I don't need to.
    Rgds
    Paul

    Hi Paul,
    Yes, as you suspect, it's the fact that you're not passing the session across. I would definitely recommend recoding to include the session.

  • How to pass field value from popup window to oninput processing of other pg

    Hi,
    I want to pass a field value from the popup window to oninput processing of main page ( from where popup window is triggered). and need to close the popup window. How to do it ?
    In the popup window's oninputprocessing, im doing some validation checks. If it passes all the validations, then only the control shd come to main page ..else it should stay in popup window only .
    Regards,
    Jothi.

    Hi Jothi,
    you can use java script to pass the value and close your popup window. use the following code.
    in your popup window:
    function passData(h1)
             window.opener.document.getElementById('var1').value = h1 ;
             window.close();
    then call this function when you finish your validations.
    in your main page layout create an input field with id as passed in the function above "var1".
    In the value attribute give it your variable as follow:
    <htmlb:inputField id      = "var1"
                              value   = "<%= var2 %>"
                              visible = "false" />
    "var2" will be assigned the value from your popup window.
    I hope this will help you..
    Regards,
    Husain

  • Add new field in the Create Support Message Popup Screen

    Hi Experts,
    I need to create Project Code Field in the standard popup screen Create Support Message
    Suggest me any Badi or FM or Bapi or Enhancement to create a new field and update the field value to the Support Message created.
    Please let me know if this is possible or not?
    Thank You,
    Sowjanya Sreekrishna

    Dear Abhijit
    Even after doing PGI, there are some fields which are in editable mode in delivery.  For example, in VL02N, if you select "Goto --> Header --> Shipment, you can see fields like Bill of Lading are in editable mode.
    If you specify what your requirement is, then probably, a better option can be given.
    Thanks
    G. Lakshmipathi

  • On my new iPhone, at the Apps store, I tried to make a purchase, the popup screen shows my Apple ID and asks for my password, but no keyboard appears so that I can enter the password.  How do I get the keyboard to appear??

    On my new iPhone, at the Apps store, I tried to make a purchase, the popup screen shows my Apple ID and asks for my password, but no keyboard appears so that I can enter the password.  How do I get the keyboard to appear??

    On your iPad, delete the existing account then sign back in with the new ID and password.

  • Data is not saving in to DB from POPUP screen.

    Hi,
    I am opening a popup screen on button click and On the popup screen, I have added the VO as form with submit button.
    On the popup fetchlistener, I calling a bean method to invoke the createInsert action as follows.
    public String createSubs() {
    System.out.println("Inside Action Event*********************");
    try{
    AdfFacesContext adf = AdfFacesContext.getCurrentInstance();
    BindingContainer bc = getBindings();
    oracle.binding.OperationBinding opb = bc.getOperationBinding("Create");
    opb.execute();
    }catch(Exception e){
    e.printStackTrace();
    return "";
    public BindingContainer getBindings() {
    return BindingContext.getCurrent().getCurrentBindingsEntry();
    When I am clicking on submit button in popup screen, data is appearing on the mainpage table but the same is not saving in the database. One more I have observed that doDML is not calling means SOP's are not comming from doDML method in the entity class.
    Please do the needful, its an urgent issue to reslove.
    Thanks in Advance,
    user5802014

    HI,
    Can you please specify that for your attributes CreatedBy and CreationDate , are you using automatic insert value from your entity or not? Or you are passing default values programatically in doDML() method.
    I guess for every new row your are using User name for CreatedBy field and current date for CreationDate field,
    Why don't you set these field at the time of creation of new row, Override Create() method in your entity bean and then you can set these fields to there default values. and now you should remove Mandatory property to unchecked for these fields in entity also.
    like i'm doing here - I'm setting sequence number as default to field insertedLineNo
        protected void create(AttributeList attributeList) {
            SequenceImpl seq = new SequenceImpl("NUMBER_SEQ", getDBTransaction());
            Number seqNum = seq.getSequenceNumber();
            setInsertedLineNo(seqNum);
            super.create(attributeList);
        }Hope this will help you, and let me know if this helps you.
    Fizzz...

  • I am working with Acrobat XI and when I try to add text to geopdf file I get a popup screen that says this is a secured document and editing is not permitted. How do I fix this?

    I am working with Acrobat XI and when I try to add text to a geopdf file I get a popup screen that says this is a secured document and editing is not permitted. How do I fix this?

    I figured it out...needed to use comment tool set, not the editing tool set.

  • I reinstalled acrobat pro 9.0 on windows 7 Ultimate 64, it installed OK, When I open i get a large white popup screen which i cannot close... what to do?

    I reinstalled acrobat pro 9.0 on windows 7 Ultimate 64, it installed OK, When I open i get a large white popup screen which i cannot close... what to do?

    Hey jeroenb16613921,
    Please specify exactly when you get this white popup screen. While opening a PDF or launching Acrobat by double-clicking on the Acrobat icon.
    If it comes when opening a PDF, then where is this PDF actually stored?
    Let me know more on the same so that I can analyze the issue.
    Regards,
    Anubha

  • Call transaction in the popup screen

    hi friends . ı want to call transaction in the popup screen.
    what do ı do ?
    thanks.

    to call a transaction in the popup screen
    can u give me one scenerio
    because
    try this
    create a program of type report
    in that "call screen '100' starting 10 10 ending at 100 100.
    and u click on this 100  and make the layout what ever u want
    and just go to se93 create transaction for this report program
    thats it
    if it ok
    then ur problem is solved
    or else it is not solved

  • Popup screen with two check box and a text area for the user to enter value

    hi,
    i have a requirement when a button is clicked a popup screen should appear with two check box and a text box where the user can enter a value.
    is there any function module which has that functionality

    Hello,
    You can create a new screen and select the screen type as <b>model dialog box</b>.This will give you a<b> pop-up screen</b> and you can call this model dialog box screen in the PAI of the screen where the button is present.(At user-command).
    <b>case ok_code.
    when 'BUTTON'.
    call screen 200 starting at 10 10.</b>
    You can design the PBO of this pop-up screen as per your needs.
    Regards,
    Beejal
    **Reward if this helps.

  • BDC on Selection Screen report

    Hi Experts,
    Is there any norm of NOT using BDC for selection screen reports? Please share your experience if someone had used it and faced issues later.
    Thanks,
    Chirantan

    Hi Chirantan ,
    I would advice you to use submit report option instead of BDC.
    First capture your selection screen parameters into a selection_table and fill it with suitable data .
    Use submit report and there you go......... report is executed.
    ALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
                EXPORTING
                  CURR_REPORT               = 'ZREPORT'
    *         IMPORTING
    *           SP                        =
                TABLES
                  SELECTION_TABLE           = LT_SELSCREEN
    *           SELECTION_TABLE_255       =
    *         EXCEPTIONS
    *           NOT_FOUND                 = 1
    *           NO_REPORT                 = 2
    *           OTHERS                    = 3
              IF SY-SUBRC <> 0.
    * Implement suitable error handling here
              ENDIF.
    * Fill LT_SELSCREEN
              LOOP AT LT_SELSCREEN INTO LW_SELSCREEN.
                CASE LW_SELSCREEN-SELNAME.
    *           WHEN OTHERS.
                ENDCASE.
              ENDLOOP.
                SUBMIT ZREPORT
                      USING SELECTION-SCREEN 1000
                WITH SELECTION-TABLE LT_SELSCREEN
                AND RETURN .
    Regards ,
    Yogendra Bhaskar

  • Need help on POPUP screen  in web ui

    Hi Experts,
    I have created popup screen in the eh_onsave method .Now it is triggering, in this popup it is displaying YES, NO and CANEL buttons. But i want to change the standard buttons descriptions. how to do ?
    I have created custom buttons and displaying as  ACCEPT, REJECT AND CHANGE on the popup screen. if I click any button on the popup is returning same event id, i have seen in debugging custo_btn .
    below is my code.
    ls_button-id = 'ACCEPT'.
      ls_button-text = 'Accept'.
      ls_button-on_click = 'ACCEPT'.
      ls_button-on_select = 'ACCP'.
      append ls_button to lt_buttons.
      clear ls_button.
      ls_button-id = 'REJECT'.
      ls_button-text = 'Reject'.
      ls_button-on_click = 'REJECT'.
      append ls_button to lt_buttons.
      clear ls_button.
      ls_button-id = 'CHANGE'.
      ls_button-text = 'Change'.
      ls_button-on_click = 'CHANGE'.
      append ls_button to lt_buttons.
      clear ls_button.
      call method comp_controller->window_manager->create_popup_2_confirm
        exporting
          iv_title          = 'Vary Item Proposal'
          iv_text           = lv_text
          iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_custom
          iv_custombuttons  = lt_buttons
        receiving
          rv_result         = gv_confirm_popup.
      gv_confirm_popup->set_on_close_event(  iv_view = me
                                             iv_event_name = 'CONFIRM_POPUP_CLOSED' ).
      gv_confirm_popup->open( ).
    ethod EH_ONCONFIRM_POPUP_CLOSED.
    Added by wizard: Handler for event 'CONFIRM_POPUP_CLOSED'
    INCLUDE: crm_object_types_con.
    DATA: lv_answer TYPE string.
    lv_answer = GV_confirm_popup->get_fired_outbound_plug( ).
    CASE lv_answer. "Here i am getting the same id for any button.
    WHEN cl_gs_ptc_bspwdcomponent_cn01=>co_event_yes.
    WHEN cl_gs_ptc_bspwdcomponent_cn01=>co_event_no.
    WHEN OTHERS.
    ENDCASE.
    Please help me.
    Thanks,
    Venky

    Hi Venky
    Try to Implement the below lines along with other lines while building the button, apart from that check ON_CLIENT_CLICK also (instead of on_click use the on_client_click)
    ls_button-enabled = 'X'.
    More over I checked your code in the CASE statement you are using the stanadrad constants like co_event_yes , but you are setting the event with other names pls check that also.
    now your code will look like this
    ls_button-id = 'ACCEPT'.
    ls_button-text = 'Accept'.
    ls_button-enabled = 'X'.
    ls_button-on_client_click = 'ACCEPT'.
    ls_button-on_select = 'ACCP'.
    append ls_button to lt_buttons.
    clear ls_button.
    hope this helps.
    Thanks & Regards
    Raj
    Edited by: bmsraj on Sep 21, 2011 7:06 PM

  • BDC: Table Control Screen Resolution

    Hi Abapers,
    1.In BDC while handling table control , how to handle screen resolution , that means in some systems i can see 5 item entries , in some systems i can see 10 item entries how to handle this , can u  send the Code relating this.
    With Regards
    Bhaskar Rao.M

    hi
    The numeber of lines of table control for BDC depend on screen resolution, but It can't be managed by program.
    So the better solution is to create a bdc doesn't depend on resolution.
    It can do that using always the first two lines of table control.
    When you start the simulation, first record has to be placed in first line of tc and the second in second one.
    Before placing the third record, it needs to place the second record to the top and so the third record can be placed in the second line.
    Before placing the next record, it needs to place the third record to the top and so the fourth record can be placed in the second line and so.
    In this way your BDC'll use alwways the first two lines of tc and your program won't depend on resolution.
    The problem is the transaction you need to simulate by BDC has to have a scroll functionality to allow to place the last record was elaborated to the top of tc, so the second line of tc can always be used to place the new record.
    If there isn't this functionality, it's better to use a BAPI instead of BDC.
    check these two
    BDC - standard screen resolution required?
    https://forums.sdn.sap.com/click.jspa?searchID=739193&messageID=823953
    reward points if found helpful

Maybe you are looking for

  • How to expand multi-line fields in pdf forms?

    I have a FormsCentral PDF form, which allows users to fill out the form and save as a PDF. However, after receiving the completed forms, I am unable to see all the text in the multi-line field boxes without opening them and scrolling down. Since I wi

  • ME21N restriction by material types

    Hi We would like to restrict ME21N access by material type. I believe this is possible  by turning on the authorisation check in  SU24 for ME21N transaction for authorisation object M_MATE_MAR and once the relevant material types are maintained throu

  • Icon tag in jnlp file

    Hello all. I've been trying to include a custom icon with my web start application by using the <icon href="/images/camera.gif"> tag in the jnlp file. The image is included in the .jar file properly and then in the .war file, but the default web star

  • New to sql

    hi i started learning sql some time ago and have got some expertise over it but when i try to run accept command it does not work on my 8i personal and when i install 8i enterprise on my win 2k NT it ask for net8 host name please help me over it and

  • Percentage Adobe RGB

    Im looking for a new monitor - I have a 17in MacBook Pro and an 8way Mac pro. I do color critical work (photography) This all looks really nice, but does anyone know anything about the % of the Adobe RGB colorspace that this supports? Anything about