Create VI Reference from VI Reference

Given a VI reference that is valid, is there an easier way to create a new VI reference, other than by using a property node, pulling the VI name, and using Open VI reference?
I've never needed to do this before but I assumed there would be some invoke node that made a new reference pointing to the same object but couldn't find one.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

Hooovahh wrote:
I've never needed to do this before but I assumed there would be some invoke node that made a new reference pointing to the same object but couldn't find one.
That would be equivalent to the Java clone() method, something many agree to have been a pretty bad idea. Actually it's not so much the idea itself that is bad but the complications that arise from implementing a proper working clone() method. So complicated in fact that most programmers get it wrong at some point and the resulting object is then broken by design when anyone is using the clone() method.
Read any Java programming manual and you will usually read a big warning to avoid clone() at almost any cost.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • Error while posting a sales order created with reference from contract for

    Hi,
    I am posting a sales document( Type: WA)  created with reference from contract document(  type wk2) for delivery.  The item category in the sales order of the Item is WAN. On posting this document for delivery I am getting the error as "Item category WAN is not defined".  Please help me out how to resolve this issue.
    Thanks
    Jayant

    Hi Jayant,
    I think its value contract releated error,
    You suppose to check material item category group through T.code-MM02 into sales2 tab and maintain VCIT,
    and do item category assignment through T.code- VOV4.
    plz.maintain like that,
    WK2 -          -VCIT-         -           - WAN(contract item category),
    wk2  -          -        -VCTR-          - WAN((contract item category),
    you should also maintain same against your standard Sales Document type and for Standard Item category into VOV4,
    WA(standard docu.type) -VCIT-                             -                -TAN(your standard docu.type item category),
    WA(standard docu.type) -         -VCTR(item usage)-              -TAN(your standard docu.type item category),

  • Find Tax conditions and amounts while creating a PO from reference.

    Hi friends,
    I am creating a PO from another reference PO. When I create the PO the Tax conditions and
    amounts come from Sabrix 3rd party system. This data gets saved into SAP internal memory and
    is visible when we follow PO item-> Invoice Tab->Taxes-->then we can see Tax
    conditions and there amounts as well. when we press SAVE button PO gets created and KNUMV
    (Condition Number) gets formed and then we can access this Condition types and Amounts data
    from KONV table by specifying the Condition number which is the Primary key of KONV table.
    But we need to access this data of Condition types and Amounts even before we press SAVe
    button on ME21N screen.
    Please help me on this.

    Hi,
    As mentioned that this error was one of the wierdest SAP issues I have faced, it was due to the silliest copy paste errors on my behalf. I completely overlooked the POITEMX naming.
    For 4 values of RFQ_NO, RFQ_ITEM, PREQ_NO, PREQ_ITEM, I didnt have the 'X' for POITEMX and kept on looking for errors for days.
    BAPI_PO_CREATE1 works with min. possible inputs successfully.
    Thanks to all!

  • Remove Header text from a sales order, created with reference to quotation

    Hi all,
    I have a sales order(in VA01) which is created with reference to quotation (in VA21).
    If header text (Notes for logistics, Note for responsible person, Header text Doc & Declaration) in texts tab is maintained in the quotation they are getting copied in Sales Order which is NOT the requirement.
    I need suggestions on how to disable the text that is getting copied.
    Any pointers would be of great help.
    Regards,
    Vamsee Priya.

    Hi Nilesh,
    I created a routine in vofm and this solved my problem.
    Now, I'm having a similar problem where I'm creating an Invoice(through transaction VF01) giving the delivery document number and document type (Invoice F2).
    we are maintaining Header text in Order through which the above mentioned delivery document number is created and this header text should get copied in the Invoice.
    For this, I went into Transaction VOTXN, from there selected billing header, from here kept a break point for the routine BEDINGUNG_PRUEFEN_001 through which the text will get copied.
    Now, when I'm creating the Invoice this routine is getting executed, but still the text is not getting copied.
    Any pointers on this would be of great help.
    Also at the end of your previous mail, you are telling about SPRO - text assignment. Can you please let me know how to I should navigate to this text-assignment??
    Thanks and Regards,
    Vamsee Priya.

  • FM to create Sales Order from reference billing document

    Hi,
    I need to create a sales order from a reference billing document. Please tell me if there is any function module/BAPI to do that.
    Thanks in advance for the help
    Regards,
    Varun

    Hi
    <b>SD_SALES_DOCUMENT_COPY</b> copy Sales Doc into new one with the required Sales Doc Type (VBAK-AUART) for further creating.
    <b>SD_SALES_DOCUMENT_SAVE</b> create Sales Doc from the copied document
    create subsequent document
    REPORT Z.
      data: w_auart like vbak-auart,  "current SalesDoc type
            w_auara like tvak-auara,  "Subsequent SalesDoc type
            w_vbak  like vbak.
      parameter p_vbeln like vbak-vbeln.
    at selection-screen on p_vbeln.
      SELECT SINGLE auart FROM vbak into w_auart
        WHERE vbeln = p_vbeln.
      if sy-subrc <> 0.
        message e398(00) with 'Sales Doc' p_vbeln 'not found'.
      endif.
    start-of-selection.
      SELECT SINGLE auara FROM tvak into w_auara
        WHERE auart = w_auart.
      if sy-subrc <> 0 or w_auara is initial.
        message e398(00) with 'Subsequent type not defined for' w_auart.
      else.
      1. copy
        CALL FUNCTION 'SD_SALES_DOCUMENT_COPY'
             EXPORTING
                  i_auarn       = w_auara
                  i_vbeln       = p_vbeln.
      2. paste
        CALL FUNCTION 'SD_SALES_DOCUMENT_SAVE'
             IMPORTING
                  evbak         = w_vbak.
      3. commit
        COMMIT WORK.
      4. report
        write: / 'Sales Doc', w_vbak-vbeln, 'created.'.
      endif.
    regards
    vinod

  • How can I add content from a different spreadsheet and thus create a reference between then?

    Hello,
    I am starting to use Numbers 3.5 in a MacBook Pro Late 2011.
    I am trying to find a way to create a reference between spreadsheets.
    For instance, I have a spreadsheet for each year to control things at home.
    While creating a 2015 version, I can't find a way to make formulas using values from 2014 spreadsheet and make then referenced.
    Does anyone know if it is possible and how can I do that?
    An observation: using excel I can do that with
    'Macintosh HD:Users:gabriel:Documents:Pessoal:2013:[Home 2013.xlsx]Janeiro'!$D$374'
    Thank you!!
    Gabriel

    Hi Gabriel,
    I suppose you could cut and paste formula results to a tab in our new spreadsheet document if the vlues you want are contained there. There are some people who have written scripts to import data from different docs. But no, Numbers does not support links between docs.
    quinn

  • Creating Complaints/Returns from external reference for Billing Documents.

    Hi Experts,
    I have question regarding Creating Complaints/Returns from external reference.
    My requirement is to fetch data for Billing Type, Billing Documents and other related from ECC system and to create Complaints/Returns using the same in Web UI.
    Is there any SPRO configuration as such so that we can pinpoint to the ECC system where it should fetch the data or is there be a custom development involved for the Drop down lists in Web UI?
    I know about the BADI CRM_COPY_BADI_EXTERN which is triggered when creating using reference, but I am not able to see where the method SEARCH_HELP_FOR_EXTERN_DOC or GET_SEARCH_HELP are triggered.
    I have gone through many forums within SDN but not able to find any solution. Please help!
    Regards,
    Mahesh

    Hi Ly,
    I wouldn't be able to share the code with you, but I would ask you to check with the functional counterpart regarding the important fields that are to be copied.
    What I did in my case is, based on the Billing document number passed from CRM in the RFC I hit the tables VBRK and VBRP for header and item data respectively.
    For pricing I passed the relevant fields from KONV table (KSCHL, KWERT, KAWRT etc..)
    For document flow VBFA.
    For partner VBPA.
    I faced issues only with pricing as there were many settings and pricing routine logic differences between CRM and ERP.
    Regards,
    Mahesh

  • Userexit or BADI to change service price when create PO reference from PR

    Hi,
    I need userexit or Badi to change the gross price ( ESLL-TBTWR ) when create PO reference from PR.  Currently , when I do this it will recalculate the gross price based on the service master and ignoring whatever the price put in PR.  Could anyone tell me userexit or Badi that would allow me to change the price when i create PO from PR via ME21N.
    Thanks,
    Gilbert

    Hi Gilbert,
    You can try using Function Exit EXIT_SAPLMLSP_030 of Enhancment SRVESLL.
    This Function Exit has ESLL data as changing parameter.
    But this Function Exit is called from a number of transaction. So do put in correct checks (like sy-tcode or sy-ucomm) before substituting any values. If proper checks are not put in then values may be substituted when this function exit is called from other transactions (like tcode "ML81N").
    Hope this will help.
    Regards,
    Abhisek.

  • Create subVI Control from Reference Name Bug

    If you connect N references to a sequence structure and create a subVI from this structure, the first N-1 controls will have the name of the original control (desired), but the last one will not. It will have the name of the generic type of the control this reference is pointing to. Of course, if N = 1, that means that the created control will have the generic name.
    Illustration:
    In the diagram above, subVI 1 has been created from a sequence to which a reference to "Numeric Control" was connected. Here is the FP of that subVI, as created by LV:
    subVI 2 was created from a sequence to which both references were connected. Here is the FP of that subVI:
    This does not seem to depend on the type of the control. If I add a graph:
    the created subVI looks like this:

    Kind of an extension of this bug, but not exactly the same. Might be due to the same cause though
    If you create a subVI incorporating Property Nodes (not recommended in general for performance reasons, but not a killer either), the subVI will obviously have references to the corresponding controls as controls and references to the controls will appear in the calling VI:
    Before:
    After:
    (it never ceases to amaze me how bad the cleanup/auto-routing algorithm developed by NI is :-)
    Here is the corresponding FP of the created subVI:
    This time, never mind the names of the original controls, they will be ignored, no matter how many different controls there is.
    (I am not even mentioning the well-known feature that if instead of enclosing the property nodes you just enclose the wires coming from the "Value" node, the subVI's controls will read "Value, Value2", etc, where the type of the "Value" controls will in general have absolutely nothing in common).

  • How to create Project IMG from Reference IMG in Solution Manager

    Dear All
    I am new to solman, and need to create project IMG. can someone provide me step by step guidance to create Project IMG from Reference IMG in Solution Manager. Point swill be awarded.

    >
    Nayab Nayab wrote:
    > I am new to solman, and need to create project IMG. can someone provide me step by step guidance to create Project IMG from Reference IMG in Solution Manager.
    See [Configuration Guide SAP Solution Manager as of SP15|http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000673252&_SCENARIO=01100035870000000112&_OBJECT=011000358700000155252008E]  pages 8 - 10.
    Best regards,
    Ruediger

  • Sales Order CReated with Reference

    Hi,
    I created a sales order with reference to an existing order. I created delivery based on the new order that was created with reference. HOwever, if i try to get the sales order number of my delivery, the sales order that i am getting is the sales order number that was referenced. How will I retreived the new sales order number from VBFA?
    Thanks,
    Louisse

    Hello,
             We can follow the below Procedure to get the Sales Order Number from VBFA Table.
    1. Input the Delivery in VBELN field to get VBELV (Sales Order)
        Number with VBTYP_V = 'C' (Order). 
    2. Now, if the Sales Order which is fetched is the one which is
        referenced, then Input the Sales Order Number again in the
        VBFA Table into the Field VBELV and fetch the Sales Order
        Number (New) in the VBELN Field with VBTYP_N = 'C'.
    3. You should be able to satisfy your requirement.
    Hope it was clear.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • Sales Order Created with reference to Contract - Exchange rate Issue

    When Sales Order created with reference to contract VBKD fields KURSK and KURSK_DAT gets copied from contract and not redetrmined based on pricing date and Exchange rate type. I expected it to be determined based on pricing date is standard. What I am missing, should it be controlled by data transfers
    If Document currency and condition currency are different it cause problems with incorrect condition values are calculated, as KOMP-KURSK are copied from VBKD-KURSK
    Any help or directions would be greatly appreciated . We are on 4.7 ISOIL
    Sincerely Julietta

    Well,
    and if we have the same issue, but we don't have OIL Version, but simple 4.6C, which solution has to be applied then?
    Thank you
    Standa

  • Add pricing condition within order created with reference to SPA

    Hi,
    I have a requirement wherein I need to add a $50 fine to order if the total order weight is below 75 kg.
    Problem I am facing is with orders created with reference to SPA wherin pricing is not calculated but copied from SPA.
    Please help me in solving this issue.
    Also, Please let me know the pricing userexit / BADI for CRM wherein this can be coded.
    Regards,
    Willban
    Edited by: willban_sap on Jul 21, 2010 11:43 AM

    Hi Willban,
    wonder wether you could use any weight dependent (net or gross) group condition with a scale. Delow 75 kg across all grouped items you would charge 50 $ and starting at 75 kg you would charge 0 $. As the scale base should get adjusted with the copy / create with reference step, I see no need for custom code.
    Best Regards,
    Michael

  • Credit memo to be created with reference to return delivery

    Dear Gurus,
    We have a requirement for mapping return process
    Credit memo to be created with reference to return delivery (instead of with reference to return order)
    Following issue faced in mapping the same:
    Billing document No. 1234 dated 25.03.2010 where there is 4% VAT.
    when we are creating return order with reference to billing document 1234
    4% VAT is calculated since the Service Rendered date is 25.03.2010 (Copied form Billing document)
    return delivery is created today 08.04.2010. (VAT revised to 5%)
    when credit memo is created with reference to delivery document
    VAT is calculated 5% which is applicable from 01.04.2010
    since the service rendered date is appearing in billing document
    08.04.2010 (the date of Post Goods Receipt).
    The VAT should be actually 4% in Credit Memo.
    regards,
    Rajesh T

    In the copy controls from delivery to Invoice, at the item level try to use pricing type C and Pricing source Blank ( Blank is order).
    If it doesnt work , then you might have to go for a requirement routine for this Tax , based on the document category that is being processed, read the tax from the originating order.Assign the routine to tax condition in the pricing procedure.
    Regards
    Sai

  • Enable - Create With Reference in Sales order

    Hi All,
    I want to enable - Create With Reference in Sales order
    We have 1 billing doc type YX1 to be used as reference for a sales order type ZX3
    How to enable Create with reference from Sales Document type YX1 to Sales Document type ZX3.
    Currently, I am getting error 'Copying from sales document type YX1 to ZX3 is not supported'.
    Please let me know the steps to be followed.
    Thank you!
    Regards,
    Shanu Jain

    Hi,
    The error clearly suggests that there is no copy control maintained b/w invoice YX1 and sales order type ZX3. You need to maintain that in SPRO > Sales and Distribution > Sales Documents > Copy control for sales documents. (You may check the correct node here). Here, you select the billing document to sales document.
    Check for source and destination. You can take the source as F2 and CR (if ZX3 is a credit Memo request) as Destination document. You can copy the same and change the source and destination as YX1 as source and ZX3 as destination. Then, at the item level, if you have a new item category you can specify it as the 'Proposed Item Category'. Save it.
    Now try to create the sales document ZX3 w.r.t YX1... It should work.
    Hope this helps
    Thanks
    Mukund S

  • What is the pin map for chip select on LM3S8962 for "ARM SPI Create Configuration Reference.vi" ? (0 through n)

    Hello All,
    When the LM3S8962 is the master, what pin is used when chip
    select is the default (0), or another value ?
    Despite this question being asked a few ways in the forums,
    NI's "ARM SPI Create Configuration Reference.vi" documentation
    for chip select is unclear.
    TI's manual is no help for NI's implementation of chip select.
    NI's help for the above subvi seems not only too generic (perhaps
    written for the SDK ?),  but erroneous in that it reads:
    "chip select specifies the chip select line to assert during the
    SPI transfer. The chip select line must connect to the EEPROM
    on the
    microcontroller. Refer to the documentation for the SPI
    device for information
    about chip select lines."
    This is useless as the ARM microcontroller has no EEPROM and 
    the SPI slave device documentation only covers its own pins.
    The hope is to have more than one slave on the LM3S8962's single SPI bus,
    without chewing up a additional pin using elemental I/O like the splendid forum
    examples for ADC's and DAC's.  This would save diagram real estate compared
    with two sequence frames that are typically shown toggling a elemental I/O digital
    output before and after writing and/or reading from the slave.   It also would clarify
    what on chip resource trade offs there are for each chip select number chosen.
    (as most pins have multiple possible functions)
    Thanks in advance for any light on this.   Please don't post info on other processors
    to this thread as this taints future searches on this issue with this tier 1 target.
    Best,
    Davy

    Hi Davy,
    While doing research on this question, I was informed that you have been working with a colleague of mine, Joel, via email for this same question. So that we do not have multiple engineers working on the same issue, Joel will be your point of contact for this issue. I ask that when you have come to a resolution, that you post that resolution here so that other customers can reference this information.
    Thanks!
    Aaron P
    National Instruments
    Applications Engineer
    http://www.ni.com/support

Maybe you are looking for