Wd abap - successfull save

Hello,
Is there a quick workaround to display a message when successful changes to a screen were made?
I can create a transparent container with image and text but does WD ABAP have a build in component for this?
Thanks.

Hi,
Use <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/6c/7aae42cd7fb611e10000000a155106/frameset.htm">IF_WD_MESSAGE_MANAGER</a> Check Re: MessageManager (WD for ABAP)
Best regrads, Maksim Rashchynski.

Similar Messages

  • On success of form save I want to go to another for with a detail where clause

    I have the follow code snippet which is intented to go to a form on a successfull save. I query some data based on the save then build a url to navigate to a new form. I want the form to show only data that is lacking in one column not being populated (column is null). The url works, but the form detail where clause is ignored. Does anyone have any experience with passing detail where clauses to a form? Did I miss something in the code below?
    begin
    select count(rl_id) into n_rl_id_cnt
    from rfq_lines
    where part_part_id is null and rh_rh_id=n_rh_id;
    exception
    when others then
    null;
    end;
    htp.p('cnt '||to_char(n_rl_id_cnt));
    if n_rl_id_cnt>0 then
    htp.p('cnt >1');
    my_url := 'PORTAL30.wwa_app_module.link?' ||
    'p_arg_names=_moduleid&p_arg_values=3677858481' ||
    '&p_arg_names=_show_header&p_arg_values=YES' ||
    '&p_arg_names=rh_id&p_arg_values=' || LTRIM(TO_CHAR(n_rh_id)) ||
    '&p_arg_names=_rh_id_cond&p_arg_values=%3D'||
    '&p_arg_names=_detail_where_clause&p_arg_values=part_part_id%20is%20null'; -- <this is not working right. where clause is ignored.
    htp.p(my_url);
    go (my_url);

    Hi Jeffrey ,
    You need to use a custom Format script for the field.
    Regards
    Sukrit Dhingra

  • Activate Cube using ABAP

    Hi
    We have written some ABAP which allows us to do bulk updates on cubes - this is particularly useful when we're adding / removing navigational attributes, as there are many many cubes in the system.
    In addition to adding the navigational attribute, the ABAP then saves and activates the cube, and all the associated update rules, which would now have become inactive. This is really useful, as it means we don't have to have someone manually making all these changes, and possibly missing something along the way.
    However, what we have now found, is that although the cube is activated, and is shown as active in RSA1, and can be used in Multiproviders, the newly added Navigation Attributes are not available in the Aggregate Maintenance screen. This also means that any aggregates that were there, are now not available, which is clearly not ideal.
    The 2 standard SAP FM's that are used to SAVE and ACTIVATE the cubes are:
    1. RSDG_CUBE_SAVE
    2. RSDG_CUBE_ACTIVATE
    We have found a manual fix to the problem, which is to open the cube in edit mode from RSA1, save it, go back to RSA1 (don't activate yet), re-open the cube in edit mode, then activate. If these steps are followed, then the navigational attribute is available in the aggregate maintenance screen.
    I found a note which speaks about table /bic/v[cube name]2 not being updated, but that note only applies to APO. What I have noticed, is that:
    - when the navigational attribute is added, it appears in the table
    - if the manual fix (open/save/exit/open/activate) is followed, then the order of the items in the V2 table is changed
    Has anyone written a similar program that I could possibly leach some ideas off, as I really would like to get this sorted.
    Cheers,
    Andrew

    RSDG_CUBE_ACTIVATE - as mentioned in my original post, I already use this FM in my ABAP. It activates the cube, but still the navigational attributes are not available, and the V2 table is not updated.
    If I debug the SAVE routine from RSA1, then it appears there is something additional happening in the SAP standard program, that I am not able to accomplish by using the RSDG_CUBE_SAVE FM.
    Transfer Structures - doesn't matter whether I activate these or not, the navigational attributes are not available.
    Cheers,
    Andrew

  • Process chain failed with Error-Status Change of Process ABAP ZL321NIMIMUUT

    Hi,
    process chain got failed with Error --**Status Change of Process ABAP ZL321NIMIMUUT
                                                                   Save Status and Trigger Events if Appropriate**

    Hi Neha,
    When we do the repeat after right click then we are getting this messege"--**Status Change of Process ABAP ZL321NIMIMUUT
    Save Status and Trigger Events if Appropriate**"
    I have come to know that there is one ABAP programe when we go to manage varient.
    ABAP Programme"ZBWR_ZMYYNNINOH_CSV_CHANGE"

  • Holding state in a jcd how to do it but not in a dirty way ...

    hi *,
    we do have the following setup (simplified):
    3 appservers in 3 datacenters running all the same jcds.
    ICAN 505 setup (no eInsight) and or CAPS V6
    till today we were in the lucky position that we did not need to hold any state in jcds and had no problem with holding it. in the last view weeks more than one requirement was formed to implement which reqquires us to hold state in JCD's.
    use case:
    "get all new datasets in database a from table TAB_A to our ERP legacy system b into TAB_B with max delay of 10 minutes (in non error cases)"
    solutions:
    SOL1) always sync everything --> leads to performance issues since dataset is larger than 1k and there are ~ 10 000 000 of them.
    SOL2) build a jcd that remembers what has been last read and always transfer deltas
    problems:
    we do have 3 appservers (do not share disk) that should somehow share state now...
    any suggestions or design ideas?
    how have you guys solved similar issues?
    OUR approach would be:
    make a service "stateConfigurationService" on each of the appservers which retrieves the state from a db and is able to write the state on the db. the services which use the stateconfigservice can decided whether they want an exclusive lock on the state or not.
    if they do an exclusive lock on the state the state can only be written and unlocked from the service (identified by service name).
    if they dont simultaneous changes can overwrite the other services running on other appservers.
    the state is represented on a blob or varchar field in an db that can be e.g. marshalled from a custom OTD (in complex cases) or a simple property object (java standard).
    1) jcdWorker -> retrieve config (with optional exclusive LOCK) by immediate request reply and timeout of 10 secs -> jcdStateService
    2) if above was successfull do work if not terminate
    3) if work was successfull save state by calling --> store state (with optional unlock exclusive lock) by immediate req repl and to 10 min -> jcd Stateservice
    4) stop working
    any inputs appreciated!
    regards chris

    International Support - Verizon Wireless

  • Error while activating field exit

    hi all
    while activating field exit iam getting error
    like system is not configuted for field exit
    solution is Set the abap/fieldexit parameter to YES in the system profile and restart your SAP system
    then in which tcode  i can set the parameter
    thanks in advance

    1)Login to R/3
    2)Tcode RZ10
    3)Select instance profile
    4)click extended maintenance
    5)change
    6)Add parameter
    7)Abap/fieldexit -> save and activate the changes.
    Then restart you r/3 system.

  • Report RSHTTPPIN output only to screen

    Hi all,
    if i look to the report RSHTTPPIN the output is only to see on screen in HTML.
    But I need the data of response body in an abap to save the data in a z-table.
    Is there anyone how can help me.
    Thanks
    Angelika

    Welcome to SDN.
    after the method
    call method http_client->receive
      exceptions
        http_communication_failure = 1
        http_invalid_state         = 2
        http_processing_failed     = 3.
    you have to call the following method to get the resposne data.
    wf_string = http_client->response->get_cdata( ).
    Regards
    Raja

  • A technique problem about integration on sap and pos equipment

    hi~everyone
       I have two questions to need  every's friend help.
       (1) I have some business data,i want to create the idoc file by ABAP and save   
            the idoc file to application server.
       (2) The external system create a idoc file and send it to sap application server,
            i want to read the idoc file and create a invoice by idoc message .
      I want to come true the function hereinbefore,what should i do ? give some code
       or cues please ,thank you evey much !

    Hi,
    IDOCs are used to direct communicate between two systems, sometime there may be a middleware(like XI) involved.
    Why do you want to save the data to applications server then?
    Regards,
    Atish

  • Can anyone plz tell me the steps for performance tuning.

    hello friends
    what is performance tuning?
    can anyone plz tell me the steps for performance tuning.

    Hi Kishore, this will help u.
    Following are the different tools provided by SAP for performance analysis of an ABAP object
    Run time analysis transaction SE30
    This transaction gives all the analysis of an ABAP program with respect to the database and the non-database processing.
    SQL Trace transaction ST05
    The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.
    The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on the SPFLI table in our test program is mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.
    The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.
    To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use.
    Need for performance tuning
    In this world of SAP programming, ABAP is the universal language. In most of the projects, the focus is on getting a team of ABAP programmers as soon as possible, handing over the technical specifications to them and asking them to churn out the ABAP programs within the “given deadlines”.
    Often due to this pressure of schedules and deliveries, the main focus of making a efficient program takes a back seat. An efficient ABAP program is one which delivers the required output to the user in a finite time as per the complexity of the program, rather than hearing the comment “I put the program to run, have my lunch and come back to check the results”.
    Leaving aside the hyperbole, a performance optimized ABAP program saves the time of the end user, thus increasing the productivity of the user, and in turn keeping the user and the management happy.
    This tutorial focuses on presenting various performance tuning tips and tricks to make the ABAP programs efficient in doing their work. This tutorial also assumes that the reader is well versed in all the concepts and syntax of ABAP programming.
    Use of selection criteria
    Instead of selecting all the data and doing the processing during the selection, it is advisable to restrict the data to the selection criteria itself, rather than filtering it out using the ABAP code.
    Not recommended
    Select * from zflight.
    Check : zflight-airln = ‘LF’ and zflight-fligh = ‘BW222’.
    Endselect.
    Recommended
    Select * from zflight where airln = ‘LF’ and fligh = ‘222’.
    Endselect.
    One more point to be noted here is of the select *. Often this is a lazy coding practice. When a programmer gives select * even if one or two fields are to be selected, this can significantly slow the program and put unnecessary load on the entire system. When the application server sends this request to the database server, and the database server has to pass on the entire structure for each row back to the application server. This consumes both CPU and networking resources, especially for large structures.
    Thus it is advisable to select only those fields that are needed, so that the database server passes only a small amount of data back.
    Also it is advisable to avoid selecting the data fields into local variables as this also puts unnecessary load on the server. Instead attempt must be made to select the fields into an internal table.
    Use of aggregate functions
    Use the already provided aggregate functions, instead of finding out the minimum/maximum values using ABAP code.
    Not recommended
    Maxnu = 0.
    Select * from zflight where airln = ‘LF’ and cntry = ‘IN’.
    Check zflight-fligh > maxnu.
    Maxnu = zflight-fligh.
    Endselect.
    Recommended
    Select max( fligh ) from zflight into maxnu where airln = ‘LF’ and cntry = ‘IN’.
    The other aggregate functions that can be used are min (to find the minimum value), avg (to find the average of a Data interval), sum (to add up a data interval) and count (counting the lines in a data selection).
    Use of Views instead of base tables
    Many times ABAP programmers deal with base tables and nested selects. Instead it is always advisable to see whether there is any view provided by SAP on those base tables, so that the data can be filtered out directly, rather than specially coding for it.
    Not recommended
    Select * from zcntry where cntry like ‘IN%’.
    Select single * from zflight where cntry = zcntry-cntry and airln = ‘LF’.
    Endselect.
    Recommended
    Select * from zcnfl where cntry like ‘IN%’ and airln = ‘LF’.
    Endselect.
    Check this links
    http://www.sapdevelopment.co.uk/perform/performhome.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/afbad390-0201-0010-daa4-9ef0168d41b6
    kindly reward if found helpful.
    cheers,
    Hema.

  • Navigating back causes problem

    Hello,
    I'm new to Window Phone 8.1 app development. i've deveeloped my app almost to all but at 1 point i'm Experiencing a weird problem.
    before starting, i'm making my problem scenario.
    say, I have about 4 pages. P1 (Start page), P2 (Listing), P3(Criteria), P4(Transactional).
    All these pages are made through NEW Basic page.
    NOw, i start the the app > P1 shows > goto P2 > by button _Click event > goto P3 [Frame.Navigate(typeof(P3), obj);]
    all these navigation is done something like this: [Frame.Navigate(typeof(P3), obj);]
    (i.e. by passing something in parameter)
    Here, i choose one of the criteria to goto P4. P4 is transactional page so, i make a transaction and
    on successfull save, i go back to P2 which
    shows currently saved transaction in the list and MessageDialog, which notify about "New Transaction added!".
    If i press the Back button, i should go back to P1, to my DASHBOARD but, unfortunately, i
    go back to the P4(i didnt decide to goto P4, Back button led me there), 
    Again i press Back Button, P3 comes (atleast now it should go to P1) but P3 comes. Again i press Back Button > P2 comes with message "New Transaction Added" 
    Conclusively, i want to make path something like:
    P1 (Dashboard) > P2 >P3 > P4 > [Transaction save, now frame.Navigate(typeof(p2))] > P2 [back Button Press] > P1 (Dashboard)
    And what i'm getting is : 
    P1 (Dashboard) > P2 >P3 > P4 > [Transaction save, now frame.Navigate(typeof(p2))] > P2  [back Button Press] > P4 [back Button Press] P3 [back Button Press] > P2
    > P1 (Dashboard)
    The navigationHelper in each page, i didnt even touched its methods except
    Load_State handler.
    I guess i'm missing something but what? i don't know.
    this is bit urgent. Kindly help me follow through right direction.
    Thanks..

    Hi
    Whenever you navigate from page to page there is backstack that stores the pages that you had navigated.
    So Backstack-> [p1->p2->p3] p4 this when you reach p4 . So saying back from here it will behave like Stack Last in first out. the last one entered will be show. so back from P4 will show p3
    The solution to this is to remove these enteries from backstack. If you can put this code in onNavigated of p4 so that once navigated it will remove all until the p1 page. It should work well. 
    while (NavigationService.CanGoBack && !(NavigationService.BackStack.FirstOrDefault().StartsWith("/p1.xaml") ))
         NavigationService.RemoveBackEntry();
    You can read more on this
    https://msdn.microsoft.com/en-us/library/windows/apps/hh394012(v=vs.105).aspx
    Regards
    Varun Ravindranath Please 'Mark as Answer' if my post answers your question and 'Vote as Helpful' if it helps you.

  • Jobs for Va05 in CSV or Xls format

    Hi Experts
    VA05 -List of Sales Order should be executed every 9:00 pm I am asking you if it is possible to create a scheduled job to create displayed query in "csv" or "excel" format.
    Thanks in advance

    Dear Friend,
    Generally we use SM36 (Background Jobs) for Scheduling Back Ground Jobs for ABAP Programs & save the output into .csv or Excel files.
    Please check with your ABAPer whether we can schedule Standard SAP programs like SAPMV75A (VA05) in SM36...
    Hope this helps...
    Thanks,
    Jignesh Mehta

  • Save the output of the abap report to local file in the pc

    Hi ALL,
    In my ABAP Report I am having a internal table with final data, right now I am moving that data to al11. but now I want to save that data in local PC as the file format given in the selection screen before executing the report.
    CAn any one say how to do this or suggest me how to proceed please.
    Ravi

    Hi Ravi,
    You can use the function module GUI_DOWNLOAD to store in a file on PC.
    CALL FUNCTION 'GUI_DOWNLOAD'
       EXPORTING
            filename         = file_path
            filetype         = 'ASC'
    *       APPEND           = 'X'
            write_field_separator = 'X'
    *       CONFIRM_OVERWRITE = 'X'
       TABLES
            data_tab         = it_finaltab     "need to declare and populate
       EXCEPTIONS
            file_open_error  = 1
            file_write_error = 2
            OTHERS           = 3.
    Regards,
    Chandra Sekhar

  • Error 1003 occurred at ABAPI Dist Chg and Save VIs.vi

    I used to be able to build executable file for my application. However when I upgrade to LV8 and try to build executable file, I got the following message.
    Error 1003 occurred at ABAPI Dist Chg and Save VIs.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -> EBUIP_Build_Invoke.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  The VI is not executable.
    The vi is perfectly executable in LV enviroment.
    Anyone know what's going on?
    Thanks in advance!

    DGU,
    Unfortunately this is a known bug in LabVIEW 8.0.1. Our R&D department is well aware of the issue and is currently working on the problem. In the mean time there are some possible work arounds
    Check the "Enable debugging"option in the "Advanced Category" of the application executable properties.
    Disable the "Remove Panel" option for all SubVIs containing Shared Variables in the build
    Try Unchecking the "Disconnect type definitions and remove unused polymorphic VI instances" options also in the Advanced category of the executable properties as shown in the attached figure.
    Move shared variables to the top level VIs and pass the data through the SubVI connector
    Downgrade to LabVIEW 8.0.
    I apologize for the problem. Please let us know if these suggestions help out. Thanks!
    Best Regards,
    Chris C
    Applications Engineering
    National Instruments
    Chris Cilino
    National Instruments
    LabVIEW Product Marketing Manager
    Certified LabVIEW Architect
    Attachments:
    1.gif ‏1 KB

  • How to save the data of ABAP report into a notepad in desktop location???

    HI all,
    Can any one tell me how to transfer the data of ABAP report into a Notepad.
    Actually I have to schedule a ABAP report in background on daily basis and I want to transfer the
    whole record into Notepad.
    If any program is available for this..please clearify the relevent code for transferring.
    Thanks
    Rajeev

    declare a character type internal table.
    now move your data from it_data ( internal table with data ) into table itab.
    since you are running this report in background, you cannot save it to the desktop. Instead give any app server location
    data: itab(400) occurs 0 with header line.
    field-symbols: <fs1> type any.
    data: gv_file type rlgrap-filename default 'TEST.TXT'.
    data: gv_filepath type rlgrap-filename default <path>.
    LOOP AT it_data.
        DO 100 TIMES.
          ASSIGN COMPONENT sy-index OF STRUCTURE it_data TO <fs1>.
          IF sy-subrc = 0.
            CONCATENATE itab <fs1> INTO itab SEPARATED BY ' '.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
        SHIFT itab LEFT DELETING LEADING ' '.
        APPEND itab.
        CLEAR itab.
      ENDLOOP.
      concatenate gv_filepath '/' gv_file into gv_file.
      OPEN DATASET gv_file FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc = 0.
        LOOP AT itab.
          TRANSFER itab TO gv_file.
        ENDLOOP.
        CLOSE DATASET gv_file.
      ENDIF.

  • ABAP Simple Transformation - How to save XML to file with CL_FX_WRITER?

    Hello!
    When calling a Simple Transformation program for transformation from ABAP to XML, it is possible to specify RESULT XML rxml as a class reference variable of type CL_FX_WRITER, which points to an XML writer.
    How to handle CL_FX_WRITER in order to save XML to a file?
    Thanks and regards,
    Andrey

    Hallo Rainer!
    Many thanks. I have checked the profile parameter ztta/max_memreq_MB and it is set to 2048 MB in the development system. I hope, that won't be less on the client's machine. The only thing I did not clearly explained, is that I need to write XML data to the server. I am so sorry. Downloading to the local PC is very helpful for me also, but only for the test purposes.
    Regards,
    Andrey

Maybe you are looking for

  • Calling different Applications w/o having to enter login info again.How ?

    Hello, we have created several apex applications that are in different workspaces. Each application has it's own custom authentication process and a login form. Now we want to have a central login form, from which user can login and be able to visit

  • Importing web project into Workshop 9.2

    Hi, I'm trying to import an existing web project into Workshop 9.2.1 from my Subversion source. Unfortunately Workshop doesn't recognize this project as a valid web project. I imported the code project using 'File>Import>Existing Projects' into Works

  • How can i get my iphone, from the disable mode

    how can i get my iphone 3gs, out of the disable mode?

  • Calling method from another class problem

    hi, i am having problem with my code. When i call the method from the other class, it does not function correctly? import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class Dice extends JComponent    

  • Issue with viewing website in internet explorer

    Hello.  I created a website in dreamweaver using rollover images for the links.  When I load the webpage in the firefox, google, or opera browsers it loads fine, however when I load it in internet explorer I get an "allow activex" message.  When I tr