How to add a Parameter to a Module Specificat​ions, programati​cally

There is a module (based on vi) which I would like to add an additional parameter.
As a result of this, I would need to call all the program steps where this vi is specified, reload it, and place a value (or expression) for the new parameter.
I wonder if anybody has a small utility that does this job programatically.
Thanks
Raf
TS4.1

Hi Rafi,
I think you should visit this thread
http://forums.ni.com/ni/board/message?board.id=330​&message.id=25825
hope this helps
Juergen
=s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=

Similar Messages

  • How to Add a parameter of currency exchange rate in the selection screen

    Dear Friends,
    How to Add a parameter of currency exchange rate in the selection screen with format (9999.99999). wich field i need to take.
    Thanks,
    Sridhar

    TCURR-UKURS.
    ~Suresh

  • How to add a parameter to sql query in report

    Hi
    How to add a parameter to sql query in report.
    Parameter is from Visual studio
    example:
    select * from tab1 where dl=parameter???
    I have VS 2008 prof CR XI R2, mysql

    Hello,
    If you have this API available then you can modify the record selection formulae in code to add filtering:
              string recordSelectionFormula = "{T_INV_RPT_ADDR.IND_PROMUS} = {?P_PROMUS?} AND {T_INV_RPT_POINT.INVOICE_DATE} = DATE(2008, 05, 31) AND {T_INV_RPT_POINT.CHECKOUT_DATE} = date(2008, 04,29)";
                CrystalDecisions.CrystalReports.Engine.ReportDocument.RecordSelectionFormula = recordSelectionFormula;
    You have to format and follow the rules as in the Designer so not too much work to get this to work.
    CR for .NET may not have the ability so you will need to upgrade to a Developer version of Crystal Reports.
    Thank you
    Don

  • How to add Image in "SX_OBJECT_CONVERT_OTF_PDF" Function module

    Hi,
    We have scenario to add a BMP image from report to PDF format ,they are  using the SX_OBJECT_CONVERT_OTF_PDF function module to generate the report in PDF ,so we want to know how to add a image(BMP) for this function module or is there any other function module to get the image in PDF format.
    Replies would be appreciated.
    Regards
    Raghava

    Hi Brad Bohn ,
    We have the scenario were in we have two tabs (If click first tab output is displayed in excel with image using OLE functionality) for second tab output is displayed in PDF by using SX_OBJECT_CONVERT_OTF_PDF-Function module without the image(*.bmp).
    Our requirement is to get image in PDF.
    Please let us know which is the way to approach this scenario.
    Regards,
    Raghava

  • How to Add New Parameter in Cluster with LabVIEW Executable Program?

        In this VI,it can write the parameter in Cluster to the database (Access 2003).it run well.
        But When I add another parameter in Cluster,such as EE,I have to modify this Cluster. And at the same time,I have to modiy the database (I should add a column of EE).if this vi build to exe, how can I achieve it?Can LabVIEW have any way to increase new parameter EE in Cluster and in Database in executable program?
        Would you give me some advice?Thank you
    Attachments:
    Add ParaMeter In Cluster 20130206.zip ‏105 KB
    Cluster.JPG ‏9 KB

    It's rather unclear what you try to do here. In your first post you talk IMHO about the high level Datatbase Toolkit functions that take a cluster and translate it automagically into the appropriate SQL Query/Update.
    Your second question seems to be about the user interface of your application.
    Proper application design would mean to separate the user interface aspect from the actual database query in some ways. I definitely wouldn't use the same cluster for both. Also if you simply hide a control on the frontpanel (possible also in an executable) it still is present logically and if you end up using the high level database toolkit functions with that cluster it will result into a query or update of the database with all the data in the cluster, also the hidden ones.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to add generic parameter for raw types in public Methods

    Hi,
    I have a method declared in Component Controller with the UI for adding methods.
    I want to add a parameter of type HashMap<String,Object>. How can I do this in the UI?
    I just geht HashMap, how do I add <String,Object>?
    When I'm adding it direct in the Code, after Rebuilding the project it's again only HashMap.
    Is there a way to add <String,Object> to the HashMap?
    I want to get rid of the warning and don't wan't to supress the warning.
    Best regards,
    Peter

    HI,
    thanks for your answer.
    Too bad that there is no other way.
    Thanks.
    Best regards,
    Peter

  • How to add a created Z function module to the existing list in WE21

    Hi all,
    There is some existing function modules ( like EDI_PATH_CREATE_CLIENT_DOCNUM ) in WE21 in the function module field.
    here, i need to create one Z function module as per user requirement & want to add to that list.  is it possible???
    actually, i want the file name format is like
       " Document Number_YYYYMMDDHHMMSS.xml  ". but existing function modules are not giving this format.do anybody give any idea.
    correct answers will be rewarded.
    Thanks & Regards

    HI Pabitra,
       Yes, can always change the existing fm and add it with message type as follows pls note step 7 and step 8. (for inbound it is we42 and for outbound it is we41 )
    Basic IDOCs have supplied by SAP with standard structure. (Segments). You can extend them with your own segments.
    IDOCs does have unique number. They contain control, data, and status records.
    Useful Transaction Codes:
    WEDI : IDoc Menu
    WE02 : IDoc List (can enter IDoc number to select on)
    WE05 : IDoc List
    WE19 : Transaction WE19 can be used to test the IDoc
    WE30 : IDoc Type Development: Initial Screen
    WE31: Development Segments: Initial Screen
    WE60 : Documentation for IDoc Types. This allows you to view the IDoc you have created.
    WE81 : Display View ‘EDI: Logical Message Types’: Overview
    WE82: Display View ‘Message Types and Assignment to IDoc Types’: Overview
    WE21 - Creation of POrt
    WE20 - Partner Profile creation
    SALE - ALE (Application Linking and Enabling) settings
    For Outbound ALE Configurations: (Example)
    IDoc definitions and necessary ALE configurations settings for the outbound .
    Create Idoc segments – Transaction WE31.
    Create Idoc type – Transaction WE30.
    Create Message Type – Transaction WE81.
    Assign Message Type to Idoc type – Transaction WE82.
    Create a distribution Model - Transaction BD64
    An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
    1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
    2.IDOCs are independent of the sending and receiving systems.
    3.IDOCs are independent of the direction of data exchange.
    The two available process for IDOCs are
    Outbound Process
    Inbound Process
    AND There are basically two types of IDOCs.
    Basic IDOCs
    Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
    Extended IDOCs
    Extending the functionality by adding more segments to existing Basic IDOCs.
    for creating a IDOC
    see the below steps for outbound processing IDOCS..
    2.1 Outbound Interface
    PROCESS DIAGRAM
    Outbound Interface
    1. Analyse Hierarchy Levels
    2. Create New segment
    3. Create New IDoc Type
    4. Create New Message Type
    5. Link Message with IDoc Type
    6. Create an entry in EDP13 via transactions WE20 and BD64
    7. Populate the Custom IDoc via ABAP Program
    7b Error Handling
    7c. Send Status Email
    8. Test the Population of the Custom IDoc
    Step 1 – Analyse Hierarchy Levels:
    Analyse the data relationships being processed in the interface. Define the appropriate hierarchical Parent-to-Child relationships.
    Navigate to transaction code WEDI
    Transaction WEDI displays the IDOC main menu. This allows navigation around the various development and control areas to create a customised IDOC.
    Step 2 – Create a new segment:
    via wedi : Development - IDOC Segments or Transaction code WE31.
    • Enter segment name and click on Create.
    The? name of the segment type must start with Z1 , and have a maximum of eight characters.
    • Enter description and enter the relevant field names and data elements.
    The segment should represent a structure in the program so for? each field in the segment a field name and a data element must be defined.
    • Save the segment and enter Person Responsible and Processing Person .
    • Go to Edit and Set Release.
    • Repeat this procedure for each new Segment in the IDOC.
    Step 3 – Create a new IDOC Type
    via wedi Development - IDOC Types or Transaction WE30.
    • Enter segment name (starting with Z), click on Basic Type and then Create.
    • Create as new, enter Person Responsible and Processing Person and enter description.
    • On ‘Create Basic Type’ screen decide where segments should be inserted and go to Edit/Create Segment.
    • Complete relevant fields in the Maintain Attributes screen:
    • From the relevant segments created in Step 2 enter the Segment type and if mandatory segment.
    • The Minimum and Maximum number of segments to be allowed in the sequence. (One minimum and one maximum if segment is mandatory).
    • The Parent Segment and Hierarchy Level will be automatically created depending on where in the IDOC tree you decided to create that particular segment.
    • Repeat this process for each segment needed in the IDOC type, deciding whether to add the next segments at the same level or as a ‘Child’.
    • When IDOC created return to initial screen. Go to Edit and Set Release.
    • Go to Transaction WE60 to view the IDoc Type you have created.
    Step 4 – Create new Message Type
    via wedi Development - Message Types or Transaction WE81.
    • Display/Change and click on New Entries
    • Create a new Message Type and Save.
    Step 5 – Link Message Type to IDOC Type
    via wedi Development - IDOC Type/Message or Transaction WE82.
    • Display/Change and then click on New Entries.
    • Enter Message Type, Basic Type (IDOC Type) and Release (46C) and Save.
    Step 6 – Create an entry in EDP13 via transactions WE20 and BD64.
    The partner profile for the Idoc must be set up and generated in the transaction BD64 and transaction WE20.
    • WE20 – Add Message Type to appropriate Partner Type, Enter Message Type, Receiver Port and Idoc Type and Save.
    • BD64 – Create a Model View, Enter Sender and Receiver Ports, Attach Message Type. Go to ‘Environment’ on Menu and click on Generate Partner Profiles and generate (not save) profile.
    Step 7 – Populate the custom IDOC via ABAP Program
    See Test Program ZOUTBD_IDOC_TEMPLATE, Appendix IV.
    • Create an Internal Table for each segment type, this should be exactly the same structure as the segment type.
    • The control record is filled into a structure like EDIDC. The message type and the Idoc type for the Idoc must be populated into the eddic structure.
    - PERFORM populate_Control_structure USING c_mestyp
    c_SEGMENT_type1.
    • The data segments are filled into a structure like edidd-sdata; sdata and the segment name are populated into the edidd structure.
    - PERFORM transfer_Parent_data_to_seg.
    • The standard SAP function module MASTER_IDOC_DISTRIBUTE is called to pass the populated IDOC to the ALE Layer.
    - PERFORM master_idoc_distribute.
    • NOTE: This function module is only called for stand alone programs and Shared Master Data programs (SMD). It is not called when using extensions or output determination.
    • The ALE Layer handles the sending of the IDOC to the receiving system.
    • Error Handling (see Step 7b).
    • Commit work.
    Project SpecificStep 7b – Error Handling
    • Analyse which fields in the interface are mandatory for the receiving system and who needs to receive error notification.
    • Declare a structure of type ‘MCMAILOBJ’ for sending instructions.
    • Enter values for the internal table based on structure ‘MCMAILOBJ’
    • For selection processes, on SY-SUBRC checks and where fields are mandatory for the receiving system; insert Function Module ‘MC_SEND_MAIL’.
    • Enter values in the following parameters: -
    MS_MAIL_SENDMODE = ‘B’ (Batch Mode)
    MS_MAIL_TITLE = 'Mail Title'
    MS_MAIL_DESCRIPTION = ‘Error description’ (e.g. MATNR not given)
    MS_MAIL_RECEIVER = ‘Name of Receiver’ (To be determined)
    MS_MAIL_EXPRESS = ‘E’ (Express Delivery)
    MS_MAIL_DLINAME = Leave Blank
    MS_MAIL_LANGU = 'E' (Language)
    MS_MAIL_FUNKOBJ_NAME = Leave Blank
    TABLES
    MS_MAIL_CONT = I_MCMAILOBJ
    Note:
    It has to be determined separately for each interface how these errors and mail notifications are to be grouped – dependant upon the number of errors that are potentially likely. One possible approach is to send an email for each reason for rejection and include all the records that failed for that reason in the mail notification. Another possible approach is to send an email for every failure.
    When error checking for mandatory fields it is common SAP practice to reject a record on its first failure (irrespective of subsequent errors in that record)
    <b>Step 7
    (Transaction WE57)
    Assign the custom function module to the IDoc type and the message type.
    Set function module to type ‘F’ and direction ‘2’ for inbound.
    Step 8
    (Transaction WE42)
    Create a new process code and assign it to the function module. The process code determines how the incoming IDoc is to be processed in SAP.</b>
    Step 9
    (Transaction BD67)
    Assign the function module to the process code created above. Got to ‘New Entries’ and enter the process code and the function module name.
    Step 10
    (Transaction WE20 and Transaction BD64)
    Create a partner profile for your message and ensure that in transaction WE20 the process code is the one that points to your function module. (See step 6 of creating Outbound Idocs).
    Step 11
    Ensure that error handling functionality is present.
    If u still have doubt, i can send u the print screen doc -  hope this helps u
    <b>Reward pts if found usefull :)</b>
    regards
    Sathish

  • How to add style parameter

    Is there a way to add a style parameter and argument to a text area using the unstructured form generation tool? I tried adding the string "style='font: 10pt Helvetica" inside the tag delimeter following the #ename.item# string. Portal generated an additional text input element instead. We're using Portal 3.0. Thanks in advance!!!
    Mary Vivit

    Is there a way to add a style parameter and argument to a text area using the unstructured form generation tool? I tried adding the string "style='font: 10pt Helvetica" inside the tag delimeter following the #ename.item# string. Portal generated an additional text input element instead. We're using Portal 3.0. Thanks in advance!!!
    Mary Vivit

  • How to add  help documentation in a module pool screen?

    Hi ,
    I have to add documentation for a module pool screen. I have added the documentation for the program in se38 but what can I do to make it visible on the screen I have designed.
    Since I am new to module pool, kindly explain me step by step.
    Thanks,
    Nidhi

    Hello Nidhi,
    if you want at field level you use
      PROCESS ON HELP-REQUEST. in flow logic of screen.
    one mre thing you can add one text edit control on screen and put your text in screen

  • How to add search function to my module?

    Hi just new to oracle forms...
    I would like to know how can i add a search button (trigger: when-button-pressed) wherein values in the form will change when i hit the search button.
    example:
    current content of form:
    name: david
    telephone: 5220556
    search: chiqui
    when button pressed
    current content of form changes to
    name: chiqui
    telephone: 7252288
    thanks!

    hy,
    You can set defaut where in set block property, in trigger push_botto
    set_bloc...(your_block, deault_where, ' name = '''||:item_name||'''');
    do_key('execute_query');
    hope it help you

  • How to add push button in function module

    I want to add Push button( yes/no) in same screen. I used POPUP_TO_CONFIRM,
    but this popup is coming on next screen when I click on cancel button.

    There is no scope to create a push button in application tool bar. Instead of that we can add in a menu bar.

  • How to add task & subtask in project module?

    Hi experts,
    I am using R12.
    The project is already created without any task and subtask. Now i need to create task & subtask alone .
    Is there any API is available to complete?
    Please suggest me in this area.
    Thanks in advance
    kanish

    Which structure do you use,Finicial or Workplan?
    Oracle has API to import the project and tasks.The API is pa_project_pub.create_project.You can find more information in the UserGuide 120pjapi.
    If any problems when you use API,you can ask me.

  • How do you set the value of an enumeratio​n programati​cally

    I would like to be able to select (programatically) the value of an enumeration.  I don't seem to be able to find any reference to how to do that.
    Thanks.
    Solved!
    Go to Solution.

    True, True.  The original post wanted to know how to programmatically "select" the enum value.  To me, that means to either force the enum to display another value, or retrieve the current value.   I thought Ben was referring to the fact that you can't programmatically set or initiate new values into an enum.  Which as he said, can only be done with a Ring.
    "In your example you're not "getting" the value of the enum. You're converting it to a string. That's a different operation."
    I showed two ways to get the value,  one gets the current string value associated with the numeric value, and the other gets the current numeric value.  i went further in the attached vi, by demonstrating how to change the current (displayed) value of the enum by using a string.  (IFF you already know the string values in the enum.)   
    In my program, i use a typedef cluster with an enum in it.  At runtime, i need to "select" the active enum value based on which operation i'm performing.  I know from elsewhere in the program what operation i need, but it's string, and there's no easy way to change the value of an enum with a string, except with the backdoor methods i showed.  
    I wish my cohort woulda used a ring.  ;-)

  • Add parameter in Function Module

    hi all,
    I'm trying to add a parameter to function module HRGPBS_HER_GET_SURNAME_NINO.
    However, the system is telling me to carry out modification comparison first.
    Can someone guide me on using SPAU or SE95, as I don't understand what to enter in the selection area?
    thanks

    If you go to transaction code: SPAU, you can find the item (program, function module, screen, etc) in question, open the tree to the lower levels. On the lower item, you can choose to save your changes or revert back to original.
    The developers should be able to tell what has been changed. In most cases, we wanted to keep our changes with the exception of when a change was made and later a note was released to produce the same result or if new functionality is released related to the item in question.
    Hope this helps.

  • How to add drop down in SAP screen module pool

    Hi,
    Can you please advise me on how to add drop down in SAP module pool screen (a drop down with fixed set of values).
    Thanks
    Mohit

    Hi,
    Hope it helpful.
    Refer the Program : rsdemo_dropdown_listbox
    Regards,
    Venkat.

Maybe you are looking for