How to display the output screen when I use bdc.

hey expert,
I want to display the output screen when i use bdc without using mode 'A'.
thank you.

Hi,
You can go for mode 'E'.. it will display the output screen directly and if there is any error in the transaction you would get that particular screen and you can correct and continue after which you will get the final screen if anything goes fine...
check this sample code....
I had a program if you execute below program it automatically creates a new zprogram.
REPORT  zprogram_create_recording.
PARAMETER:
  p_prog    TYPE sy-repid OBLIGATORY,
  p_shtxt TYPE repti OBLIGATORY,
  p_pack  TYPE devclass DEFAULT '$tmp'.
DATA:
  t_bdcdata LIKE
   STANDARD TABLE
         OF bdcdata.
DATA:
  wa_bdcdata LIKE LINE OF t_bdcdata.
REFRESH t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program    =  'SAPLWBABAP'.
wa_bdcdata-dynpro     =  '0100'.
wa_bdcdata-dynbegin   =  'X'.
wa_bdcdata-fnam       =  'RS38M-PROGRAMM'.
wa_bdcdata-fval       =  p_prog.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam       =  'BDC_OKCODE'.
wa_bdcdata-fval       =  'NEW'.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program    =  'SAPLSEDTATTR'.
wa_bdcdata-dynpro     =  '0200'.
wa_bdcdata-dynbegin   =  'X'.
wa_bdcdata-fnam       =  'RS38M-REPTI'.
wa_bdcdata-fval       =  p_shtxt.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam       =  'TRDIR-SUBC'.
wa_bdcdata-fval       =  '1'.
APPEND wa_bdcdata TO t_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam       =  'BDC_OKCODE'.
wa_bdcdata-fval       =  'CONT'.
APPEND wa_bdcdata TO t_bdcdata.
IF p_pack EQ '$TMP'.
*local object
  CLEAR wa_bdcdata.
  wa_bdcdata-program    =  'SAPLSTRD'.
  wa_bdcdata-dynpro     =  '0100'.
  wa_bdcdata-dynbegin   =  'X'.
  wa_bdcdata-fnam       =  'KO007-L_DEVCLASS'.
  wa_bdcdata-fval       =  ' '.
  APPEND wa_bdcdata TO t_bdcdata.
  CLEAR wa_bdcdata.
  wa_bdcdata-fnam       =  'BDC_OKCODE'.
  wa_bdcdata-fval       =  'TEMP'.
  APPEND wa_bdcdata TO t_bdcdata.
ELSE.
*package assignment with request
  CLEAR wa_bdcdata.
  wa_bdcdata-program    =  'SAPLSTRD'.
  wa_bdcdata-dynpro     =  '0100'.
  wa_bdcdata-dynbegin   =  'X'.
  wa_bdcdata-fnam       =  'KO007-L_DEVCLASS'.
  wa_bdcdata-fval       =  p_pack.
  APPEND wa_bdcdata TO t_bdcdata.
  CLEAR wa_bdcdata.
  wa_bdcdata-fnam       =  'BDC_OKCODE'.
  wa_bdcdata-fval       =  'ADD'.
  APPEND wa_bdcdata TO t_bdcdata.
  CLEAR wa_bdcdata.
  wa_bdcdata-program    =  'SAPLSTRD'.
  wa_bdcdata-dynpro     =  '0300'.
  wa_bdcdata-dynbegin   =  'X'.
  wa_bdcdata-fnam       =  'KO008-TRKORR'.
  wa_bdcdata-fval       =  ' '.
  APPEND wa_bdcdata TO t_bdcdata.
  CLEAR wa_bdcdata.
  wa_bdcdata-fnam       =  'KO008-AS4TEXT'.
  wa_bdcdata-fval       =  ' '.
  APPEND wa_bdcdata TO t_bdcdata.
  CLEAR wa_bdcdata.
  wa_bdcdata-fnam       =  'BDC_OKCODE'.
  wa_bdcdata-fval       =  'LOCK'.
  APPEND wa_bdcdata TO t_bdcdata.
