Changing output type in invoice

Hi All,
I need to attach the output type in alraedy processed invoices but as the invoices are in display mode in MIR4 I am not sable to do so.
Please advice how to do the same.
Thanks and Regards,
Manu
Edited by: Manu Agrawal on Sep 23, 2008 7:40 AM

Hi,
you must use something like
int32 out[50][50];
int32 j, k;
if (i==0)
for (j=0; j<50; j++)
for(k=0; k<50; k++)
out[j][k]=in1[j][k];
else
for (j=0; j<50; j++)
for(k=0; k<50; k++)
out[j][k]=in2[j][k];
I think this is because formula node must be precompiled before execution of your VI. In your case it doesn't know how to address different array elements of "in1" and "in2" because it doesn't know its sizes before you start your VI. In my example I specify the adresses of array elements by using indecies [j][k].
In any case it looks like you can't make direct assignment of arrays like "arr1=arr2". You always must assign its elements in a loop like "arr1[i]=arr2[i]".
Good luck.
Oleg Chutko.

Similar Messages

  • Assignning Output type to Invoice/Po.

    Ho Folks,
    is there any userexit in the Invoice print/po print for assigning the exact form to an output?
    I have different forms for each country right now.
    I would prefer not to setup an output type (email) for every country unless I have to. 
    The best solution would be a userexit so that I can build a table to assign the correct form.
    is there any user-exit or program so that i can assign?
    Amit.

    Hi Amit,
    These are the User Exits available in the billing please go through this and choose one of them which will sute for you with the help of ABAPer.
    User Exits For Billing
    USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ)
    The internal number range used in the standard system is specified in the billing type table and can be changed in this user exit. This user exit is only called when the billing documents is created.
    USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMKCV (header fields).
    USEREXIT_ACCOUNT_PREP_KOMPCV (Module pool SAPLV60A)
    In this user exit additional fields for account determination that are not provided in the standard system are copied into communication structure KOMPCV (item fields).
    USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    Depending on the number range, table TVFKD is used to set the billing date (country-specific requirments in Italy). USEREXIT_NUMBER_RANGE is automatically deactivated when this user exit is being applied.
    USEREXIT_FILL_VBRK_VBRP (Module pool SAPLV60A, program RV60AFZC)
    This user exit is only called when the billing document is created. It is used to provide the header and the item of the new billing document with deviating or additional data.
    USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB)
    Printing the item line of a billing document can be supplemented or changed.
    USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Printing the header line of a billing document can be supplemented or changed.
    User exits in program RV60AFZD
    Short descriptions of the user exits are contained in the program:
    USEREXIT_RELI_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAK_AVBPAK
    USEREXIT_NEWROLE_XVBPAP_AVBPAK
    I hope it will help you,
    Regards,
    Murali.

  • Controlling time of EDI dispatch in output type for invoice

    Hi Gurus,
    I am trying to change the setting for invoice dispatch through EDI
    Currently the system is set so that invoice is sent (EDI) upon saving - and the desire it to make a manual decision when to send invoice
    I have looked at output types in SPRO - but could not figure out how to change the setting - it is not allowing me to change. Am I missing something?
    Any tips / tircks / suggestions?
    Thanks. - this is urgent as YE closing nears

    Go to V/40 .
    select the output type that you are using for Invoicing.
    double click it.
    go to Default Values tab .
           Change the Dispatch time to 1. Send with periodically scheduled job. .
    Now the invoices will be posted only when you run the program RSNAS00.
    IF this doesn't work out, Change it at COndition record level.
    Regards,
    Ajai
    Don't forget to reward points if useful.

  • Change output type of Purchase Order

    Hi All,
    Is it possible to programmaticlly change(or add) the output medium in transaction me21n / me22n when a user creates a PO?
    I've been able to config the system to allow the PO to either be emailed or faxed upon the user saving. There is a requirement that when the user clicks the save button through a pop up window they can either choose fax or email, and it must then either fax the PO off, or it must email it depending on what they selected.
    Is this possible?
    Thanks!

    U can do it, provide the desired Output types are configured in NACE.
    Just look it in NACE > Output types 'EF'  and select NEU click Processing routines,see what all output types defined.
    Now Goto> tcode ME23n> choose an order> In essages>Check wether message type has the medium FAX or Email. Set the message Output type for ur desired and save,
    Click on Further data and select at the time of saving.
    For FAX  you have to make some technical customizing in transaction SCOT in order to configure Fax connexion from SAP and then set the file fomrat you want for fax.
    Remember that if you want to send Fax directly from SAP, SAP need to be connected to a Fax Card or a Fax Server .
    Edited by: Bala Krishna on Aug 13, 2008 9:42 PM

  • Changing document type for invoice

    hi i posted invoice with doc type vendor invoice in detailed tab
    then i reverse it credit memo by mistake i used doc type vendor document
    then i again invoiced with doc type ven invoice
    now i want to change the doc type of reverse from vend doc to vend invoice
    plz help

    Hi,
    In MR8M you can cancel the Invoice document.
    Credit memo is raised when material is returned to vendor or if there is any Qty variance in PO qty.
    You hve to cancel the first Invocie in MR8M transaction then you hve to post it in with correct data.
    Try to cancel the Invoice and Credit memo in MR8M and post with correct data.
    Can you tell me why you want to change the document type ?
    reg
    Du

  • Output Type for Invoice document

    Hi,
    The Output Message for Invoice Document was not created during MIRO in 2004. So no output generated & user cant able to take invoice printout via MR90.
    Now user needs to output the message & take the printout. How to create the output type (tcode) for invoice document.
    Regards,
    Baskar

    Hi
    Follow this
    Goto Tcode NACE ...select application MR ...click output types .... here create a copy of ERS and name it as say INVS
    Now again in NACE slect MR and click on condition records and maintain condition record for INVS wrt co code
    Now in Tcode M808 maintain INVS in the schema MR0002
    Now when u create a MIRO doc then at header level do check if print is getting activated or not
    Then take print out in MR90 tcode

  • Attachment of output type to Invoice

    Each type after i create a Invoice i have to go into Header and assign the output type (RD00) for printing purpose is there any other method wher i can give it commonly,  so that i dont have to go and give it every time i create an Invoice. Like some mass attachment//... Please help me frnds.

    Hi,
    Output determination works as per follows:-
    1.First you will have to create a output type.
    2.Assign output program to this output type either SAP script or Smartform.
    3.Assign this output type in output determination procedure along with the desired access sequence.
    4.Assign this output determination procedure to your document type Order/Delivery/Billing
    5.Maintain the condition record for the access sequence or you can maintain manualy in order/delivery/Billing
    6.You can also add the output type manually in the order/Delivery/Billing.
    Reward points if helpful.
    Regards,
    Amrish Purohit

  • Want to change output type for 10000 sales orders through MASS

    Hi Friends,
    I would like to change the Output type in the sales order for 10000 sales orders.
    Can I do with MASS transaction. If so, Plz let me know how ?
    Is there any other process to change the output type for 10000 sales orders, as its difficult to manually in each and every sales order.
    Its very urgent issue, Plz let me know at the earliest.
    Thanks & Regards,
    Praveen Kumar. A

    This may be little tough for 10000 sales orders.
    1. You have to remove the output record for the irrelevant output record using tcode VV12 for the relevant document type. So now for the document type, the old output wont be triggered.
    2. Now, create output records for hte correct output type in VV11 tcode(for the output type BA03) for the document type. Now this output will be triggered for all the document types you are creating from now onwards.
    3. To trigger the output type BA03, in all the old orders, you just have to open these sales orders in change mode (VA02), and just save it. When u open it the output type BA03 will be automatically triggered as the master data is maintained in VV11. But because just opening all the 10000 sales orders in VA02 one by one be a mechanical task, you have to think of some tool for this.
    May be a CATT procedure can do the trick. Else, you can just create a small program, where you can upload these sales orders and the program will just open these orders in change mode and just saves it (without making any changes). Then the output will be retriggered.
    Here again, if you are printing the output directly, it is advisable to trigger the output in batch mode(Date/Time field is 1 in VV11), and then you can again trigger the printing again using the program RSNAST00 after office hours for these 10k orders.
    I hope I answered ur query.
    Pls lemme know if you need some more info. (You can reward me too...)

  • Default Output type for Invoice

    Hi Friends,
    I need to get the defualt condition record for an output type when I create an Invoice. When I go through menu GOTO -> HEADER -> OUTPUT, I have to see the defualt output type there. Somebody please help me out in this regard.
    Thanx in advace,
    Ram

    In the field for the output, check F4 help to check if any outputs are assigned to the Invoice.
    Also, check the output determination attached to the billing document.
    IMG-SD-Basis function-Output control-Output determination-Output Determination Using the Condition Technique-Maintain Output Determination for Billing Documents.
    1. Check the transaction V/25 for the Output procedure attached to the Billing document.
    2. In the output determination procedure, check the output types attached along with if any requirement.
    3. In t-code, V/40: check the condition type details.
    Regards,
    Gauravjit.
    Reward points if helpful

  • Maintain Output type for invoice

    Hi experts ,
    I am using a bapi "BAPI_BILLINGDOC_CREATEMULTIPLE" for inter company billing and its working fine but it is not maintaining the output type for print this invoice from vf02/vf03 ...
    Is there any BAPI to save the output type and device whenever invoice document is created ...
    Thanks & Regards
    Alok Vishnoi

    Hi Alok,
    Output types need to maintained in the system through transaction NACE. Your program would be triggered by a concept called message control.
    For maintaining your program and the corresponding smartform you need to know the correct application area for its maintenance in NACE. For this you need to take the help of functional guys to determine the output type that your program is triggereing and the necessary maintenance that needs to be done.
    In order to understand the concept of message control please go through the link below:-
    http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm

  • PO Change output type

    Hi Team,
    I have created one Z-filed (Customised filed) in the Purchase order ,but when i do any change in that field the change output condition type is not triggering .
    I want when i should change any value in the customised field the change output condition type should get trigger , So can you please help me what configuration i need to carry out to achieve this...
    Regards
    Tara

    Hi,
    Go to SPRO > MM > Purchasing > Messages > Fields Relevant to Printouts of Changes - Here add the Z-field with Table Name.
    And then under option SPRO > MM > Purchasing > Messages > Output Control > Message Types > Define Message Types for Purchase Order > Fine-Tuned Control: Purchase Order - Here add o/p type with operation 2 i.e. change.
    And now check the same in PO.

  • HOW TO TRIGGER AN OUTPUT TYPE ON INVOICE SAVING

    I need to write a routine to trigger a specific ouput type on invoice saving for a particular pricing condition.I have written the code within the routine.But now what do I do to trigger the output type , I mean in which transaction do I place the routine
    to make it to trigger when the invoice is saved if the given condition is satisfied

    Hi Shah,
    You need to assign that routine in your billing outptut determination procedure control data then specic the the condition type.
    IMG path is
    SPRO>Sales and Distribution>Basic functions-->Output control >Output determination>Output determination using by the condition technique >Maintain output detrminetion for the billing documents>Maintain output determination procedure-->Control data.
    Before tha you make sure that you are maintaining condition record for that output type in VV31 transaction
    I hope it will help you,
    Regards,
    Murali.

  • How to find out program name to the corresponding output type of invoice..

    hi ALL,
    I want to findout program name to my output type.
    For one invoice functional peoples are configured. Here i know the outtype. But i don't know the program name .
    Can any body please tell me how to find out the program name for the output type..?

    Hi,
    Goto NACE t-code
    Select Billing (V3)
    Press 'Output Types' Button
    In the next screen select the corresponding output type you want.
    Then press 'Processing Routines' in the left pane. You can see the program name
    Cheers,
    Kothand

  • Problem in sales order change - output types

    hi,
    my output types is not displaying after i saved my output type
    i assigned the Output message and saved it thru
    Menu path : Extras->Output->header->Edit     
    when i viewed my thru Initial Screen from Menu Select : Sales Document->Issue output to...
    my output types is not proposing .
    Ganesh

    check out the outtype determination in
    SPRO->SALES & DISTRIBUTION->BASIC FUNCTION->OUTPUT CONTROL->OUTPUT DETERMINATION.
    PLEASE REWARD IF USEFUL.

  • How to change output type of MI21 transaction ?

    Hi All,
    Whenever I am executing the MI21N transaction, its default output type is SAP Script.I want to get this output as a SMARTFORM. How can I do that ? Kindly advise on the same.
    Regards,
    Ankur Mishra

    Hi Ankur Mishra,
       Are you planning to print Physical Inventory Documents through Smart forms (MI21)? As this is related to MM, please post your question on SAP MM forum.
    With Regards,
    Srinivas

