VF04 Invoice Type Determination

Our company has one sales order type and one delivery type, but many types of invoices. So copy control its getting defined by user profiles ( the user in Plant A only can enter Plant A invoices)
I am trying to set up the collective invoice procedure in VF04, but the type of invoice proposed by default its taken from the field on VOV8 sales document type.
So I left it blank in VOV8, and went back to transaction VF04, run it again, and it suggested invoice type F2. So I went to copy control VTFL and deleted the link between delivery type and F2 invoice.
I was expecting SAP to default blank or with the next match on VTFL for that type of delivery, instead its given error VF027 because its still proposing invoice type F2 even there are other valid matches for Invoice - Delivery type in VTFL.
What I am looking for its where in SAP this invoice type its proposed for VF04 collective invoice, and check if it is possible to assign it to plant.
Otherwise I will assign invoices to deliveries types, and restrict user profiles for deliveries, the problem its that in our main plant there are 3 types of invoices and there would be a risk of the user there to pick the wrong delivery. This problem already has happened in our current invoice-type-by-user-profile system we currently use.
Thank you.
Edited by: Carlos Salazar on Sep 2, 2010 6:56 PM

Thank you Ivano,
I want to assign the billing type by delivery type, right now I have VOV8 for invoice type blank for my sales order, and it defaults to F2 invoice type, even thought the link its gone from VTFL.
I see that field VKDFS-FKART comes from table TVFK, but I dont know where those values come from or how can I set up a different default determination for my delivery.
I thought that if there were only one choice for my Sales Order-Delivery-Invoice-types in copy control, it will default to that invoice in VF04 but now I see that it does do not happen .
Regards,
Carlos

