Parametrize Reports automatically in Diadem Script

Hello first my Prolem:
I have a huge TDMS file with series of measurements. 
I made several REPORT templates such as title, measurement set, overview and so on.
Now i wrote a script, which first loads a data file, then generates the title and after that it should generate a measurement set page for all measurements. For that i wrote a for loop over the amount of all channel groups so thats not the problem. But how can i force the system to put the right data into the template?
Second problem: How can i generate ONE pdf document of all generated pages? 
Solved!
Go to Solution.

Hi kappesf,
I"m going to need to ask you for more information.  Are you saying that you made several separate *.TDR files, one for the title, one for the measurement set, etc.?  Are you then saying that you load each of these *.TDR files one after another-- with each *.TDR file replacing the previous one in REPORT?
What data do you want to force into the template correctly?  Why can't you just reference the data you want to display in the template with standard Group/Channel strings and property names?
You have two choices on the PDF front.  The first option is to continue to load portions of the REPORT from separate *.TDR files with PicLoad and use the DocStart and DocEnd commands to spool them all to the same PDF print process.  The second option is to use PicFileAppend instead to load all the REPORT sheets into REPORT at once and use the regular PicPDFExport command to create the PDF file.
Hope to hear back from you on these questions,
Brad Turpin
DIAdem Product Support Engineer
National Instrument