ENDIF.                                 " IF P_PACK EQ '$TMP'
CALL TRANSACTION 'SE38' USING t_bdcdata MODE 'E'.
Hope this would help you..
Regards
Narin Nandivada

Similar Messages

  • How to display the output of report(9i) using Report Background Engine

    Hi,
    We are converting the forms and reports from 6i to 9i.
    we could run the report in the browser from form using WEB.SHOW_DOCUMENT built-in, but we are not able to display the report output from form using the Report Background Engine.Let us know if you have any solution for this.
    Regards,
    Pramila.

    Pramila,
    you have to use Reports Server called from RUN_REPORT_OBJECT(). Please see the Reports Integration whitepaper on otn.oracle.com/products/forms. You can either look it up in the Forms 10g collateral seciton or the Forms 9i collateral section.
    Frank

  • How to display the selection screen fields for selected checkboxes

    Hi all,
             I have 7 checkboxes, for each check box we have some seletion screen fields.if i select first check box,i want to display first slection screen fields only.
    and if we select more than one check box how to display the selection screen fields for selected check boxes,please help me this
    Thanks
    sriman.

    hi,
    Try this code
    report z_13317_sdn2.
    tables : mara, marc, dd03l.
    parameters : p_chk1 as checkbox user-command ABC,
                 p_chk2 as checkbox user-command PQR,
                 p_chk3 as checkbox user-command XYZ.
    select-options : s_matnr for mara-matnr modif id A,
                     s_ersda for mara-ersda modif id A,
                     s_werks for marc-werks modif id B,
                     s_lvorm for marc-lvorm modif id B,
                     s_tab for dd03l-tabname modif id C.
    data: v_chk1,
          v_chk2,
          v_chk3.
    at selection-screen output.
      loop at screen.
        if screen-group1 = 'A' or
           screen-group1 = 'B' or
           screen-group1 = 'C'.
            screen-input = 0.
           modify screen.
        endif.
      endloop.
      loop at screen.
        if v_chk1 = 'X'.
          if screen-group1 = 'A'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
        if v_chk2 = 'X'.
          if screen-group1 = 'B'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
        if v_chk3 = 'X'.
          if screen-group1 = 'C'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
      endloop.
    at selection-screen.
      if sy-ucomm = 'ABC'.
        if v_chk1 = ' '.
          v_chk1 = 'X'.
        else.
          v_chk1 = ' '.
        endif.
      endif.
      if sy-ucomm = 'PQR'.
        if v_chk2 = ' '.
          v_chk2 = 'X'.
        else.
          v_chk2 = ' '.
        endif.
      endif.
      if sy-ucomm = 'XYZ'.
        if v_chk3 = ' '.
          v_chk3 = 'X'.
        else.
          v_chk3 = ' '.
        endif.
      endif.
    Regards,
    Sailaja.

  • HTML Client: How to display the edit screen of an item given its ID?

    To edit a selected item, I could easily add a new button on the command line and choose the existing method, "editSelected"
    But how to edit another item instead of the selected item? Like How to edit an item whose ID # is 10? i.e How to display the edit screen for an item with ID # 10?

    The methods such as 'editSelected' apply to screen property collections. Picking these pre-selected options automatically configure the parameter as '<my-collection>.selectedItem'.
    If you want an action not directly related to the screen properties then you can choose one of the screen commands under the 'Navigation' list starting with 'show', as in 'show<my-screen-name'. If the screen command accepts parameters then you can
    configure the parameter passing manually. In your example, if you added a local 'int' data property to the screen you could assign the ID to that and bind the parameter passed to the screen to that.
    In the instances when not even that is sufficient, well then you write your own custom method.
    Dave
    Dave Baker | AIDE for LightSwitch | Xpert360 blog | twitter : @xpert360 | Xpert360 website | Opinions are my own. For better forums, remember to mark posts as helpful/answer.

  • How to display the selection screen with icons as well as with text element

    How to display the selection screen with icons as well as with texts (written in text elements) for PlantDate, OrderType,WareHouse..

    Report zex33.
    type-pools: icon.
    selection-screen begin of line.
    selection-screen comment 1(20) text_001.
    parameters: p_werks type marc-werks.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text_002.
    parameters: p_whouse(10).
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(20) text_003.
    parameters: p_auart like vbak-auart.
    selection-screen end of line.
    initialization.
      write ICON_PLANT  as icon to text_001.
    concatenate text_001 text-001 into text_001 separated by space.
      write ICON_WAREHOUSE  as icon to text_002.
    concatenate text_002 text-002 into text_002 separated by space.
      write ICON_ORDER  as icon to text_003.
    concatenate text_003 text-003 into text_003 separated by space.

  • How to access the Text Frame, when we use scrollable frame,

    Hi Friends,
    How to access the Text Frame, when we use scrollable frame,
    Thank you,
    [ Nav ]

    That's the same question:
    how can I access something (a page item) on a page…
    Answer: you need something unique in that object you can get a handle on.
    Or you use the selection a user of your script is doing and work with that selection…
    A "scrollable frame" is nothing special. What it makes it a "scrollable frame" is the DPS software.
    So you have to look for attached labels on the object, that identify the object for the PDS plug-in "Overlay Creator" as a "scrollable frame". That's possible with the "extractLabel("KeyString")" function. But you need to know the appropriate key-string in advance.
    In another of your thread in the DPS forum, I basically answered the question how to obtain those key-strings.
    When knowing the key-string you could loop through all your page items (you can skip all text frames) in the allPageItems-collection, to identify the "scrollable frame" by extracting the right label.
    If you have more than one "scollable frames" you need a second unique identifier for the particular object.
    That could be nearly any property.
    Keep in mind, there is no "scrollableFrames" collection in the DOM !
    Uwe

  • Display the Welcome screen when Photoshop CC starts up?

    I have researched and found lots of incidences where people want to keep the Welcome screen from displaying but I am want it to display and it will not.
    The checkbox under Edit>Preferences>General that says "Do Not Show Welcome Screen on Launch" is unchecked. I have tried checking that box saving, then unchecking saving again and restarting Photoshop. I have tried uninstalling Photoshop twice, once saving my preferences, the second time discarding my preferences and re-installing. Still no Welcome screen at launch. I have read that there is an option under Help>Welcome... to reopen the Welcome screen. I do not see that option and believe that is on the Mac only.
    By the way the Welcome screen opens/works perfectly in Illustrator CC 2014.
    I am running a Windows 7 PC with the latest version of Photoshop CC 2014.
    Anyone have any ideas?
    Thanks!

    I believe you have an installation problem.  Others have had problems  with the Welcome Screen and I had a problem after the 15.2.2 update.  Others were not able to Play the video tutorials from the welcome window.  Photoshop seems to use CEPHtmlEngine.exe to display the Welcome screen.  The CC 2014.2.2 update installed on my machine without a problem.  CC 2014 worked and I had turned off the welcome screen.  However I did not have the new Photoshop CC 2014 preference Do not show Welcome Screen on launch and when I tried to use menu Help>Welcome I received a popup error stating Photoshop could not start the plug-in because it was not signed.  The way I was able to fix this problem was to download the direct CC 2014 installer and install CC 2014 on top of the CC 2014 currently insall.  CC 2014 installed and was installed activated and after I used menu Help>Update  to get CC 2014 up to CC 2014.2.2 all worked my Add-ons and preferences were still there.  However if I start CC 2014 and immediately try to open the Welcome screen I will get the pop-up your getting Welcome Dialog not installed. But when I click OK and try menu Help>Welcome a second time it works.  The new Preference Do not show Welcome Scree on launch is there and I can set it there or from the welcome screen option.

  • How to maintain, the validity internal when we use non commulative key figu

    Hi Friends,
    I would like to check, I've created query on Inventary infocube, when we trying to execute the report, I'm getting the following error.
    The validity internal has the initial value as lower limit
    Generally, How we will maintain validity internal when we use non cumulative key figures.
    Can anybody have some idea about this.
    Siri

    You need to maintain the validity period on which your stock can be calculated. The user will see special values when asking for stock outside this period (don't remember the special value).
    It can be a fixed period (in a first step, I will recommend that). For instance : from 01.01.1000 to 31.12.9999. Thus you will never have any error.
    It can also be a dynamic period (generally linked to the last data load).
    Regards,
    Fred

  • How to display the Output messages on LabVIEW

    Hi,
    I'm building a simple user interface on LabVIEW and I have the following question:
     - TestStand has an Output Tab where I display some messages using Engine.OutputMessage; How can I do the same thing on my UI?
    I've attached a printscreen of my TestStand sequence as an example of what I want do do on LabVIEW.
    I apreciate all the help.
    Thanks in advance.
    Regards,
    Daniel Coelho
    Daniel Coelho
    VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
    Controlar - Electronica Industrial e Sistemas, Lda
    Attachments:
    TS PrintScreen.JPG ‏137 KB

    Sorry, from your post in the LabVIEW board I did not understand that it was the Output message that you were looking for.
    I thought you wanted the results from your test steps displayed on the user interface. 
    It is the “Output Panel” in the sequence editor that displays your output message, but I do not know if there is default Output panel activeX indicator for user interface that the TestStand engine would update automatically like it does the execution view.
    Maybe someone else knows 
    As also pointed out, the UI messages is your other option.
    The Output Message event number is 40 
    http://zone.ni.com/devzone/cda/epd/p/id/3879
    UIMsg_OutputMessages–(Value: 40) TestStand sends this message at periodic intervals when it holds references to output messages that calls to the OutputMessage.Post method queue. TestStand transfers the queued messages to an OutputMessages collection attached to the UIMessage.ActiveXData property for this event. An application that processes output messages should copy the output message references from the collection in UIMessage.ActiveXData to its own private OutputMessages collection by passing its private collection to the OutputMessages.CopyMessagesToCollection method. An application calls the Engine.NewOutputMessages method to create a private OutputMessage collection. TestStand generates this event only if the Engine.OutputMessagesEnabled property is True. Because there can be more than one handler for this event, the application should not modify the OutputMessages collection the UIMessage.ActiveXData property holds.
    Omar
    Message Edited by OmarGator on 10-09-2008 10:12 AM

  • How to display the master TOC when using Context help in a merged document

    I use Robohelp 10. I have created a large Merged Webhelp project and I have set out the project master with nothing in it other than merged projects place markers.
    This is the layout of the generated projects etc.
    Generate
              Master.htm
                   Redirect.htm  (Home page is a redirect to Project 1 Home Page - not in TOC)
    mergedProjects
              Project1
                  Home Page.htm
              Project2
                   Redirect.htm  (Home page is a redirect to Project 1 Home Page - not in TOC)
              Project3 etc.
                    Redirect.htm  (Home page is a redirect to Project 1 Home Page - not in TOC)
    I can get the help to work great when I call up the master page, which shows the TOC for the whole project and the default home page. And from the breadcrumb the home link goes to the home page and shows the Main TOC
    However when I call a page using context help ID I get a single frame with the selected page. The link to show the TOC shows the TOC but it is the top of the merged project and not the master TOC. The home link in the does display the home page but again the displayed TOC is the one of the current merged project.
    The question is :
    How can I get the Master TOC to show all the time regardless of what page I call using a context ID or how can I create a link that will take me back to the Master TOC?
    I remember when I created a previous help file for chm output I had to modify all the ali files in order for the redirect to work throught the master chm. Surely this is not the case with webhelp?
    TonyC

    I am sorry that I didn't get back to all you guys that took to answering my very promptly. Unfortunately I was not in a position to answer to the suggestions made. as I was away from my computer which had Robohelp on.
    Anyway, I did try a couple of scripts mentioned, but didn't really have any success i achieving what I need to do.
    I set up a redirect which redirected to the main home page. I tried setting the home page in a  main sub-project - so the redirect when from any sub project
    Generate
         Master-project.htm (Home Page = Help_Welcome.htm)
    merged Projects
    SubProject1
                [Home Page =  home_redirect.htm (a redirect see below) ]
         SubProject 2
                [Home Page =  home_redirect.htm (a redirect see below) ]
         SubProject 3
                [Home Page =  home_redirect.htm (a redirect see below) ]
    home_redirect.htm  (a redirect use by sub-topics)
    <!--
       window.location="../../ Help_Welcome.htm ";
    //-->
    //]]></script>
    This setup works fine as long as I call the master page. The TOC is as I would want. However if I call an ID from my application I get the required page to display and I can get the TOC to show. The problem is that the TOC is from the current sub-project and not the master project as I would want.

  • How to display the current name when renaming Finder item

    Is there any way to get Automator to display the current name of a Finder item when renaming an item?
    I want my users to be able to copy and rename a folder template but I want to display the folder template's current name as a default in the renaming dialogue window, so the user follows the correct naming format.

    Since you've already hacked into it, if you've got developer tools installed, it is most likely in the nib file that is in the English project folder in the Resources.
    I don't know what further implications that will have on the app in general, though.
    If you are a little adept at applescript, you may want to create your own Applescript Studio app to do this instead of Automator. Also, take a look at Platypus to make a wrapper around you applescript instead of AS Studio.
    Message was edited by: Barney-15E

  • How to display the variable screen with report in the same page together

    our customers want to design a web application use BEx
    they want the variable screen can be displayed with the report result in the same web page together
    so they can modify the variable filters any time and refresh the report with new variable filter
    i have tried the navigation area,but it seems only use new filter to the data athough get,we can't change the filter we input in the variable screen.
    is there any way to display these together?
    even I can use BSP.

    I think to display var screen with the report is not possible.(At least it will not be static). You need to refresh the report and choose the varibale at that time.
    Other option could be to bring all the possible value in the report and provide your user with the filter value. But this will make your report slow as you may have to bring more data in the filter.
    Thanks...
    Shambhu

  • How to display the output of a reports called from forms in the same window

    Hi all.
    I have installed Forms / Reports 11g Rel2 developer only installation on my windows 7 box.
    I can successfully call a reports from forms using RUN_REPORT_OBJECT and WEB_SHOW.document, but the report is opened in a new window.
    I'd like to open it in the same widow, in a new tab, similar to ctrl-t and make a call.
    How is that possible?.
    I'm using Chrome 25.0. Could this be done through browser settings?.
    Thanks in advance ...!
    Edited by: myluism on 14-mar-2013 6:09

    Don't know for Chrome, so Google for it.
    One more thing, though. what is the 2nd parameter in web.show_document? Is it '_blank'? If not, try that.

  • How to display the Current Date on page using ADF Components

    Hi,
    Is there any way to display the system date on a page developed using ADF Components.
    I am thinking of writing the java code to display the date. Just wanted to check is there any pre-defined component of ADF that I can make use of.
    Could anyone tell me how to do this using ADF components?
    Thanks in advance.
    Sivaji....

    Please refer the below link.
    Prompt  with  default  date   (  currentdate-1  and current date-8)
    http://www.dagira.com/2008/07/15/how-can-i-make-today-my-default-prompt-value/
    http://www.dagira.com/2008/07/21/using-a-magic-date-value-in-prompts/
    Regards,
    Bilahari

  • Why the pages 09 can't display the tool bar when I use the full vision?

       I have found that the numbers and the keynote always show the tool bar on the top, but pages can not,when I use the full screen.

    BL,
    Contrary to mende1's experience, I do not see the Toolbar in Fullscreen mode, even when accessing the Menu and Format lines by moving the cursor to the top of the screen.
    I guess that the designers figured that you may not want the toolbar to come down in what is a minimalist mode. A design choice that you can object to, if you wish, by submitting Feedback from the Pages menu.
    Jerry

Maybe you are looking for