Maybe you are looking for

  • Signing up and getting started with HP INSTANT INK

    Signing up and getting started with HP Instant Ink Note: your printer must be connected to the Internet through a wireless connection. How does HP make sure you'll always have ink? Your printer uses the Internet to let us know when to send more ink.

  • SNR License Issue. How Can I Disable SNR for all Users?

    Hi, I Have an issue with SNR on CUCM 10.5 and with assignement of license type I have a cluster with 400 users. 200 users use ip phone 3905 and should be use an Essential License. When system check for assignement of license type , itassign a Basic L

  • Looking to use DG Broker to create new standby database

    Hello, I'm looking for a good document that can help me to create another standby database on a new server. I'm running Oracle 11.2 EE on Solaris 10. We already have one standby database, but now, I want to create another standby database on another

  • Using Volume Keys to Change Walkman Tracks

    Hi Guys, Is there a way to change the playing tracks in walkman app without going to the screen? In my previous walkman phone, you could do that by long pressing a volume key or even shake control I heard in other models. Not able to do that in Z1. S

  • Where did my photos on my iPhone go?

    I have the iPhone 4 and I updated to ios5. Recently a good chunk of the photos I had saved on my phone disappeared. The ones that disappeared were more recently taken and my oldest ones from july are still there.  I don't know what happened bc I didn