Similar Messages

  • Excise invoice type determination

    Hi All
    I am trying to create a CT1 sales process where, I have to create an ARE 1 document for it
    WHen i am creating an excise invoice the system is treating it as a domestic sales because the customer currency is INR.
    The system is not proposing the excise invoice type to BOND/NoBOND/LUT. But in my case system is showing it as Local/Deemed.
    I have defined default excise groups and series group also for it..
    System is not determining based on it
    I have even removed the dedault excise group and series group and tried but  still the problem persist.
    Basically system is not determing the excise invoice type based on defautl excise group and series group.
    I have tried one more scenario.. For an indian customer i have assigned a foriegn currency in customer master data and tried it
    then it is working fine
    In my case the sold to party and ship to party both are domestic only
    Pls suggest your inputs

    Hi
    The system will understand it as Exports only when the Customer currency should be other than INR also your Sales Doc currency.
    Then only when you create a Excise Invoice you will be able to select the EXPORT INVOICE TYPE as whether NO BOND/LOUT/BOND etc.
    Else may be use the user exit "Userexit redetermine excise invoice type"
    regards
    Prashanth

  • Customer Invoice Type Determination

    Hi SCN,
    I'm an ABAP developer and I'm currently developing some SD forms.
    I want to store in the SAP system how the customer wants to receive his invoice (by mail or as a print-out).
    Is there a standard way of holding this information?
    Thanks in advance.
    Kind regards,
    Niels

    Dear Niels:
    In customer master data, you can enter the communication method.
    Check it and revert
    Regards
    Jose Antonio Martinez

  • Two invoice types order-related from the same sales order type

    Hi experts,
    I need to assign a different invoice type to two different items categories regarding to invoice each item with a different invoice rumber range and a different accounting document type (one 'RV' and another 'PF').
    Neither of them have delivery.
    I' ve assigned in the copy controls from sales orders to invoices the items categories to the corresponding invoice type in order to avoid the items are invoiced by wrong invoice type.
    Exem:
    item category ZIC1 must be invoiced by invoice type ZF1
    item category ZIC2 must be invoiced by invoice type ZF2
    I executed VF04 twice: first regarging to create ZF1 and second create ZF2.
    1)  If I insert ZF1 invoice type (order-related) by default in the sales orders definition (Sales and Distribution -> Sales -> Sales -> Sales Document Header -> Define Sales Document Types), the item ZIC1 is properly invoiced and the ZIC2 too. But: although I already invoiced both items, SAP laves the sales order opened waiting to create ZF1 for ZIC2.
    2)  If I don't fill the invoice type by defautl, the invoicing can't be done because the invoice type isn't determined (VKDFS-FKART empty).
    I want to know if  there is any exit to change the values of VKDFS entries for each item of sales orders before to process this table with VKDFS.
    Thanks in advance,
    Aupalaura

    Hi,
    thanks a lot for the quick answer.
    But in save document prepare it's not this structure. And the field for save the invoice type by default is at header level FKARA (in VBAK table).
    Anyway, I'll check it.
    Regards,
    Aupalaura

  • Repeat Output-Type determination

    Dear all,
    We have a new output-type for printing invoices. Now we have to reprint a lot of "old" invoices with this new output-type.
    Is there a possibility to repeat the output-type determination for a big quantity of invoices (like mass change)?
    Thanks for your reply.
    Best regards,
    Thomas

    Hi,
    Use the T.Code "VF31" for this purpose.
    Goto the T.Code "VF31".
    Give the Output type.
    Give the transmission medium.
    Give the processing mode as "1" if it is for the first time.Else give the value as "2" for repeat processing.
    Enter the sort order as "01".
    Enter the billing document number range.
    Regards,
    Krishna.

  • Billing due list  gettnig updated with unwanted Invoice type

    Hi SAP Guys,
    Using VF04, i get a Billing due list. The issue is - I don't want a particular invoice type to be seen in the Billing due list though that invoice type exists and has different purpose.
    Please, advise.

    hi,
    pl do it this way
    1) go to VF04 t.code
    2)enter the selection criteria as required to carry out the billing process.
    3) then the second field in the VF04 selection screen, you have billing type field > on the right side you have an arrow > clikc to open it > on the top you will find two green light and two red lights > here you have options to select or exclude
    a) a range of billing doc types
    b) single values.
    4) now go the red light single values and give the billing type which you dont want to invoice.
    5) click the execute button there.
    6) Now all the screen selection is done
    7)Now click the save button > it will ask do you want to maintain billing due list > click yes > give a name and save it.
    8) now you have created a varaint for VF04.
    9) Execute the due list.
    regards
    sadhu kishore

  • One Delivery Type, Many Invoice Types

    We have a peculiar invoicing configuration where we just use one sales order type (PCRE) and one delivery type (ECRE) and many invoice types, one for each plant, my problem its that for the last plant we must be missing a configuration since when creating a new invoice (VF01) SAP by default suggest an outdated invoice type (I am erasing it from VTFL next) but since this is also entered with the rest of the plants where we do not have problem I am wondering where can I find link between Invoice Type and delivery when the delivery type its the same for all the plants?
    in other words: how does SAP knows the correct invoice type since the delivery type and sales type are the same for every plant, since only our invoices are different for each plant?
    I have been looking here unsuccessfully: VTLA , VTFL, VTFA, V/54, OVL3 and others.
    Thank you and Best Regards,
    Carlos

    where can I find link between Invoice Type and delivery
    In VTFL only, you can find a link between your delivery type and billing type.  If multiple billing types are there for one delivery type, you have two options.  Either you have to key in manually in VF01 or VF04 or go for billing exit USEREXIT_NUMBER_RANGE (Module pool SAPLV60A, program RV60AFZZ).  Nevertheless, you should have copy control for all those billing types against that delivery type in VTFL.
    thanks
    G. Lakshmipathi

  • Export Invoice type not selecting on  Deemed Export in J1iiN

    Dear Expert,
    When I am creating Export excise invoice I am not able to select export invoice type as deemed Export.
    Please guide me
    Thanks
    Jitendra

    Dear Jitendra, Please check if you have maintained default settings in the SPRO path- SPRO > Logistics general > Tax on goods movement > India > Business transactions > outgoing excise invoice > Maintain default excise and series groups. If the customer country is India and document currency is INR then only local and deemed options are applicable. J1IIN has the following logic. ======================================================================= *&                                                                    * *&      Form  GET_EXCISE_INVOICE_NO *&                                                                    * * Get the excise invoice number depending on local or export ** * FORM get_excise_invoice_no.   DATA : object  LIKE nriv-object.   IF  t_locexp = local  . * local sales , use local number range     object = 'J_1IEXCLOC'.   ELSEIF exp_type = deem. * deemed sale, use local number range     object = 'J_1IEXCLOC'.   ELSE. ======================================================================== This means that the system is going to look for local invoice number range object for Deemed exports also (unless the currency is different than INR in billing). Please use the exit - J_1I7_REDETERMINE_INVOICE_TYPE to change the data in such a way that it picks up the export invoice number. Please note that ARE1 can still be created for Deemed exports. The system will look at the "EXPIND" field when creating ARE1 and if it is anything but blank then you will be allowed to create ARE1. This user exit calls the VBRK and VBRP tables where you can pass the customer type as F and change the excise invoice type from local to exports. This exit very much serves the purpose of re-determining an excise invoice invoice type. If your ABAPer is not able to do make use of it, then please go through the note 83020 and consider this for consulting. Best Regards, Vijayendra

  • Order type, Invoice type and Item categories for Nota Fiscal Brazil

    Hi eveyone,
    we have a company in Brazil implemented in SAP using a different SD Order type, Invoice Type and Item categories
    as our mother company in Switzerland. Reason of that is because of the nota fiscal customization for Brazilian legal requirements.
    We startet with a Project worldwide to rollout a global template within sales and distribution and are facing now exactly
    the problem with those different order type, item categories and Invoice type.
    Our local SAP partner in Brazil told as based on best practise we should have different types.
    I checked the customization and it seems I can't use e.g.: the same Order type for Brazil and Switzerland because
    the activation flag for nota fiscal is linked to the order type and no sales organization can be setted to slplitt the different processes.
    Someone knows if there are some possibilities (maybe trough user exits or badi's) to use globally the same dovument types, item categoreis... globally?
    Thanks in advance
    Gaspare Guttadauro

    Hi Gaspare Guttadauro,
    I would strongly recommend to use the different document types and item categories as suggested by SAP. Since Brazil do have one of the complex taxation process in place hence to determine correct pricing the different document type will be required. Also functionalities  like CFOP determination and nota fiscal relevance can be maintained.
    Please feel free to revert the forum in case of any doubts.
    Cheers
    Atul

  • In J1IIN the excise invoice type is not getting changed to BOND for Export

    Hi Experts,
    In ECC 6.0 I am trying to create an Excise Invoice (Export) but the system in J1IIN is not allowing me to change Excise invoice type to Bond (deemed is reflecting in Blue), some more details are as follows:
    The Customer is for Country India, the currency is INR, the series group is 20 (export), the sale order is of Export, the customer pricing proc in the customer master is same as what we select for other exports customers.
    I have checked the configuration in IMG---LOGISTICS GENERAL--TAX ON GOODS MOVEMENTS-INDIA---BUSINESS TRANSACTIONS-OUT GOING EXCISE INVOICE---MAINTAIN DEFAULT EXCISE GROUPS AND SERIES GROUPS, the EXPORT column is blank.
    Please advice as to how I will be able to get the export under bond in Excise Invoice type
    Thank you,
    Sagar R K

    Hi Sagar..
    Please note that in order to change the excise invoice type to Bond, System has to meet the below to requirement.
    1. Currency should be foreign ( I mean other than local currency, In case of India currency is INR) OR
    2. Ship to Party should be outside the country.
    By going through your comments, I understand that what ever excise invoice type is reflected in the excise invoice i.e,Deemed is correct only.
    If you want to treat this is as export then check the above mentioned two points..
    Thand and Regards
    Muralidhar Shetty

  • Is there a service to list invoice types and all invoices for a customer?

    Hi gurus!
    The header/subject speakes for it self: is there a service method that lists all available invoice types?
    The customer uses ecc with ehp3 and I have only found a service for getting an invoice for an invoice Id. But I also want to list all invoices for a certain vendor/customer and to list all invoices for one or more search criteria and thus get a list of invoices that spans over several vendors/customers.
    I have got the service info from the following place:
    http://help.sap.com/content/documentation/esoa/docu_esoa_erp.htm
    and there chosen "Enterpise Services for Enhancement Package 3 for SAP ERP 6.0".
    I'm not sure I have read the library of services correctly though. Is it possible that a method for invoice can be under a service which is not a service for invoice? Or is the library very "strict" so that I can assume that there actually are no services for the purposes stated above? There is no search functionality that I can see...
    All the best
    Benny

    I'm not looking to cripple my computer over a virus software hang-up.
    The computer is already crippled. Remove the Intego product, which is worse than useless and worse than the imaginary "viruses" would be if they really existed, which they don't, by following the instructions on this page. If you have a different version, the procedure may be different.
    Back up all data before making any changes.

  • Invoice Type not being Updated while Posting INVOIC01 - Incoming Invoice

    Hello,
                    I am trying to Post Incoming Vendor Invoice in to SAP using INVOIC01 and IDOC_INPUT_INVOIC_MRM Function Module. I am adding values INVO for Invoice, CRMO for Credit Memo in the Field E1EDK01-BSART to Post the Invoice with different Invoice Types. However, the Invoice for the PO gets Posted only as Invoice, no matter what I populate in the Segment Field E1EDK01-BSART. What could be the issue? Please let me know.
    Thank You,
    Venkata Phani Prasad K.

    This issue has been Resolved. A Sub routine MRM_DOCUMENT_COMPLETE is called in the  Function Module IDOC_INPUT_INVOIC_MRM in which the value of the USING Parameter MRM_RBKPV-TCODE is being hard coded to MR1M. Since I am using a Z-Version of this Function Module, I've changed the value of the above field to MIRO after the Subroutine call which solved the issue.
    MRM_RBKPV-TCODE = 'MIRO'.
    The Values to be Passed to the Field BSART in the Segment E1EDK01 are
    E1EDK01-BSART = 'INVL' - For Invoice
    E1EDK01-BSART = 'CRME' - For Credit Memo
    Thanks,
    Venkata Phani Prasad K

  • R12 report errors out  - Different Invoice Type

    Hi,
    I customized a seeded oracle report(Invoice Print Selected Invoices) in R12 per our requirement. The issue i have is - concurrent program works only for certain INVOICE TYPES ,when i submit is the prorgam for INVOICE TYPE as "Pro forma"  it errors out. I tried running the seeded oracle conc program and it works fine for all operating units.
    Has anyone seen this issue?
    Below are the details
    RDBMS : 11.2.0.3.0
    Oracle Applications : 12.1.3
    Report that i customized - Invoice Print Selected Invoices.
    Log Error--
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    MSG-00100: DEBUG: AfterPForm_Trigger +
    MSG-00100: DEBUG: Multi Org established.
    MSG-00100: DEBUG: AfterParam_Procs.Get_Country_Details
    MSG-00100: DEBUG: AfterParam_Procs.Switch_On_Debug
    MSG-00100: DEBUG: AfterParam_Procs.Get_Trx_Number_Low
    MSG-00100: DEBUG: AfterParam_Procs.Get_Trx_Number_High
    MSG-00100: DEBUG: AfterParam_Procs.Get_Tax_Option
    MSG-00103: lp_trx_date_clause = and a.trx_date = a.trx_date
    MSG-00100: DEBUG: BeforeReport_Trigger.Build_Where_Clause
    MSG-00100: DEBUG: P_Choice: SEL
    MSG-00100: DEBUG: Choice is other than ADJ, setting ORDER BY.
    MSG-00100: DEBUG: AfterPForm_Trigger -
    MSG-00100: DEBUG: BeforeReport_Trigger +
    MSG-00100: DEBUG: BeforeReport_Procs.Populate_Printing_Option
    MSG-00100: DEBUG: BeforeReport_Procs.Populate_Tax_Printing_Option
    MSG-00100: DEBUG: BeforeReport_Trigger.Get_Message_Details
    MSG-00100: DEBUG: BeforeReport_Trigger.Get_Org_Profile.
    MSG-00100: DEBUG: Organization Id: 87
    MSG-01000: CP_INSERT:N
    MSG-00100: DEBUG: BeforeReport_Trigger -
    MSG-05000: DEBUG: Trx No... 900021
    REP-1401: '': Fatal PL/SQL error occurred.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1401: MSG-00100: DEBUG: BeforeReport_Trigger +
    MSG-00100: DEBUG: BeforeReport_Procs.Populate_Printing_Option
    MSG-00100: DEBUG: BeforeReport_Procs.Populate_Tax_Printing_Option
    MSG-00100: DEBUG: BeforeReport_Trigger.Get_Message_Details
    MSG-00100: DEBUG: BeforeReport_Trigger.Get_Org_Profile.
    MSG-00100: DEBUG: Organization Id: 87
    MSG-01000: CP_INSERT:N
    MSG-00100: DEBUG: BeforeReport_Trigger -
    MSG-05000: DEBUG: Tr
    Report Builder: Release 10.1.2.3.0 - Production on Sun Sep 29 23:11:02 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 574386.
    Review your concurrent request log and/or report output file for more detailed information.
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    0
    +------------- 1) PUBLISH -------------+
    Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte.
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 29-SEP-2013 23:11:07
    +---------------------------------------------------------------------------+
    Thanks In Advance
    -Ragul

    Hi,
    Instead Running it from the Report builder, I enables the Debug flag and ran the report, I got the below log.. do u have any idea what might be the issue is?
    I have also attached the seeded programs log file.
    Custom Program log ---->
    +---------------------------------------------------------------------------+
    Receivables: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXRAXINV_SELE module: Travelzoo Invoice Print Selected Invoices-Child
    +---------------------------------------------------------------------------+
    Current system time is 30-SEP-2013 05:57:05
    +---------------------------------------------------------------------------+
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_order_by='TRX_NUMBER'
    p_trx_number_low='900001'
    p_trx_number_high='900001'
    p_open_invoice='N'
    p_check_for_taxyn='N'
    p_choice='SEL'
    p_header_pages='1'
    p_debug_flag='Y'
    p_message_level='10'
    P_RESEND='N'
    Forcing NLS_NUMERIC_CHARACTERS to: '.,' for XDO processing
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    MSG-00100: DEBUG:  AfterPForm_Trigger +
    MSG-00100: DEBUG:  Multi Org established.
    MSG-00100: DEBUG:  AfterParam_Procs.Get_Country_Details
    MSG-00100: DEBUG:  Get_Country_Description.
    MSG-00100: DEBUG:  AfterParam_Procs.Switch_On_Debug
    MSG-00100: Running in debug mode
    MSG-00100: DEBUG:  AfterParam_Procs.Get_Trx_Number_Low
    MSG-00100: DEBUG:  AfterParam_Procs.Get_Trx_Number_High
    MSG-00100: DEBUG:  AfterParam_Procs.Get_Tax_Option
    MSG-00103: lp_trx_date_clause =  and a.trx_date = a.trx_date
    MSG-00100: DEBUG:  BeforeReport_Trigger.Build_Where_Clause
    MSG-00100: DEBUG:  P_Choice:  SEL
    MSG-00500: DEBUG:  About to build WHERE clause.
    MSG-00500: DEBUG:  WHERE clause built.
    MSG-00100: DEBUG:  Choice is other than ADJ, setting ORDER BY.
    MSG-00500: DEBUG:  Table 1:          AR_ADJUSTMENTS                         COM_ADJ,
            AR_PAYMENT_SCHEDULES                   P,
            RA_CUST_TRX_LINE_GL_DIST               REC,
            RA_CUSTOMER_TRX                        A,
            HZ_CUST_ACCOUNTS                       B,
            RA_TERMS                               T,
            RA_TERMS_LINES                         TL,  
            RA_CUST_TRX_TYPES                      TYPES,
            AR_LOOKUPS                             L_TYPES,
            HZ_PARTIES                     PARTY,
            HZ_CUST_ACCT_SITES                     A_BILL,
            HZ_PARTY_SITES                         PARTY_SITE,
            HZ_LOCATIONS                           LOC,
            HZ_CUST_SITE_USES                      U_BILL
    MSG-00500: DEBUG:  Table 2:          RA_TERMS_LINES                         TL,  
            RA_CUST_TRX_TYPES                      TYPES,
            AR_LOOKUPS                             L_TYPES,
      HZ_CUST_ACCOUNTS                       B,
            HZ_PARTIES                     PARTY,
            HZ_CUST_SITE_USES                      U_BILL,
            HZ_CUST_ACCT_SITES                     A_BILL,
            HZ_PARTY_SITES                         PARTY_SITE,
            HZ_LOCATIONS                           LOC,
            AR_ADJUSTMENTS                         COM_ADJ,
            RA_CUSTOMER_TRX                        A,
            AR_PAYMENT_SCHEDULES                   P,
            RA_TERMS                               T
    MSG-00500: DEBUG:  Where 1:  A.BILL_TO_CUSTOMER_ID = B.CUST_ACCOUNT_ID
    AND REC.CUSTOMER_TRX_ID = A.CUSTOMER_TRX_ID
    AND REC.LATEST_REC_FLAG = 'Y'
    AND REC.ACCOUNT_CLASS   = 'REC'
    AND P.PAYMENT_SCHEDULE_ID + DECODE(P.CLASS,
                                       'INV', 0,
                 = COM_ADJ.PAYMENT_SCHEDULE_ID(+)
    AND COM_ADJ.SUBSEQUENT_TRX_ID IS NULL
    AND 'C'    = COM_ADJ.ADJUSTMENT_TYPE(+)
    AND A.COMPLETE_FLAG = 'Y'
    AND A.CUST_TRX_TYPE_ID = TYPES.CUST_TRX_TYPE_ID
    AND L_TYPES.LOOKUP_TYPE = 'INV/CM/ADJ'
    AND A.PRINTING_OPTION IN ('PRI', 'REP')
    AND L_TYPES.LOOKUP_CODE =
    DECODE( TYPES.TYPE,'DEP','INV', TYPES.TYPE)
    AND NVL(P.TERMS_SEQUENCE_NUMBER,nvl(TL.SEQUENCE_NUM,0))=nvl(TL.SEQUENCE_NUM,nvl(p.terms_sequence_number,0))
    AND DECODE(P.PAYMENT_SCHEDULE_ID,'',0, NVL(T.PRINTING_LEAD_DAYS,0))=0
    AND A.BILL_TO_SITE_USE_ID = U_BILL.SITE_USE_ID
    AND U_BILL.CUST_ACCT_SITE_ID = A_BILL.CUST_ACCT_SITE_ID
    AND A_BILL.party_site_id = party_site.party_site_id
    AND B.PARTY_ID = PARTY.PARTY_ID
    AND loc.location_id = party_site.location_id
    AND NVL(LOC.LANGUAGE,'US') = 'US'
    AND A.TERM_ID = TL.TERM_ID(+)
    AND A.TERM_ID = T.TERM_ID(+)
    AND A.CUSTOMER_TRX_ID = P.CUSTOMER_TRX_ID(+)
    MSG-00500: DEBUG:  Where 2:  A.BILL_TO_CUSTOMER_ID = B.CUST_ACCOUNT_ID
    AND P.PAYMENT_SCHEDULE_ID + DECODE(P.CLASS,
                                       'INV', 0,
                 = COM_ADJ.PAYMENT_SCHEDULE_ID(+)
    AND COM_ADJ.SUBSEQUENT_TRX_ID IS NULL
    AND 'C'    = COM_ADJ.ADJUSTMENT_TYPE(+)
    AND A.COMPLETE_FLAG = 'Y'
    AND A.CUSTOMER_TRX_ID = P.CUSTOMER_TRX_ID
    AND A.CUST_TRX_TYPE_ID = TYPES.CUST_TRX_TYPE_ID
    AND L_TYPES.LOOKUP_TYPE = 'INV/CM/ADJ'
    AND A.PRINTING_OPTION IN ('PRI', 'REP')
    AND L_TYPES.LOOKUP_CODE =
    DECODE( TYPES.TYPE,'DEP','INV', TYPES.TYPE)
    AND NVL(T.PRINTING_LEAD_DAYS,0) > 0
    AND A.BILL_TO_SITE_USE_ID = U_BILL.SITE_USE_ID
    AND U_BILL.CUST_ACCT_SITE_ID = A_BILL.CUST_ACCT_SITE_ID
    AND A_BILL.PARTY_SITE_ID = PARTY_SITE.PARTY_SITE_ID
    AND B.PARTY_ID = PARTY.PARTY_ID
    AND LOC.LOCATION_ID = PARTY_SITE.LOCATION_ID
    AND NVL(LOC.LANGUAGE,'US') = 'US'
    AND NVL(P.TERMS_SEQUENCE_NUMBER,TL.SEQUENCE_NUM)=TL.SEQUENCE_NUM
    AND T.TERM_ID = P.TERM_ID
    AND TL.TERM_ID(+) = T.TERM_ID
    MSG-00100: DEBUG:  AfterPForm_Trigger -
    MSG-00100: DEBUG:  BeforeReport_Trigger +
    MSG-00100: DEBUG:  BeforeReport_Procs.Populate_Printing_Option
    MSG-00100: DEBUG:  BeforeReport_Procs.Populate_Tax_Printing_Option
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Message_Details
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Org_Profile.
    MSG-00100: DEBUG:  Organization Id:  87
    MSG-01000: CP_INSERT:N
    MSG-00100: DEBUG:  BeforeReport_Trigger -
    MSG-05000: DEBUG:  Trx No... 900001
    MSG-00100: DEBUG:  Get_Country_Description.
    MSG-00100: DEBUG:  Get_Country_Description.
    MSG-05000: DEBUG:  Remit To Address....
    MSG-05000: DEBUG:  Address Style:   
    MSG-05000: DEBUG:  Address 1:        Avenida Diagonal 640
    MSG-05000: DEBUG:  Address 2:        Planta 6
    MSG-05000: DEBUG:  Address 3:       
    MSG-05000: DEBUG:  Address 4:       
    MSG-05000: DEBUG:  City:             Barcelona
    MSG-05000: DEBUG:  County:          
    MSG-05000: DEBUG:  State:           
    MSG-05000: DEBUG:  Province:        
    MSG-05000: DEBUG:  Postal Code:      08017
    MSG-05000: DEBUG:  Territory:       
    MSG-05000: DEBUG:  Country_Code:     ES
    MSG-05000: DEBUG:  Customer Name:   
    MSG-05000: DEBUG:  Bill To:         
    MSG-05000: DEBUG:  First Name:      
    MSG-05000: DEBUG:  Last Name:       
    MSG-05000: DEBUG:  Mail Stop:       
    MSG-05000: DEBUG:  Country Code:     ES
    MSG-05000: DEBUG:  Country Desc:     Spain
    MSG-05000: DEBUG:  Print Home Flag:  Y
    MSG-05000: DEBUG:  Width:            40
    MSG-05000: DEBUG:  Height Min:       6
    MSG-05000: DEBUG:  Height Max:       6
    MSG-05000: DEBUG:  Remit To Formatted...   Avenida Diagonal 640
    Planta 6
    08017 Barcelona
    Spain
    REP-1401: '': Fatal PL/SQL error occurred.
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1401: MSG-00100: DEBUG:  BeforeReport_Trigger +
    MSG-00100: DEBUG:  BeforeReport_Procs.Populate_Printing_Option
    MSG-00100: DEBUG:  BeforeReport_Procs.Populate_Tax_Printing_Option
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Message_Details
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Org_Profile.
    MSG-00100: DEBUG:  Organization Id:  87
    MSG-01000: CP_INSERT:N
    MSG-00100: DEBUG:  BeforeReport_Trigger -
    MSG-05000: DEBUG:  Tr
    Report Builder: Release 10.1.2.3.0 - Production on Mon Sep 30 05:57:06 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 574430.
    Review your concurrent request log and/or report output file for more detailed information.
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    0
    +------------- 1) PUBLISH -------------+
    Disabling requested Output Post Processing.  Nothing to process.  The output of the request is zero byte.
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 30-SEP-2013 05:57:11
    +---------------------------------------------------------------------------+
    Seeded Program log ---->
    +---------------------------------------------------------------------------+
    Receivables: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    RAXINV_SEL module: Invoice Print Selected Invoices
    +---------------------------------------------------------------------------+
    Current system time is 30-SEP-2013 06:12:05
    +---------------------------------------------------------------------------+
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_order_by='TRX_NUMBER'
    p_trx_number_low='900001'
    p_trx_number_high='900001'
    p_open_invoice='N'
    p_check_for_taxyn='N'
    p_choice='SEL'
    p_header_pages='1'
    p_debug_flag='Y'
    p_message_level='10'
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    Enter Password:
    MSG-00100: DEBUG:  AfterPForm_Trigger +
    MSG-00100: DEBUG:  Multi Org established.
    MSG-00100: DEBUG:  AfterParam_Procs.Get_Country_Details
    MSG-00100: DEBUG:  Get_Country_Description.
    MSG-00100: DEBUG:  AfterParam_Procs.Switch_On_Debug
    MSG-00100: Running in debug mode
    MSG-00100: DEBUG:  AfterParam_Procs.Get_Trx_Number_Low
    MSG-00100: DEBUG:  AfterParam_Procs.Get_Trx_Number_High
    MSG-00100: DEBUG:  AfterParam_Procs.Get_Tax_Option
    MSG-00103: lp_trx_date_clause =  and a.trx_date = a.trx_date
    MSG-00100: DEBUG:  BeforeReport_Trigger.Build_Where_Clause
    MSG-00100: DEBUG:  P_Choice:  SEL
    MSG-00500: DEBUG:  About to build WHERE clause.
    MSG-00500: DEBUG:  WHERE clause built.
    MSG-00100: DEBUG:  Choice is other than ADJ, setting ORDER BY.
    MSG-00500: DEBUG:  Table 1:          AR_ADJUSTMENTS                         COM_ADJ,
            AR_PAYMENT_SCHEDULES                   P,
            RA_CUST_TRX_LINE_GL_DIST               REC,
            RA_CUSTOMER_TRX                        A,
            HZ_CUST_ACCOUNTS                       B,
            RA_TERMS                               T,
            RA_TERMS_LINES                         TL,  
            RA_CUST_TRX_TYPES                      TYPES,
            AR_LOOKUPS                             L_TYPES,
            HZ_PARTIES                     PARTY,
            HZ_CUST_ACCT_SITES                     A_BILL,
            HZ_PARTY_SITES                         PARTY_SITE,
            HZ_LOCATIONS                           LOC,
            HZ_CUST_SITE_USES                      U_BILL
    MSG-00500: DEBUG:  Table 2:          RA_TERMS_LINES                         TL,  
            RA_CUST_TRX_TYPES                      TYPES,
            AR_LOOKUPS                             L_TYPES,
      HZ_CUST_ACCOUNTS                       B,
            HZ_PARTIES                     PARTY,
            HZ_CUST_SITE_USES                      U_BILL,
            HZ_CUST_ACCT_SITES                     A_BILL,
            HZ_PARTY_SITES                         PARTY_SITE,
            HZ_LOCATIONS                           LOC,
            AR_ADJUSTMENTS                         COM_ADJ,
            RA_CUSTOMER_TRX                        A,
            AR_PAYMENT_SCHEDULES                   P,
            RA_TERMS                               T
    MSG-00500: DEBUG:  Where 1:  A.BILL_TO_CUSTOMER_ID = B.CUST_ACCOUNT_ID
    AND REC.CUSTOMER_TRX_ID = A.CUSTOMER_TRX_ID
    AND REC.LATEST_REC_FLAG = 'Y'
    AND REC.ACCOUNT_CLASS   = 'REC'
    AND P.PAYMENT_SCHEDULE_ID + DECODE(P.CLASS,
                                       'INV', 0,
                 = COM_ADJ.PAYMENT_SCHEDULE_ID(+)
    AND COM_ADJ.SUBSEQUENT_TRX_ID IS NULL
    AND 'C'    = COM_ADJ.ADJUSTMENT_TYPE(+)
    AND A.COMPLETE_FLAG = 'Y'
    AND A.CUST_TRX_TYPE_ID = TYPES.CUST_TRX_TYPE_ID
    AND L_TYPES.LOOKUP_TYPE = 'INV/CM/ADJ'
    AND A.PRINTING_OPTION IN ('PRI', 'REP')
    AND L_TYPES.LOOKUP_CODE =
    DECODE( TYPES.TYPE,'DEP','INV', TYPES.TYPE)
    AND NVL(P.TERMS_SEQUENCE_NUMBER,nvl(TL.SEQUENCE_NUM,0))=nvl(TL.SEQUENCE_NUM,nvl(p.terms_sequence_number,0))
    AND DECODE(P.PAYMENT_SCHEDULE_ID,'',0, NVL(T.PRINTING_LEAD_DAYS,0))=0
    AND A.BILL_TO_SITE_USE_ID = U_BILL.SITE_USE_ID
    AND U_BILL.CUST_ACCT_SITE_ID = A_BILL.CUST_ACCT_SITE_ID
    AND A_BILL.party_site_id = party_site.party_site_id
    AND B.PARTY_ID = PARTY.PARTY_ID
    AND loc.location_id = party_site.location_id
    AND NVL(LOC.LANGUAGE,'US') = 'US'
    AND A.TERM_ID = TL.TERM_ID(+)
    AND A.TERM_ID = T.TERM_ID(+)
    AND A.CUSTOMER_TRX_ID = P.CUSTOMER_TRX_ID(+)
    MSG-00500: DEBUG:  Where 2:  A.BILL_TO_CUSTOMER_ID = B.CUST_ACCOUNT_ID
    AND P.PAYMENT_SCHEDULE_ID + DECODE(P.CLASS,
                                       'INV', 0,
                 = COM_ADJ.PAYMENT_SCHEDULE_ID(+)
    AND COM_ADJ.SUBSEQUENT_TRX_ID IS NULL
    AND 'C'    = COM_ADJ.ADJUSTMENT_TYPE(+)
    AND A.COMPLETE_FLAG = 'Y'
    AND A.CUSTOMER_TRX_ID = P.CUSTOMER_TRX_ID
    AND A.CUST_TRX_TYPE_ID = TYPES.CUST_TRX_TYPE_ID
    AND L_TYPES.LOOKUP_TYPE = 'INV/CM/ADJ'
    AND A.PRINTING_OPTION IN ('PRI', 'REP')
    AND L_TYPES.LOOKUP_CODE =
    DECODE( TYPES.TYPE,'DEP','INV', TYPES.TYPE)
    AND NVL(T.PRINTING_LEAD_DAYS,0) > 0
    AND A.BILL_TO_SITE_USE_ID = U_BILL.SITE_USE_ID
    AND U_BILL.CUST_ACCT_SITE_ID = A_BILL.CUST_ACCT_SITE_ID
    AND A_BILL.PARTY_SITE_ID = PARTY_SITE.PARTY_SITE_ID
    AND B.PARTY_ID = PARTY.PARTY_ID
    AND LOC.LOCATION_ID = PARTY_SITE.LOCATION_ID
    AND NVL(LOC.LANGUAGE,'US') = 'US'
    AND NVL(P.TERMS_SEQUENCE_NUMBER,TL.SEQUENCE_NUM)=TL.SEQUENCE_NUM
    AND T.TERM_ID = P.TERM_ID
    AND TL.TERM_ID(+) = T.TERM_ID
    MSG-00100: DEBUG:  AfterPForm_Trigger -
    MSG-00100: DEBUG:  BeforeReport_Trigger +
    MSG-00100: DEBUG:  BeforeReport_Procs.Populate_Printing_Option
    MSG-00100: DEBUG:  BeforeReport_Procs.Populate_Tax_Printing_Option
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Message_Details
    MSG-00100: DEBUG:  BeforeReport_Trigger.Get_Org_Profile.
    MSG-00100: DEBUG:  Organization Id:  87
    MSG-00100: DEBUG:  BeforeReport_Trigger -
    MSG-05000: DEBUG:  Trx No... 900001
    MSG-00100: DEBUG:  Get_Country_Description.
    MSG-00010: 05:38 1 Transaction: 900001
    MSG-00100: DEBUG:  Get_Country_Description.
    MSG-05000: DEBUG:  Remit To Address....
    MSG-05000: DEBUG:  Address Style:   
    MSG-05000: DEBUG:  Address 1:        Avenida Diagonal 640
    MSG-05000: DEBUG:  Address 2:        Planta 6
    MSG-05000: DEBUG:  Address 3:       
    MSG-05000: DEBUG:  Address 4:       
    MSG-05000: DEBUG:  City:             Barcelona
    MSG-05000: DEBUG:  County:          
    MSG-05000: DEBUG:  State:           
    MSG-05000: DEBUG:  Province:        
    MSG-05000: DEBUG:  Postal Code:      08017
    MSG-05000: DEBUG:  Territory:       
    MSG-05000: DEBUG:  Country_Code:     ES
    MSG-05000: DEBUG:  Customer Name:   
    MSG-05000: DEBUG:  Bill To:         
    MSG-05000: DEBUG:  First Name:      
    MSG-05000: DEBUG:  Last Name:       
    MSG-05000: DEBUG:  Mail Stop:       
    MSG-05000: DEBUG:  Country Code:     ES
    MSG-05000: DEBUG:  Country Desc:     Spain
    MSG-05000: DEBUG:  Print Home Flag:  Y
    MSG-05000: DEBUG:  Width:            40
    MSG-05000: DEBUG:  Height Min:       6
    MSG-05000: DEBUG:  Height Max:       6
    MSG-05000: DEBUG:  Remit To Formatted...   Avenida Diagonal 640
    Planta 6
    08017 Barcelona
    Spain
    MSG-05000: DEBUG:  Bill To Address....
    MSG-05000: DEBUG:  Address Style:   
    MSG-05000: DEBUG:  Address 1:        Via on Messana 2
    MSG-05000: DEBUG:  Address 2:       
    MSG-05000: DEBUG:  Address 3:       
    MSG-05000: DEBUG:  Address 4:       
    MSG-05000: DEBUG:  City:             Alcamo
    MSG-05000: DEBUG:  County:          
    MSG-05000: DEBUG:  State:           
    MSG-05000: DEBUG:  Province:        
    MSG-05000: DEBUG:  Postal Code:      91011
    MSG-05000: DEBUG:  Territory:       
    MSG-05000: DEBUG:  Country_Code:     IT
    MSG-05000: DEBUG:  Customer Name:    Sea Group SRL - Hotel La Battigia-CRP2-ES1
    MSG-05000: DEBUG:  Bill To:         
    MSG-05000: DEBUG:  First Name:      
    MSG-05000: DEBUG:  Last Name:       
    MSG-05000: DEBUG:  Mail Stop:       
    MSG-05000: DEBUG:  Country Code:     ES
    MSG-05000: DEBUG:  Country Desc:     Spain
    MSG-05000: DEBUG:  Print Home Flag:  Y
    MSG-05000: DEBUG:  Width:            60
    MSG-05000: DEBUG:  Height Min:       8
    MSG-05000: DEBUG:  Height Max:       8
    MSG-05000: DEBUG:  Bill To Formatted... Attn: Accounts Payable
    Sea Group SRL - Hotel La Battigia-CRP2-ES1
    Via on Messana 2
    Alcamo 91011
    Italy
    Report Builder: Release 10.1.2.3.0 - Production on Mon Sep 30 06:12:06 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    4284
    +------------- 1) PRINT   -------------+
    Printing output file.
                   Request ID : 574432
             Number of copies : 0
                      Printer : noprint
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed successfully
    Current system time is 30-SEP-2013 06:12:09
    +---------------------------------------------------------------------------+
    Thanks

  • Export invoice type master table

    Dear All,
    I want master table for export invoice type of following :-
    B
    Export Under Bond
    D
    Deemed Export
    N
    Export Under Claim for Rebate
    U
    Export Under Letter of Undertaking
    please check & confirm.
    Thanks,
    Vishwas

    Hi,
    All Export Types which is mentioned in the list is Predefined in SAP with Domain J_1IINDEXP
    Normally each field contain Data element and if data element has certain fixed values then system show only those fixed values where ever you select export type it will show only
    those Value ranges which is mentioned in domain.
    Field : EXPING 
    Data Element : J_1IINDEXP
    Domain : J_1IINDEXP
    If you want to Know Go to SE11---> Domain J_1IINDEXP and click on Display.
    Then Click on Value Range tab then you can see the Fix values.
    Those Fix values we can't change because it is predefined by SAP.

  • Intercompany stk transport order process - Billing type determination

    Dear All,
    We are currently dealing one Roll-Out project for one multinational company. In that from sales side, one of the main processes defined is u201CStock Transport Purchase Order processu201D. As a regular process, outbound delivery document also created with ref to STPO.
    As per the client requirement the u201CPackaging materialu201D needs to be added as additional line item in the delivery to calculate the packaging cost. We have customized that also and now u201CPackaging materialu201D is adding as a new line item in the delivery document as a non valuated material.
    But the issue is, the Billing type u201CZICu201D is not getting determined while creation of billing if u201CPackaging materialu201D is added as a new line item. If u201CPackaging materialu201D is not added as a line item then, billing type is getting determined automatically without any issue.
    We have checked in LIKP table, its containing the billing type as u201CZICu2019. But if packaging material is added then, the billing type determination is not happening.
    We are assuming that some customizing needs to be done from MM/SD point of view. I am seeking the experts help regarding this issue to solve the problem.
    Regards,
    MANI

    Hi
    Does your goods and packing material use the same item category ? If not, is the item category for the packing material relevant for billing (TVAP-FKREL) ?
    /Torben

Maybe you are looking for