Problem output transaction VF31 invoice

Hi developers,
I have a problem because I print an invoice with VF02 transaction and the system print two page, in the first page I have a normal print in the next page I have the print with the message COPY also when I repeat the print, this is a correct situation for me.
When I print the same invoice with VF31 the system print always two page with the message COPY that is an error for me.
Can you help me
Tkanks in advance
Domenico

select objky
         kschl
         erdat
         eruhr
         vstat from nast into table gt_date
         where objky eq gv_del_num.
  if sy-subrc eq 0.
    sort gt_date by objky erdat descending .
    describe table gt_date lines lv_n.
    if lv_n gt 1.
      gv_repeat = lc_x.
    endif.
    read table gt_date into gwa_date index 1.
  endif.
if the value is GT 1 this will be copy of form....

Similar Messages

  • Transaction VF31

    Hi,
    Requirement:-Invoice print should come in the sequence of customer.
    Requirement is such that user has sorted the output of VF04 as per customer now there is an radio button name as collective billing after hitting collective billing spool is getting generated but in random as per the requirement it should be in same sequence of sorting.
    Looking forward:-
    Suggest me how to execute transaction VF31.
    As per the other's suggestion i am trying with transaction "VF31".It is not getting executed even though i have entered correct selection criteria.
    Any pointers for the same.
    Regards,
    Dharmesh

    hello, friend.
    when using VF31, you must determine if this is for first time printing or reprocessing.  there is a field that you can input for proper selection.
    second, you can select invoices only these documents already have a proposed output type.  if there are none, then you would have create output condition records using VV31 (assuming configuration is complete).  for details in outputs for billing types, please search existing threads.
    regards.

  • Warning message in Transaction VF31

    Hi,
    I want a warning message in transaction VF31 and my system is ECC 5.0.
    I couldnt locate any billing exit.
    Is it possible to throw a warning message in this case?

    Hi Ronaldo
    I do agree that it is a standard  program and that is why Copying of  standard  program to Z program and assignment of that Z program will be correctly done my the Technical consultants . So its better to take help of the technical consultants So that we wont face any problem when we run VF31 again after changing the program
    Regards
    Srinath

  • Mass output of SD Invoices..?

    Hi,
    I apologize for the newbie question, but I've searched the NW 7.02 IS-U ERP System, the SCN and google up and down for good part of 2 days already... By now I'm reduced to staring blankly at SD70AV3A and WFMC_ function modules. Could you confirm or dispel my fears please: is there really nothing besides VF31 in SAP ERP to do mass output of SD invoices out of the box? Or am I just failing miserably in my searching..?
    And if that's the case, how would you go about trying to organize mass output into something that has identifiable, user scheduled "Output Runs", with protocols stored in application logs - program everything from scratch, program on top of WFMC_ FMs, on top of something else?
    I'm simply looking for opinions of people other than those who help us with the maintenance of this SD thing here...
    Thank you
    Jānis

    Thanks Suneet and Seegal. Yes, I've seen RSNAST00 too, and one can execute SD70AV3A in background too. My main beefs with the offered functionality are:
    - there seems to be nothing persisted anywhere that could be called "SD Invoice Output Run" - something that says: on so and so date and time, with such and such parameters, so and so executed invoice output run, which processed these Invoices;
    - so far as I can see, the NASTy protocols are not persisted as Application Logs, so I think I can't easily set up EMMA/BPEM exception/clarification case processing for these processes (FM WFMC_PROTOCOL_SHOW does transform the protocols to Application Log temporarily, to display popup; FM CM_F_TRANSFER_INTO_APPL_LOG has no static uses in our system)
    And the one thing to expect during mass output in my experience is exceptions and the need for clarification - lots of it. There may perhaps be ways how I could program own logic to get EMMA/BPEM to work on NAST stuff, but then I could of course try to program the whole SD invoice output application from scratch as well...
    I may be too used to IS-U/FI-CA way of doing things and/or too impatient in expectting the results after looking at stuff for couple of days, but I expect any "Mass Activity" to result in an identifyable and persisted "Run", which lets to to see the start parameters, the stuff it processed and the Application Logs (no, SM37 Job is only a poor replacement for that). The self-learning process for SD output processing seems to be very difficult... my initial (and perhaps too hasty impression) of the functionality is - this is "stone-age" . I've reacquired lots of respect for IS-U/FI-CA developers from looking at SD Invoice output and now think that it was a collosal mistake not to try to integrate SD billing documents into IS-U Invoicing...
    Thanks again and cheers
    Janis

  • Problem While saving the Invoice

    Dear Experts,
                      I am facing the Problem while Saving the Invoice, In invoice, We assigne the Output as RD00 and Medium as 6 (EDI).
    When we are saving the Invoice, it getting as ' Updated Terminated'. When i found where the Error is coming in SM13, it showing in as Function Module "RV_MESSAGE_UPDATE' & Error Details is 'EAN11 not found for Material'.
                     But in Invoice whatever we enter the Material number, we maintain the EAN11 code. This EAN11 code is seen in MARM & VBRP Table. Unable to find the what the exact error is.
                   please help me to sort this issue, Its business complicated.
    Thanks in Advance,
    Srini

    Hi Asik,
              Thanks for your valuable Message.... I run as you suggested, but the dispatch time i kept as 1 or 2. because the program RSNAST00 is picking the values only for 1 or 2. so i run manually,, as of now the issue is, in the invoice number, for one material number, the Billed quantity is zero, so the UOM is getting as initial. From those vaues we are picking the EAN11 from maram table.
    So, i modify that and run the EDI manually. As of now its working...
              Thanks for your reply,,,
    Regards,
    Srini

  • Output for custom Invoice

    Hi,
    Is there any standard output for custom Invoice in SAP?

    Hi Lalit,
    Sure, have you ever checked condition type RD00 in transaction V/40?
    Hongyan

  • Problem in punching AP invoice.

    Problem in punching AP invoice afetr upgrade to ERP R-12.

    Hi,
    Can you please be more specific about what the problem is?
    Cheryl

  • Problem in capturing excse invoice

    Hi,
    I am facing a problem while capturing excise invoice. I made goods receipt with reference to a single PO containing 3 line items by 101 mvt type. after that i reversed that document using mvt 102 for line item 2 and 3. Now the Original GR document contains only line item 1.
    But while capturing Excise invoice with reference to the GR docuumber, system is showing message Document 9000005126   does not contain any selectable items.
    Please suggest me how to capture excise invoices in the above scenerios.
    Thanks
    Prasant,

    Prasant,
    U said u have made 102 GR cancellation.While doing 102 mov type system will cancel whole document not 2 & 3 document.
    So check whether this happened or not.
    Thats why there is message of No selectable items.
    Thanks & regards
    Gitesh

  • Problem with transacted JMS connection factory and transaction timeouts

              We encountered an interesting problem using transacted JMS connection factories.
              An EJB starts a container managed transaction and tries to validate a credit card
              before creating some information to a database for the user, in case of success
              an SMS is sent to the user via the transacted JMS queue. If the credit card authentications
              duration is about the same as the transactions timeout (in this case the default
              30 seconds) sometimes the database inserts is committed but the JMS insert is
              rollbacked. How can this be?
              If the authorization duration is much longer than 30 seconds everything works
              fine (both database and JMS inserts rollbacked), the same is true if a rollback
              is insured by calling EJBContext.setRollbackOnly(). The problem thus occurs only
              if the duration is approximately the same as the transaction timeout, it appears
              that the database insert is not timeouted but the JMS insert is. How can this
              be if they are both participating in the same transaction.
              The JMSConnectionFactory used is a Connection factory with XA-enabled. The result
              is the same also with the default "javax.jms.QueueConnectionFactory" and if we
              configure our own factory with user transactions enabled.
              Any help appreciated!
              

    Tomas Granö wrote:
              > We encountered an interesting problem using transacted JMS connection factories.
              > An EJB starts a container managed transaction and tries to validate a credit card
              > before creating some information to a database for the user, in case of success
              > an SMS is sent to the user via the transacted JMS queue. If the credit card authentications
              > duration is about the same as the transactions timeout (in this case the default
              > 30 seconds) sometimes the database inserts is committed but the JMS insert is
              > rollbacked. How can this be?
              It should not be.
              >
              > If the authorization duration is much longer than 30 seconds everything works
              > fine (both database and JMS inserts rollbacked), the same is true if a rollback
              > is insured by calling EJBContext.setRollbackOnly(). The problem thus occurs only
              > if the duration is approximately the same as the transaction timeout, it appears
              > that the database insert is not timeouted but the JMS insert is. How can this
              > be if they are both participating in the same transaction.
              >
              > The JMSConnectionFactory used is a Connection factory with XA-enabled. The result
              > is the same also with the default "javax.jms.QueueConnectionFactory" and if we
              > configure our own factory with user transactions enabled.
              >
              > Any help appreciated!
              Make sure that your session is not "transacted". In other words,
              the first parameter to createSession() must be false. There is an
              unfortunate name re-use here. If a session is "transacted", it
              maintains an independent "inner transaction" independent of the
              outer transaction. From the above description, it seems unlikely
              that your application has this wrong, as you say that
              "setRollbackOnly" works - but please check anyway.
              Make sure that you are using a true XA capable driver and database
              (XA "emulation" may not suffice)
              Beyond the above, I do not see what can be going wrong. You
              may want to try posting to the transactions and jdbc newsgroups. Note
              that JMS is appears to be exhibiting the correct behavior, but the
              JDBC operation is not. The JDBC operation appears to have
              its timeout independent of the transaction monitor's timeout.
              Tom
              

  • Problem on Posting Parked Invoices during MIRO

    Hi SAP Gurus!
    Good day! I'm experiencing a problem during posting Parked Invoices thru MIRO. First I've parked invoices thru MIR7, then when I go to MIRO to post the invoices, the Parked Invoices are not reflected in the "Worklist". What is the possible problem here?
    Hope you can help! Thank you.
    Mik

    Hi Gurus!
    Thanks for the input, but I want the parked documents to be reflected in the posting of invoices (MIRO).
    Actually, in both DEV and QAS servers, the parked invoices are reflected, but in PROD server it is not reflected. I don't know what happened. Can you please help.
    Thank you.
    Mik

  • Probleme with transaction in session beans

    Hello.
    i create an session bean which call enties beans.
    When i execute un example first time, its correct.
    when i execute for second time, the methode don't stop.
    i think it is problem of transaction.
    thank you

    Hi,
    It is impossible to answer your with the given information. When ever you are asking a question please put the relavent informatin like code and deployment descriptors. So please do post the required information.
    Ashok

  • 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

  • Output determination for Invoice

    Hi
    Pls help me with the configuration details for setting message/output determination for Invoice.

    Hi Vijay,
    Please have a look at the link
    <a href="http://www.erpgenie.com/sap/sapedi/messagecontrol.htm">Invoice Message Control Configuration</a>
    Hope this Help you,
    Regards,
    Lijo Joseph

  • Ecess % problem  in Purchase Return Invoice

    Dear Freinds,
    I have an issue , I am executing a Purchase return cycle for an item, the BED, Ecess, SE Cess, for this material is zero, it carries only 13.5 VAT, accordingly I have maintained the Condition for this tax code in FV11,  I remove an Excise Invoice for this transaction, the Invoice copy shows 2% for Ecess even though no value is maintained for this condition type for the tax code in Fv11.
    I checked J_1IEXCDTL  table in SE11 , the value is showing 2% , even though I have maintained no value in Fv11, and  the PO shows O%.
    Kindly guide me to resolve this issue.

    Hi !
    I dont want excise data for this transaction, Can u  explain in detail  about removing data from Import data in Material Master.
    And let me again clarify things more properly the value of Ecess is not calculated , only the percentage (2%) is seen in the Purchase return Invoice out put, even though no value is maintained  in FV11.
    I hope the explaination is clear.

  • Problems with transaction CJ20N

    Hello Experts,
    I have created a tooling asset with transaction AS01 and I have some problems with transaction CJ20N.
    I would like to know how can we Link the Asset already created with the WBS by transaction CJ20N.
    Thanks
    Ferdaws

    Hi Ferdaws,
    In the asset master (AS02) you can maintain the WBS element in Time Dependent data.
    For maintaining the WBS element in asset master, first you have to make WBS element optional entry in Screen Layouts for Asset master data.
    Kindly check with this.
    Best Regards,
    Vasu.

Maybe you are looking for