Accessing the run time data of processed output types in VA02

Hello All,
I have to write a code to make entriesin the Ztable when the user processes the output tpe in the VA02 transaction. How I can know that user has attached a new output type for that order?
I am writing my code at the save button of the VA02 tcode in the exit: userexit_save_document.
I checked for the Xnast, ynast, inast entries. But none of them store the current data of the processing of output types screens.
Please help.,
Thanks in advance
Rgds,
Madhuri

data :it_xnast  like vnast OCCURS 20 WITH HEADER LINE,
        it_x1nast like vnast OCCURS 20 WITH HEADER LINE.
  field-symbols :
            <Fs1> type ZSDTT_VNAST,<Fs2> type ZSDTT_VNAST .
  data: wa_xnast type vnast, wa_x1nast type vnast.
         assign ('(SAPLV61B)XNAST[]') TO <fs2>.
         assign ('(SAPLV61B)VNAST[]') TO <fs1>.

Similar Messages

  • Run time data binding via FormCalc/JavaScript+wrong text formating

    Hello Everybody
    I need to print a text block with company details depending on company code (different details for different codes). I tried to use this code for event "calculate":
    if ($record.LS_HEADER.BUKRS == "1000") then
    $ = $record.COMP_DETAILS_1000
    elseif ($record.LS_HEADER.BUKRS == "1000") then
    $ = $record.COMP_DETAILS_2000
    endif
    $record.COMP_DETAILS_1000, $record.COMP_DETAILS_2000 are elements from the form context which are linked to textmodules.
    This code works and it prints correct textmodules for different company codes. But the printed text is not formated like text in the textmodules. The most important thing here is that these texts are always printed as a single long string and I need paragraphs like in the textmodules. It's a problem... If I use a statical binding (without FormCalc programming) the text modules will be printed with correct formating.
    Using of checkbox "Allow Multiline Lines" hasn't helped here...
    Have you any idea how should I do the run time data binding?
    Thank you very much in advance!

    Hello,
    the important part is "If I use a statical binding (without FormCalc programming) the text modules will be printed with correct formating." That means you can get the text in the shape you want. Just do that. Get all the texts. Next use the JS/FC scripting to hide all but one text. You get only one text to display and you use static binding to get the proper text format.
    Hope this helps, Otto

  • Can we load and unload the files in the run time?

    Can we load and unload the files in the run time?
    For example there are four files named "test1.h & test1.c" and another set "test2.h & test2.c" (I attached them as attachment to this post).
    test1.h contains code:
    int variable; //variable declared as integer
    test1.c contains code:
    variable = 1; //variable assigned a value
    test1.h contains code:
    char *variable; //variable declared as string
    test1.c contains code:
    variable = "EXAMPLE"; //variable assigned a string
    So here, in this case can I dynamically load / unload the first & second group of files so that the same variable name "variable" can be used both as integer and string? And if yes, how is that to be done?
    Solved!
    Go to Solution.
    Attachments:
    test.zip ‏1 KB

    What do you mean by "dynamically"?
    If you want to have a variable that either is an int or a char in the same program run, I'm afraid your only option is to define it as a variant and assign from time to time the proper data type in the variant according to some condition. Next, every time you access the variable you must firstly check which data type is stored in it, next access it in the proper way.
    If on the other hand your option or to have a run in which the variable is an int, next you stop the program and in a following run it is a char, you may have it by using some appropriade preprocessor clause:
    #ifdef  CHAR_TYPE
    #include "test1.h";        // variable defined as a char
    #else
    #include "test2.h";        // variable defined as int
    #endif
    Next, every time you want to access the variable you must proceed in the same vay:
    #ifdef  CHAR_TYPE
      variable = "string";
    #else
      variable = 1;
    #endif
    Does it worth the effort?
    Additionally, keep in mind that this "dynamical" approach can work only in the IDE, where you can properly #define your CHAR_TYPE or not depending on your wishes: when you compile the program, it will have only one #include depending on the definition of the macro.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Creation of Daemon for the DTO  for the real time data aquisition

    Hi i need help how to create a daemon for the DTP in the real time data aquisition.i'm learning now Sap and practicing a lot to be professional but i need a bit of hel.Can you please give me some details how to create it?
    I have to access the RSRDA T-code and what i need to do after?

    Hi First of all you need to create a real time DTP once that is done go to RSRDA T-code and click on the Create Daemon
    and right click assign DTP , here you can assign the DTP once that is done save and execute . your Daemon will run
    Thanks
    Santosh

  • [Urgent!!]How to control the running time??

    Hi,
    I'm an undergraduate researcher in the University of Michigan. I used NI labVIEW FPGA on my current project and now i meet a problem.
    I have a labview code that has runs with 3 subroutines. they execute one after another for a given time period for each iteration of the entire code. that is i built them in a flat sequence structure inside a large while loop and each of the subroutine is a while loop with several subvi's in it. not that complicated but i have to specify how long each subroutine runs. now i have a problem to set that execution time. i don't know exactly what kind of timing function i shall use. i tried the "Elapsed time" function but that only works for the first iteration. from the second iteration on each subroutine only runs for once, instead of continuing to run until the given time elapsed. so i don't know how to correctly control the running time. It's reallly urgent, so could you please give me some suggestions about it? Thanks a million!!
    Xiaofei

    Thank you for your suggestion!
    sorry but that this method won't help because my code is sort of difficult to put into a for loop .
    the logic is like this: first the output is set to 0 for a user-defined amount of time (means no excitation). secondly it gets excitation and gets output but no data saving is allowed for a user-defined amount of time. at the same time, one paramater is automatically changed. (the reason for not saving data is that there is a transient response when the parameter changes). thirdly, data saving begins with the same
    parameters as before, also for a user-defined amount of time. and then after these three steps one iteration is done. for iterations there is a different parameter, the user defines the range of the parameter and the number of different values in between and the code will do the increment at equal intervals automatically. my problem now is that i don't know how to correctly control the time. i have tried various ways but no one works.
    the second problem is that i don't know how to let it run and not saving data and then saving data without changing everything else. what i have now is to call the same VI twice, once for only running and no data saving and the other for saving data. but then the problem is that in between these two routines, the output suddenly becomes zero and gets excited again after i call it.  My professor said that i cannot let the output become zero, otherwise there is no meaning in waiting for the excitation to become stablee. but then i don't know how to call a VI only once and let it do the saving for only the latter part of the running time. i have been working on this thing for two weeks now and still have no idea....Sorry the problem is long and tedious, but if anyone have any idea about it, please let me know, i will be most grateful. Thanks a million!!!

  • The running time for Crack

    Hi there,
    I started testing Crack 5.0 (to guess those weak user passwords in our system) last Wed and I found it stopped today. However, I need know exact running time(elapsed time) for my testing. To run Crack 5.0, I just run "./Crack passwordfile" as root. Crack will automatically run on background and returns to Unix prompt. So using time command doesn't work here. Is there any system log file I can check for the exact running time of Crack process or any other place I can get this info?
    Thank you very much!

    Unless crack creates a log, then there really isn't anything that collects this data by default. You might be able to get it from system accounting assuming its enabled.

  • Is it possible to choose the serial port if only the run time engine is installed

    I have an application, which communicates over the serial port. When I use the full version of Labview I can change the serial port without any problem from Com1 to Com2 (similar to the example “Hardeware input output -> serial -> Labview serial vi"). When I build an application and try to run this program on a computer where only the run time engine 6.1 is installed, it is not possible to choose the serial port. Since there is no “Measurement and Automation Explorer” available on the run time engine and no directory C:\VXIpnp is created, when the run time engine is installed, I do not see a way, how I can satisfy the computer with the information it needs for configuring
    the different ports. Any suggestions?

    Hi Daniel,
    Before LV6.1 there was LV5.1 In LV5.1 the way to Spedify a resource was to use a string control with correct VIsa Resource Class identifier. For eg. "GPIB0::11" or "ASRL1::INSTR". With Introduction of VISA Resource Name Control and linking with MAX, These names are Available from Pull Down List and Can be Aliased, meaning ASRL1 which is Serial Port 1 can be called COM1 and so on. However the old method still works with all 6.1 Controls. Only thing is you have to make sure you Dont Conflict the Class Names ie Use "GPIB::.." instead of "ASRL..." when addressing Serial Port VI's.
    To solve your Problem I would Build a Menu ring with COM1 to COM4 in the Pull Down List.
    Next, If I use the Traditonal Serial Port VI wich accepts the Integer as Seria
    l Port #. I just Wire the Menu Ring to this VI.(Remember COM1 is 0, COM2 is 1 for this VI)
    If I use VISA Config Serial Post. I build an Array Constant with Corresponding VISA Class Names So in our case a String Array Constant of 4 elements "ASRL1::INST" to "ASRL4::INST". I Use Index Array Function With the Index Wired to my Menu Ring. The Array Input Terminal Wired to the Array Constant. The Output of this Array will be correct Visa Class Name Based on slection of my Menu Ring. I can Wire this as Input to my VISA Config Serial Port Vi.
    I have attached a Small VI to Illustrate this.
    Drawback: You must Predefine what Ports you will Want to Use. Basically you define all the cases.
    I hope this Answers your Q!
    Good Luck
    Mache
    Good Luck!
    Mache
    Attachments:
    Serial_Port_Select.vi ‏36 KB

  • Hiding url in the run time

    hi gurus,
    i am using oracle forms 10g, i have developed a form
    i am running that form it is showing in the web browser
    http://192.168.0.15:8889/frm/frmservlet/?from=test.fmx and also how to hide the back side main window i mean to say the by default window/MDii window which is shown
    at the run time.
    can i hide the '192.168.0.15:8889/frm/frmservlet/?from=test.fmx' this from other users who is running this forms by accessing my ip address while running the form.
    in fact i have already seen this hiding but i don't how to hide this
    can anybody tell me how to hide this by giving alternative name from my own..........

    Yes, this is possible. To hide the URL you will need to use HTML Frames and assign the Forms Servlet page to one of the frames. Then call your application using the frames html page. Here is the basic setup:
    1. Create a simple index.html as follows:
    <HTML>
    <HEAD>
    <TITLE>YOUR APP TITLE HERE</TITLE>
    </HEAD>
    <FRAMESET BORDER=0 rows="1, *">
    <FRAME NAME="top" SRC="top.html" FRAMEBORDER="NO"
    SCROLLING = "NO" NORESIZE>
    <FRAME NAME="bottom"
    SRC=http://HOST:PORT/forms/frmservlet?config=myAPP FRAMEBORDER="NO" SCROLLING = "AUTO">
    </FRAMESET>
    </HTML>Beware to change the HOST:PORT to your actual host and port information.
    2. Save this file in the docroot directory for the HTTP server
    3. Create a dummy empty file at the same location named top.html (To represent the upper frame)
    4. Run the URL http://HOST:PORT/index.html or simply http://HOST:PORT
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • The "Null Error Stack"  that is shown in the Run time workbench

    The Data is set to flow from SAP R/3 system to target system through XI. When the data is triggered in the SAP system, the same data is getting updated in the target system database. But when i check in the Run time workbench for the same, in the active log the following error is shown
    "Received XI System Error. ErrorCode: RUNTIME_EXCEPTION ErrorText: null ErrorStack: Runtime exception occurred during mapping" and "
    The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Application:RUNTIME_EXCEPTION: using connection RFC".
    When i monitor the same using T-code sxmb_moni, i am getting the error "Thrown: java.lang.NullPointerException".
    Can someone please explain what is this Null Pointer Exception and how can this be solved?

    Hi Lavanya,
    This can be the mapping error.
    Take the source payload from SXMB_MONI, copy it and paste in the 'Test' tab of Message mapping in IR.
    Check if you are getting any error or it is successful there.
    -Supriya.

  • In LV6.1, can I get the run-time menu refnum of a VI from the VI Path?

    Actually, for any version of LabVIEW, can I get the run-time menu refnum from the VI Path (or the VI reference)?
    Thanks!
    Enrique
    www.vartortech.com

    I just thought of a workaround...you could have a Menu Bar Ref indicator on your main VI front panel.  When your VI runs, you could have the Current VI's Menubar function wire the refnum into that indicator.  Then, in your subVI that has the VI reference, you could use VI Server to read the value of that indicator, then cast the value into a refnum wire, then you'd have access to the menubar reference in the subVI without having to pass it in to a subVI terminal.  Would that work?
    Oh, another simpler idea would be to simply wire the Menubar reference into a global, and read that global in the subVI.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Display Progress Indicator in the Run Time

    Hi All,
    How do display Progress Indicator in the Run Time for a JSF Page using ADF components?
    Regards
    Santosh

    I have similar problem.
    Basically my page do search in the database which takes some time. so when search starts I would like to display the progress indicator or some thing which will show some processging is going on in background. Once it completes the background processing, the same page displays the result. At this time I want to hide the progress indicator.
    Is there any way to do this. I am using EA17 with JDev.

  • What is the default time settings in Process chains

    Hi,
    What is the default time settings in Process chains.
    How to set time settings for daily,weekly,monthly loads in Process chains.
    What is the time settings that we have to take care when creating meta chains.
    Thanks,
    Madhu.

    Hi Madhu,
    The Time settings for any PC is done in the start variant of the PC. There is nothing like default time setting. These settings are totally depended on the requirement and system performance. It is a general rule of thumb to load the data during a time when the user activity is minimum as the loading process is going to occupy many dialog as well as background WPs. So, if you schedule them at a time when there are many users on the system, they might feel that the system is slow. Hence, you decide as to what is the best time for scheduling a PC. The same applies to meta chain also. In case of meta chains, you make sure the dependencies of the local chains is also handled. Hope this helps.
    Thanks and Regards
    Subray Hegde

  • Run time data of ME21N

    Hello People,
    I need to check whether the user has inputted the print parameters in message box of me23n.
    where do i get these print data on run time.
    thanks in advance.
    regards,
    roshan.

    Sorry, None of them exists...
    is there any Fm which gives run time data?
    regards,
    roshan.

  • Path where to install the run time engine (on Linux)

    I have a cluster of Linux computers where I would like to run compiled LABview (8.20 at the moment) applications build
    with the application builder.
    Therefore I would like to install the LABview run time engine on a NFS mount file system seen from each computer.  But
    the installation procedure of the run time engine does not propose to
    choise the installation directory, but force the installation
    in  /usr/local/lib.
    I try to workaround this problem and have copied the /usr/local/lib/LABview.8.2 directory to my NFS filesystem and
    made the 'necessary' links.
    Unfortunatly it doesn't run and  fails because  the
    liblvrt.so.8.2 library  can not access patched versions of the
    libOSMesa.so.4
    and libGL.so.1 librairies but uses the standard ones in /usr/X11R6/lib.
    Even by setting my LD_LIBRARY_PATH correctly to access the patched librairies versions it does not run because the
    liblvrt8.2 library seems to be  linked with the following
    'rpath'   (given by the command 'strings liblvrt.so.8.2 |
    grep patchlib')
    $ORIGIN/LabVIEW-8.2/patchlib:$ORIGIN/patchlib:/usr/X11R6/lib:/usr/lib:$ORIGIN:$ORIGIN/LabVIEW-8.2/linux:$ORIGIN/linux:$ORIGIN/resource
    which prevents to access the patched librairies versions if the $ORIGIN is not set. Therefore I tried to set $ORIGIN as an
    environment variable but it doesn't change anything.
    Therefore my question is: Did somebody have already had this type of problem,  what is $ORIGIN and how I can set it ?
    Thanks in advance.

    Sir,
    Please could tell me the distribution you use ?
    Cordially,
    Pierre R...
    Certified LabVIEW Developer

  • How to shorten the running time of NXT brick (TETRIX & MATRIX toolkit)

    Hi
    How to shorten the running time of NXT brick ?
    (TETRIX & MATRIX toolkit running time)
    Software is LabVIEW 2012 for LEGO MINDSTORMS
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    TETRIX_Toolkit_running_time.vi ‏20 KB
    MATRIX_Toolkit_running_time.vi ‏13 KB

    Hi 40123157,
    You are using the module in an appropriate way, and there is no easy way to improve the loop iteration time beyond what you have done. Here are my suggestions:
    1) i2c commands do take a long time. In your application, it may speed up if you only execute Move Motors only when the motor speed has changed.
    2) For this particular example, you are not using the output of Motor Status. If this VI doesn't need to execute it may be removed.
    3) If you must speed up execution beyond this, as an advanced user of LabVIEW, you can create a copy of the Move Motors VI and modify it as you choose. All you have to do for the 'DC Motors' input is use cluster to array on the cluster, as shown below. I think you can speed it up by executing all setup before the loop (set connection type and setup sensor), and removing calculate power value if you're only sending values between -100 and 100.  
    4) Drawing to the screen may be slowing you down here.

Maybe you are looking for

  • How do I set the default x-axis scale in DIAdem View?

    Hi everyone: I look at large amounts of data (i.e. many different data files every day), and I am trying to load and view them quickly and efficiently. Currently, when I have data sets loaded in the "Structure" tab, and I click and drag a numeric cha

  • AS2 ID and URL in BizTalk Server 2009

    Hi Everyone, I am new to BizTalk and have some very basic understanding of what it does. My client wants to send and receive EDIFACT files over AS2 protocol and they have asked for our AS2 ID, AS2 URL and certificate(public if I am right). Please fin

  • Why is this happening in my slideshow?

    ok, i did the manual ken burns effect on my photos in a slideshow. i zoomed in the picture because i don't want to see any black blank on the sides of the photos. when i preview the slideshow, i don't see any black which is good, but when i export th

  • Can I use iPad's charger for iPhone?

    Can I safely use iPad's charger with iPhone? Will it affect the battery's life time badly?

  • If I no longer have access to a device, how do I un-sync it?

    My laptop is synced with my ex-boyfriends laptop and also synced with friend of his phone. I do not want him to see that he has my passwords or search history. How can I un-sync my email and firefox settings from his devices without telling him? How