Similar Messages

  • Working with DIAdem REPORT in DIAdem SCRIPT

    Hello,
    I am working with DIAdem 9.1 Advanced. I would like to create a report with a 2D graph object containing one curve (X,Y1) or (X,Y2). The user has to choose between (X,Y1) and (X,Y2) via a dialog box. I want to generate this report with a VBS script without loading a predefined TDR report.
    I tried the following sample code:
    '1. Load "Example.CSV" from the DIAdem DEMO folder
    '2. Load a new blank report
    Call GraphObjNew("2D-Axis","MyGraph") 'Creates a new 2D-graph object called -MyGraph- in the report
    Call GraphObjOpen("MyGraph")      
      D2AXISSYSTEM     ="one system"
    ' The user selects which channels he wants to plot via a dialog box
    ' If the channel "Sine" is selected, we need to create a new curve on the 2D-graph
    ' Do I need to create a new object for the curve? Which type of object ?
      Call GRAPHObjOpen("2DObj1_Curve1") ' ERROR -Object 2DObj1_Curve1 unknown or not open-
        D2CCHNX          ="[1]/Time"
        D2CCHNY          ="[1]/Sine"
      Call GRAPHObjClose("2DObj1_Curve1")
    Call GraphObjClose("MyGraph") 
    Call PicUpdate
    Is it possible in DIAdem to create dynamically a 2D-graph when we do not know before which channels will be plot?
    Thanks in advance for your answer.
    Matthieu G.
    Eurilogic, France

    Hello Matthieu
    Variable: ObjType
    The terms 2D-curve and 3D-curve are valid keywords for new 2D-curves and 3D-curves and the enumeration terms of the ReportObjType variable for all other objects.
    I attached some topic of the DIAdem 10 help that descibe some variables that correspond to this topic.
    The following script create a 2d-Axis system an a new curve and defines the data for this curve
    Call GraphObjNew("2D-Axis","MyGraph") 'Creates a new 2D-graph object called -MyGraph- in the report
    Call GraphObjOpen("MyGraph")      
      D2AXISSYSTEM     ="one system"
      Call GraphObjNew("2D-curve","MyCurve") 'Creates a new 2D-Curve object called -MyCurve- in the report
      Call GraphObjOpen("MyCurve")
        D2CCHNXNAME      ="[1]/Time"
        D2CCHNYNAME      ="[1]/Sine"
      Call GraphObjClose("MyCurve")
    Call GraphObjClose("MyGraph") 
    Call Picupdate()
    Hope this helps
    Winfried
    Message Edited by winner on 02-27-2006 11:54 AM
    Attachments:
    report.zip ‏18 KB

  • Is there a DIAdem Script command that can automatically create folders/directories in Windows?

    Hi there!
    I need to automatically create folders/directories in the Windows file system? Is there a DIAdem Script command to do this (like the way you do it in DOS/Unix or even Matlab (mkdir command)? Thanks!

    Hi,
    there are two ways to create folders within a DIAdem script:
    Call FolderCreate("d:\New Folder")
    Dim fso
    Set fso = CreateObject("Scripting.FileSystemObject")
    Call fso.CreateFolder("d:\New Folder 2")
    Christian

  • DIAdem script

    Hi Forum,
    I am encountering a simple problem with DIAdem script: when automatically creating a report, I am not able to change the orientation of my report by script. Code is as follows:
    Call ReportMasterLoad("D:\Projects\bdrimmel\iTest\UniPlot\DIAdem\\DIAdem_DRef_Master.TDRM")
    Call PicDelete() ' DIAdem Graph löschen
    Call ReportMasterAdd("D:\Projects\bdrimmel\iTest\UniPlot\DIAdem\\DIAdem_DRef_Master.TDRM")
    Call GraphSheetNew("Pussnelda" & intSheetNo)
    PicPageOrient = "portrait"
    Call PicUpdate
    Changing PicPageOrient would not affect my report layout at all. Is something missing there?
    Solved!
    Go to Solution.

    I know -  this is not directly connected to this problem- but maybe it is of interest for some users:
    http://zone.ni.com/reference/en-XX/help/370859H-01/cmdvarlist/cmdvarlist/varlist_report/

  • Generate AWR Report automatically every day

    Hi Friends,
    I would like to generate AWR Report automatically every day. How do i do it.
    The Start Time will be 00:00 of Previous day and the end Time will be : 00:00 of current day. The File format is html.
    Currently i am using awrrpt.sql to generate report manually and i would like to achieve it automatically,I am not sure how to pass the values of start and end time (From which table i can get the values)?
    Regards,
    DB

    Hi, DB.
    You may use the below sql script , the sql script generates the AWR report for the duration of 2 days in HTML.
    So you  change
    1) the where condition as per your requirement,
    2) report name in sql script,
    3) and convert it as shell or bat script based on your environment, and schedule it in your OS job scheduler / crontab.
    =-=-=-=-
    connect / as sysdba
    REM set termout off
    variable snap1 number
    variable snap2 number
    COLUMN starthr new_value bhr
    COLUMN endhr new_value ehr
    COLUMN crdate new_value cdt
    begin
    select
      distinct  min(s.snap_id)
    into :snap1
      from dba_hist_snapshot s
    where to_char(trunc(end_interval_time,'HH24'),'HH24') = to_char(trunc(sysdate,'HH24'),'HH24')-2 and trunc(end_interval_time)=trunc(sysdate);
    select
      distinct max(s.snap_id)
    into :snap2
      from dba_hist_snapshot s
    where to_char(trunc(end_interval_time,'HH24'),'HH24') =to_char(trunc(sysdate,'HH24'),'HH24') and trunc(end_interval_time)=trunc(sysdate);
    end;
    COLUMN starthr new_value bhr
    COLUMN endhr new_value ehr
    COLUMN crdate new_value cdt
    select to_char(trunc(sysdate, 'HH24'),'HH24')-2 starthr,
            to_char(trunc(sysdate, 'HH24'),'HH24') endhr,
           to_char(trunc(sysdate),'DD-MON-YYYY') crdate
    from dual;
    define begin_snap=:snap1
    define end_snap=:snap2
    define report_name=/orashare1/reports/awrreport/AWRRPT_PROD_1_${1^^}_${EXDATE}_mor.html
    define  report_type  = 'html';
    @@?/rdbms/admin/awrrpt.sql
    exit

  • Controlling dialog boxes in a DIAdem script from LabVIEW

    I have a DIAdem script that prompts the user for the data file it will process. The datafile was created from a labview test routine.   I can now run the script from LabVIEW using the "DIAdem Run Script.VI", but in the interest of automation, I would like to have LabVIEW place the filename in this dialog.  I would like to keep the dialog in the script, since sometimes we run this script manually. (without LabVIEW)
    Bill W.

    Bill,
    Which dialog are you using to prompt for the file name?  It
    appears that you cannot send any information to the script through the
    Run Script.vi.  However, you can call automation commands using
    the "DIAdem Run Automation Command.vi".  If you want to pass data
    to the script, then you can set a Global Variable, or a DIAdem Script
    Variable.  As an example, you could use the global variable, T1,
    and send "T1 := 'myfile'".  When the script is executed, that
    variable will be accessible within the script and it will be set to
    "myfile".  You could also set the FileDlgName variable to your
    file name.  Then it may be possible to send those variables to
    your dialog so that they are automatically populated.
    Good Luck!
    Tyler Tigue
    NI

  • Wie Diadem Script im LabView am besten erstellen?

    Guten morgen zusammen,
     ich bearbeite im Moment ein Projekt, in dem Messdaten aus LV in Diadem Report umgewandelt werden, dazu übergebe ich die Messkanäle und ein Script. Das Script habe ich in einen großen String getippt, der Schlüsselworte wie "PFAD1" enthält, die dann mit "String suchen und ersetzen gegen die richtige Werte ausgetauscht werden. Dann wird dies in eine Script Datei gespeicher, die an Diadem übergeben wird.
    Gibt es eine Möglichkeit dies "eleganter" zu lösen?
    Ich fände es praktisch, wenn man Diadem Code so erzeugen könnte, wie mit dem "Formelknoten", dies wäre viel übersichtlicher.
    Gruss
    N.Schnitzler

    Ja das wäre eine Lösung, aber ich kann es den Usern nicht zumuten sich selber mit Diadem-Script zu beschäftigen, die Möglichkeit mit den String Konstanten habe ich als erstes getestet, dies wird aber viel zu unübersichtlich.
    Meine jetzige Lösung sieht so wie im Anhang aus. 
    Ein VB-Script/Diadem-Script - Knoten wäre eine sinnvolle Ergänzung, da man ja den Export eines Scriptes an Diadem anbietet, sollte man auch die programmatische "Konstruktion" des Scriptes ermöglichen.
    Gruss
    N.Schnitzler
    PS. Dies ist nur ein kleines Script als Beispiel
    Message Edited by N.Schnitzler on 01-16-2009 04:46 AM
    Attachments:
    Script.JPG ‏163 KB

  • Save settings for rainflow-analysis at DIAdem-Script

    I wrote a script with DIAdem-Script. This script does a rainflow-analysis from a signal.
    My problem is that I need 64 steps but the standard setting is 8 steps.
    I program the rainflow-analysis with 64steps in DIAdem-Script and the script does is till I shut down DIAdem.
    If I restart DIAdem and load the script with the 64step-rainflow-analysis, it makes only 8steps (the standard setting at my Diadem).
    Now I want to know what I can do to solve these problem.
    I want to have a script that makes a rainflow-analysis with 64steps at any time.

    Hi Christian,
    We should be able to get this to work as you desire it.  These are the variables behind the class number dialog in the Rainflow calculation:
    CLASSMETH2      = "Automatic"
    CLASSNO         = 10
    CLASSWIDTH      = 0.0389656847322041
    CLASSBEGIN      = 0.50634440282565
    CLASSRANGEWIDTH = 0.389656847322041
    CLASSEND        = 0.896001250147692
    What combination of these variables are you using and which values are you assigning them?
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to send Oracle AS report automatically by email

    Dear Gurus,
    I would like to generate a Oracle report automatically and send it by Email. so for that I am trying by using below command
    C:\home\BIN\rwclient server=rep_servername_FRHome report=C:\reportpath\report.rdf userid=username/password@aliasname desformat=pdf destype=mail desname=[email protected] Parameter1=xxxxx parameter2=xxxxxx parameter3=xxxx parameter4=xxxx
    But I am getting below error.
    REP-0177: Error while running in remote server
    Executed successfully but there were some errors when distribute the output.
    But if i tried to generate the output as a file in local machine its working fine and below comand is generating report on local desk
    C:\home\BIN\rwclient server=rep_servername_FRHome report=C:\reportpath\report.rdf userid=username/password@aliasname desformat=pdf DESTYPE=file DESNAME=C:\report\reportname.pdf Parameter1=xxxxx parameter2=xxxxxx parameter3=xxxx parameter4=xxxx
    My only problem is by using rwclient I am unable to send Email
    Please help me on this.
    Regards,
    Satish Kumar Sadhu

    Dear Friends,
    I have resolved the issue by putting my smtp server on servicename.conf

  • Problem-Report generation using shell script

    Hi
    We have the Production database and the Reporting database (copy of Production database),
    both on Oracle 9.2.0.5 and Solaris 5.8. There is a package inside the Oracle database, which extracts some data from inside the
    database, and would generate a report. A shell script has been created in Solaris which would
    send in the parameters and call the pakage to generate the report. The parameters it is sending is
    the name of report to be generated, and the location where it is to be generated, both hard-coded into
    the script. The script is scheduled to run through crontab.
    The problem we are facing is that, if we run the script for Reporting database, it successfully
    generates the report. But if we use that script for Production database, it gives the error
    "Invalid directory Path". I have tried using various other directory paths, even '/tmp'
    and '/', but it still gives the same error when executed for Production dataabse.
    Could somebody provide any ideas what might be going wrong.
    The reasons it is to be executed on Prod db and not the Reporting database are unavoidable.
    It anyway runs in off business hours and takes about 10secs to execute.
    Please do let me know if there is any other info that I missed to provide here.
    Thanks in advance...

    I will be just guessing because you didn't provide contents of script and package.
    The "Invalid directory path" as you said could be ORA-29280 due non existent directory.
    Try execute (as sys or system) select * from dba_directories; (or select * from all_directories; as user which the script is login to) on both databases and compare the results. If there is missing your important directory then create it using create directory <dirname>; (from sqlplus and don't forget to grant rights for user).
    This error could come from shell script. In that case you should find resolution yourself because you didn't provide script source.

  • Calling a report from unix shell script

    Hi,
    I had to call a report from unix shell script.
    May i know the procedure to accomplish this
    Thanks in Advance
    A.Gopal

    First you should not include the whole path to your report in the call ...
    Use like this:
    /ora/u01/oracle/v101/as2/bin/rwrun.sh report=an_stati destype=file desname=/ora/u01/oracle/v101/as2/test.pdf desformat=pdf
    In $ORACLE_HOME/bin/reports.sh:
    1) Verify that you have updated the REPORTS_PATH variable to include your folder where you have the report in question
    REPORTS_PATH=/ora/u20/app/qits/env1/run:$ORACLE_HOME/reports/templates:$ORACLE_HOME/reports/samples/demo: ....
    2) Verify that the REPORTS_TMP variable is pointing to a valid location and that the oracle user has access to write on it.
    After that, post the content of the tracefile located at $ORACLE_HOME/reports/logs/{in-process report server name folder}/rwserver.trc
    If no file is present then it means that you need to enable trace in your reports's conf file.... go to the $ORACLE_HOME/reports/conf folder and and locate the .conf file that correspond to your in-process reports server name (as specified in the rwservelet.properties file)... open/edit the file to enable trace logs ..
    i.e.
    Change the following line:
    <!--trace traceOpts="trace_all"/-->
    to <trace traceOpts="trace_all"/>
    Bounce the reports server and try to run the report again, this time the .trc file should be generated, post the content so that we can take a look.

  • Using variables in a calculation function in Diadem script

    Hey guys,
    I'm new to working with Diadem Scripts.  I have tried the two different ways below to make the values of a channel equal to the results of a formula containing created variables.  I can do it if the formula contains values in place of the variables using the calculator method.  I would appreciate any guidance on how to correct the syntax in the below scripts.
    Option Explicit 'Forces the explicit declaration of all the variables in a script.
    dim a, b, c
    a = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef1").Value
    b = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef2").Value
    c = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef3").Value
    Ch ("[2]/ROP (ft/hr)") = a + b* Ch("[2]/Backhead Pressure (psi)") + c* Ch("[2]/Backhead Pressure (psi)")^2
    Or
    Option Explicit 'Forces the explicit declaration of all the variables in a script.
    dim a, b, c
    a = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef1").Value
    b = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef2").Value
    c = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef3").Value
    call ChnCalculate("Ch(""[2]/ROP (ft/hr)"")="&a+&b"*Ch(""[2]/Backhead Pressure (psi)"")+"&c"*Ch(""[2]/Backhead Pressure (psi)"")^2")

    I think you need to use channel name strings of the format "Group Name/Channel Name" in your ChnCalculate function.  I usually use a formula, a symbol array, and a value array to get this done:
    Dim a, b ,c, sFormula, aSymbols, aValues
    Redim aSymbols(6), aValues(6)
    aSymbols(0) = "a"
    aSymbols(1) = "b"
    aSymbols(2) = "c"
    aSymbols(3) = "A"
    aSymbols(4) = "B"
    aValues(0) = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef1").Va
    lue
    aValues(1) = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef2").Value
    aValues(2) = Data.Root.ChannelGroups(2).Channels("rop regression formula").Properties("ResultNonLinearFitCoef3").Value
    aValues(3) = Data.Root.ChannelGroiups(2).Channels("ROP (ft/hr)").GetReference('ref type')
    aValues(4) = Data.Root.ChannelGroiups(2).Channels("Backhead Pressure (psi)").GetReference('ref type')
    sFormula = "Ch(A) = a + b*Ch(B) + c*(Ch(B))^2"
    Call ChnCalculate(sFormula,aSymbols,aValues)
    CLAD

  • How can I create a simple app that will automatically add folder script

    Hi! I hope I can get a little help on this.  I tried searching online and haven't found anything.
    Is there away I can make a simple "application" that will automatically add a folder script to a users folder?
    Basically I need a folder script to run but I don't want to explaint o a user how they'd have to do it in automator.
    I'd like to be able to create an application they double click.  The app tells them to select a folder then automatically runs the script.
    Does anyone have any ideas of how'd I'd do this?

    Oh I get it. Yeah I read you post on one of the other pages and didn't quite understand, but not that you say that your're makeing this for another user, it makes sence.
    So what you want to do is have the computer automatically install a script on a customer's computer, right?
    (I'm using "custumer" loosly; i.e. just another user)
    If that's what you'd like to do, then you'll probably have to write an actual program in Xcode, since I imagine automiticlly installing folder action scrips will be highly discuraged by Apple because it would cause a huge security hole in the OS. (You wouldn't want some random person sending you a folder action installer disgused as a regular app LOL.)
    But I will actually suggest the following, which I think will work great for your users:
    Make a regular Automator app, and drag it to your Dock. Now, have the user click and drag a bunch of photos to the application icon, and it will run the app automatically on those files.
    You could try a work flow like this:
    ask the user Are you sure?
    convert pictures
    save pictures to ConvertedPics folder
    pop up a confirmation message saying that everything was resized
    Hope this helps

  • How to add a report into the SAP-SCRIPT .using PERFORM ......ENDPERFORM

    My question is that How to add a report into the SAP-SCRIPT .
    by using PERFORM ......ENDPERFORM
    I don't know how to used it .

    Hi Sandeep,
    Please check this link
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803279454211d189710000e8322d00/content.htm
    http://www.allinterview.com/showanswers/37425.html
    Calling ABAP Subroutines: PERFORM
    You can use the PERFORM command to call an ABAP subroutine (form) from any program, subject to the normal ABAP runtime authorization checking. You can use such calls to subroutines for carrying out calculations, for obtaining data from the database that is needed at display or print time, for formatting data, and so on.
    PERFORM commands, like all control commands, are executed when a document is formatted for display or printing. Communication between a subroutine that you call and the document is by way of symbols whose values are set in the subroutine.
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.
    The values of the SAPscript symbols passed with /: USING... are now stored in the internal table IN_TAB . Note that the system passes the values as character string to the subroutine, since the field Feld VALUE in structure ITCSY has the domain TDSYMVALUE (CHAR 80). See the example below on how to access the variables.
    The internal table OUT_TAB contains names and values of the CHANGING parameters in the PERFORM statement. These parameters are local text symbols, that is, character fields. See the example below on how to return the variables within the subroutine.
    From within a SAPscript form, a subroutine GET_BARCODE in the ABAP program QCJPERFO is called. Then the simple barcode contained there (u2018First pageu2019, u2018Next pageu2019, u2018Last pageu2019) is printed as local variable symbol.
    Definition in the SAPscript form:
    /: PERFORM GET_BARCODE IN PROGRAM QCJPERFO
    /: USING &PAGE&
    /: USING &NEXTPAGE&
    /: CHANGING &BARCODE&
    /: ENDPERFORM
    / &BARCODE&
    Coding of the calling ABAP program:
    REPORT QCJPERFO.
    FORM GET_BARCODE TABLES IN_PAR STUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
    DATA: PAGNUM LIKE SY-TABIX, "page number
    NEXTPAGE LIKE SY-TABIX. "number of next page
    READ TABLE IN_PAR WITH KEY u2018PAGEu2019.
    CHECK SY-SUBRC = 0.
    PAGNUM = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018NEXTPAGEu2019.
    CHECK SY-SUBRC = 0.
    NEXTPAGE = IN_PAR-VALUE.
    READ TABLE IN_PAR WITH KEY u2018BARCODEu2019.
    CHECK SY-SUBRC = 0.
    IF PAGNUM = 1.
    OUT_PAR-VALUE = u2018|u2019. "First page
    ELSE.
    OUT_PAR-VALUE = u2018||u2019. "Next page
    ENDIF.
    IF NEXTPAGE = 0.
    OUT_PAR-VALUE+2 = u2018Lu2019. "Flag: last page
    ENDIF.
    MODIFY OUT_PAR INDEX SY-TABIX.
    ENDFORM.
    Best regards,
    raam

  • How to  include a report  into the  SAP-SCRIPT

    plz tell me 
    How to  include a report  into the  SAP-SCRIPT
    ASAP

    creat a z report like this....................
    REPORT  zmmgl_picklist1.
    TABLES : likp,ltap,ltak.
    data : lv_NUM1 type c .
    data : lv_NUM type c.
    *&      Form  get_data1
          text
         -->IN_DATA    text
         -->OUT_DATA   text
    FORM get_data1 TABLES in_data STRUCTURE  itcsy
                         out_data STRUCTURE itcsy.
    READ TABLE in_data WITH KEY name = 'LTAP-VBELN'.
    lv_NUM = lv_NUM1 + 1.
    out_data-name = 'lv_NUM'.
      out_data-value = lv_NUM .
    APPEND out_data.
    endform.
    *&      Form  get_data
          This form is to read  details from  LIKP    *
         -->IN_DATA    text
         -->OUT_DATA   text
    FORM get_data TABLES in_data STRUCTURE  itcsy
                         out_data STRUCTURE itcsy.
      READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single bldat from likp into likp-bldat where lgnum = ltap-lgnum.
      out_data-name = 'LIKP-BLDAT'.
      out_data-value = likp-bldat.
      APPEND out_data.
       READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single vstel from likp into likp-vstel where lgnum = ltak-lgnum .
      out_data-name = 'LIKP-VSTEL'.
      out_data-value = likp-vstel.
      APPEND out_data.
    READ TABLE in_data WITH KEY name = 'LTAK-VBELN'.
      Select single kunnr from likp into likp-kunnr where lgnum = ltap-lgnum.
      out_data-name = 'LIKP-KUNNR'.
      out_data-value = likp-kunnr.
      APPEND out_data.
    ENDFORM.                    "get_data.
    after this go to the script editor......
    /: perform get_data in program zmmgl_picklist1.
    /: using &ltap-vbeln&                 (Reference field.this field          should be there in both program and script.....)
    /:changing &likp-bldat&         
    /:changing &likp-vstel&
    /:changing &likp-kunnr&
    \[removed by moderator\]
    Regards
    Anbu
    Edited by: Jan Stallkamp on Jun 10, 2008 2:26 PM

Maybe you are looking for

  • Is it possible to allow a single popup event on a website without giving blanket popup permission for the site?

    Using comcast.net for email, I cannot open an attachment due to popup blocking. I'd like to be able to open selective attachments, without giving permission to open all popups on the site, as there are many.

  • How to correct a boolean phrase in numbers?

    Hi Guys, I have been using excel to create a top 5 formula which is rather complicated and I got it from the internet.  I have transferred it into numbers but it does not work as it turns part of the formula into a boolean phrase, thus creating an er

  • A different part of a clip gets inserted in the middle of a a clip

    I am completely stumped! I subdivided a long clip into smaller clips in the timeline, and edited other clips in between. In one subclip, the video from a different section of the original longer clip keeps getting inserted into the middle of of the c

  • Moving a project in iMovie

    Is it possible to move a project i am doing in imovie 11 on a mac running snow leopard to an imac running mavericks to finish the project and still leave the movie on the first computer?

  • EOIO cluster lock in JMS sender channel

    Hi All, Our production environment is using cluster. I have 2  sender JMS channel where EOIO feature has been used. Today while monitoring we found one of the cluster node is showing below error EOIO cluster lock:com.sap.aii.adapter.jms.eoio has alre