Error : Transaction header and line tables cannot be empty

please can some one help me.
when i want to create an invoice without anuy line, i have the error : Transaction header and line tables cannot be empty .
can some one tell me how can i solve this
regards.

Hi,
I really don't know if it is possible to create an invoice in AR with no transaction lines. When I interface invoices from another system to AR (and there is no need to detail inventory items), I use a single line with a dummy inventory item or with no inventory item (inventory_item_id and warehouse_id set to null) in transaction lines, and I use the description field to describe the link to the other software in a user-friendly way.
Regards,
Ketter Ohnes
Message was edited by:
Ketter Ohnes

Similar Messages

  • Header and Line Statuses in OM

    hi
    Can any one give a brief on the below statuses in OM header and Line Level.
    The below is the list
    Order Header Statuses
    Following is a list of all possible statuses assigned to an order header.
    • Active
    • Awaiting Invoice Interface - Incomplete Data
    • Awaiting Invoice Interface - On Hold
    • Awaiting Start Date
    • Booked
    • Cancelled
    • Closed
    • Customer Accepted
    • Draft
    • Draft - Customer Rejected
    • Draft - Internal Rejected
    • Draft Submitted
    • Entered
    • Expired
    • Internal Approved
    • Internal Rejected
    • Invoice Interface - Complete
    • Lost
    • Offer Expired
    • Pending Customer Acceptance
    • Pending Internal Approval
    • Submitted
    • Terminated
    • User Working
    Order Line Statuses
    Following is a list of all possible statuses assigned to an order line.
    • Awaiting Export Screening
    • Awaiting Fulfillment
    • Awaiting Invoice Interface - Incomplete Data
    • Awaiting Invoice Interface - On Hold
    • Awaiting Invoice Interface - Partially Interfaced, RFR Item
    • Awaiting Invoice Interface - Pending Complete Delivery
    • Awaiting Invoice Interface - RFR Item
    • Awaiting Invoice Interface - Unexpected error
    • Awaiting Payment Assurance - On Hold
    • Awaiting Payment Assurance - Receipts Not Assured
    • Awaiting Receipt
    • Awaiting Reprice - Invalid setup
    • Awaiting Reprice - On reprice line hold
    • Awaiting Reprice - Pricing error
    • Awaiting Reprice - Unexpected error
    • Awaiting Return
    • Awaiting Return Disposition
    • Awaiting Shipping
    • Awaiting Supply
    • BOM and Routing Created
    • Booked
    • Cancelled
    • Closed
    • Completed Export Screening
    • Config Item Created
    • Customer Accepted
    • Data Error Export Screening
    • Draft
    • Draft - Customer Rejected
    • Draft - Internal Rejected
    • Draft Submitted
    • Entered
    • Fulfilled
    • Interfaced to Receivables
    • Internal Approved
    • Internal Rejected
    • Inventory Interfaced
    • Invoice Interface - Not Applicable
    • Lost
    • Offer Expired
    • PO-Created
    • PO-Partial
    • PO-Received
    • PO-ReqCreated
    • PO-ReqRequested
    • Partially Interfaced to Receivables
    • Payment Assurance - Complete
    • Payment Assurance - Incorrect Data
    • Pending Customer Acceptance
    • Pending Internal Approval
    • Picked
    • Picked Partial
    • Preprovision
    • Preprovision Failed
    • Preprovision Requested
    • Preprovision Succeeded
    • Production Complete
    • Production Eligible
    • Production Open
    • Production Partial
    • Provisioning Failed to update Transaction Details
    • Provisioning Rejected
    • Provisioning Requested
    • Provisioning Successful
    • Provisioning in Error
    • Released to Warehouse
    • Reprice - Complete
    • Reprice - Not Applicable
    • Returned
    • Scheduled
    • Shipped
    • Supply Eligible
    • Supply Open
    • Supply Partial
    • Third Party Billing Failed
    • Third Party Billing Requested
    • Third Party Billing Succeeded

    This information can be found in the Approvals Management implementation guide in metalink. The part number for this document is B31622-02
    Regards

  • Help With Ora-19046:Out-of-line table cannot be shared by two top-level tab

    Hi!
    My tutor asked me to store and query the xml files in a "native" way in xml db. First I tried to register the schemas on which those xml files are based. There are about 30 of schemas asscociated with each other, and I have to use "FORCE" to register them , like this:
    BEGIN
    DBMS_XMLSCHEMA.registerSchema(
    'http://www.isotc211.org/gmd/metadataEntity.xsd',
    bfilename('ISOGMD', 'metadataEntity.xsd'),
    TRUE,
    TRUE,
    FALSE,
    TRUE,
    TRUE);
    END;
    Then no tables are created automaticly. And when I wanted to create a XML table based on thses schemas manually, it proped the error: ORA-19046:Out-of-line table cannot be shared by two top-level tab. This has confused me for about a week. Does anyone know what's wrong with the registration? Waiting eagerly on line! Thanks!

    First of all, i create a "filename.txt" that contains all my schemas' names. the names are:
    acquisitionInformation.xsd
    applicationSchema.xsd
    basicTypes.xsd
    catalogues.xsd
    citation.xsd
    codelistItem.xsd
    constraints.xsd
    temporalTopology.xsd
    topology.xsd
    units.xsd
    uomItem.xsd
    valueObjects.xsd
    xlinks.xsd
    there are 72 schemas. Then I register them using "force":
    GRANT EXECUTE ON utl_file to fld;
    create table test (
    fld1 VARCHAR2(50));
    declare
    isto_file utl_file.file_type;
    fp_buffer varchar2(4000);
    begin
    isto_file := utl_file.fopen('MYXMLDIR', 'filename.txt', 'R');
    loop
    begin
    utl_file.get_line (isto_file , fp_buffer );
    insert into test values(fp_buffer);
    Exception
    when no_data_found then
    exit;
    end;
    end loop;
    utl_file.fclose(isto_file);
    end;
    declare
    cursor my_cursor is select fld1 from test;
    v_name varchar2(50);
    begin
    open my_cursor;
    loop
    fetch my_cursor into v_name;
    dbms_xmlschema.registerSchema(
    schemaurl=>v_name,
    schemadoc=>bfilename('MYXMLDIR',v_name),
    local=>TRUE,
    gentables=>true,
    force=>true,
    csid=>nls_charset_id('AL32UTF8')
    exit when my_cursor%NOTFOUND;
    end loop;
    close my_cursor;
    end;
    at last, when I check the types generated during registration, I found that only a small number of types are automatically generated. When I try to create table manually ( based on certain element of one schema), it props errors, sometimes "31079. 00000 - "unable to resolve reference to %s \"%s\"" ", sometimes other errors.
    If I manually register them one by one from the base schema, then the registeration fail at some point. this is the script:
    BEGIN
    DBMS_XMLSCHEMA.registerSchema(
    'geometryAggregates.xsd',
    bfilename('XSD', 'geometryAggregates.xsd'),
    TRUE,
    TRUE,
    FALSE,
    TRUE);
    END;
    ERRORS
    22881. 00000 - "dangling REF"
    Is that something wrong with my schemas? I wonder how can i paste them here. there are 72 files.......

  • Difference between  header and item table

    hi experts
    I have doubt in choosing header and item table. what is the difference between them. on what situations they can be choosed, how can i conclude that my object needs only item or header table.
    thanks in advance.
    maaya

    Hi
    Header will be always a single time data in a transaction
    where as Item data is Multiple lines of data
    Item data in most of the times consists of more number of lines.
    see the header and Item related tables for some Tcodes
    Tcode      Header   Item
    VA01       VBAK    VBAP  Sales order
    VL01N     LIKP       LIPS    Delivery
    VF01       VBRk      VBRP   Invoice/Billing Doc
    ME21N    EKKO     EKPO   Pur order
    Regards
    Anji

  • Displaying header and line items

    Hi,
    i) i have a fieldname i.e text and its value to display in the bodypage  (body)..
    i want to display the text and its value only if the value is there.. otherwise it should not be displayed and a blank line also should not appear
    in smartforms we can handle that in conditions in the corresponding node, how we do the same in adobe forms?
    ii) suppose i have header and line items and for each header item i want to display the line items, both r in 2 tables how can we handle this
    Thanks

    Hi Shekar,
    The following solutions useful if you are using printbased forms.
    1. To display the field if the value is there.
    ->In the Context you can define the condtion on the filed.
    ->You can write a script on the subform superior to the field
    [code]      if ( $.field.rawValue == <value> ) then
                $.field.presence = “hidden”
          endif [/code]
    2. Header and item table
    In the SFP context drag the header table from interface.drag the item table from interface on the DATA in the header table. it will placed at the end of the header table. Now select the item table select where clause in the properties ( at the bottom of the screen ).there you create a line for condition using create button. drag the field from header table field ( say header-matnr ) on the right side and then drag the same field from the item table ( say item-matnr) in the left side.This will filter the item records relevent for header record.
    refer the message
    Re: Adobe IF Attachments

  • Help in Reports 6i - Header and Line

    Hi Gurus,
    I have a requirement that I need to pull the Header and Line information in the custom oracle apps report.
    If header record is not there for the filter criteria then I should display 0 in the header and print the corresponding lines for the header.
    If header record is present and there is no line record for it then I need to pull the header record alone and no lines for it.
    If both header record and line records are there then I need to pull the header record and corresponding lines for it.
    I am pulling the header record from the table prior to the parameter <period_from>
    I am pulling the lines record from the table based on the parameter between <period_from> and <period_to>
    Pls note that header record will have always only one record for the lines and the line record may not have or may have 1 or more line for each header.
    Kindly could you advise me as to how to make this happen.
    Thanks,
    Geno
    Edited by: Geno on May 7, 2010 6:15 PM
    Edited by: Geno on May 7, 2010 6:28 PM

    Hi,
    I created a "Formula" in order to retrieve the image. The File Format type set to Image, Read from file set to Yes. Use this "Formula" in the layout module and the image display on the report.
    Remarks: In my case, the images are stored in a physical drive.
    Hope this help.
    Regards.

  • What is the exact purpose of Transaction NACE and NAST Table?

    Hi All,
    What is the exact purpose of Transaction NACE and NAST Table?
    Pls help me…
    Akshitha.

    Hi
    When a Output type in an apllication doc is configured with a Medium, Partner, Lang and other communication paramters an entry is created in NAST table
    so to trigger the output an entry in NAST is compulsory
    Output is a link between the Driver Program and the Sapscript,
    An output type summarizes messages of the same meaning. It contains parameters that are valid for all its assigned messages, for example appropriate partner functions.
    Transmission medium is a medium which the layout will be come out, this may be printout, Fax or Mail
    Check this link.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/19884743b111d1896f0000e8322d00/content.htm
    ex-how to config output type.
    You will assign output types using Transaction NACE.
    Do the follow steps to assign output type
    1)Select Application Type V2 which will have description Shipping.
    2)Click on Output types button.
    3)Go to change mode by pressing Ctrl+F4.
    4)Select one output type which already exists
    5)Do Copy As(F6)
    6)Give your output type against Output Type field.
    7)Under General data Tab, Give Program and Form routine and Save the data.
    i think it a work of functional guy but at senior level i think it is not a big deal for abaper.
    Check the following documentation
    In NACE t-codewe have the application for each one. based on the application output type can be defined, based on output type script and print progrma can be defined.
    If suppose data can be read from EDI then we should go for condition records.
    So whenever we execute the script first composer checks the output type and then execute the program. in program whenever opn form FM will be populate then script will open first. After that again program till another FM will populate if it then script will populate........like it is cycle proces. Composer does all these things and at last it will submit that output to spool.
    Go to the Transaction NACE.
    choose the related sub module.. like billing or shipping
    doubel click on Output Types
    Choose the Output Type for which whcih you wanted your script to trigger
    Then select the Output Type and double click on Processing Routine
    Then go to create new entries--> Select the Medium (1- print output), then enter your Script and Print Program detls --> Save and come out
    Now go to the Transaction (for which you have created the output type)... Issue output--> Select the output type --> Print....
    Device Types for SAP Output Devices (Detail Information)
    Definition
    The device type indicates the type of printer to be addressed. When you define an output device, choose the name of the device type that was defined in the SAP System for your printer model, such as Post2 for a PostScript printer. In the case of frontend printing under Microsoft Windows, you can also use the generic (device-independent) device type SWIN.
    The system uses the information in the device type to convert a document from the internal SAP character representation (spool request in OTF or in text format) to a device-specific, print-ready data stream (output request). Since a device type specifies attributes that apply to all devices of a certain model, it can be shared among device definitions. For example, all devices in the SAP spool system that are compatible with Hewlett-Packard LaserJet IIID printers would use the HPLJIIID device type.
    You should not confuse the device type with the printer driver. The device type is the total of all attributes of an output device that the SAP System must know to control the output device correctly, such as control commands for font selection, page size, character set selection, and so on. These attributes also include the printer driver that SAPscript/Smart Forms (the SAP form processor) should use for this printer. The SAPscript printer driver that is to be used for devices of this type for output formatting is therefore only an attribute that the device type specifies.
    How do I choose the correct device type?
    • In most cases, the SAP System already provides the appropriate device type for the printer type for the printer model that you want to use.
    These standard device types are completely defined and need no modification or extension before you use them in device definitions.
    • You can also download missing device types from the sapserv server. For a current list of the supported device types, see SAP Note 8928 in the SAP Service Marketplace.
    • Most printers can be controlled using a generic format, such as PostScript. They can be switched to a mode that is compatible with one of the standard printers for which an SAP device type is available. In this case, a supported model is emulated.
    • Almost all printers are delivered with Microsoft Windows printer drivers. The system can control these printers with the generic (device-independent) device type SWIN. The Microsoft Windows spool system then performs the processing of the print data.
    • If the specified device types are not available, and generic device types cannot be used, you must create your own device type or edit a copy of an existing device type. We recommend that only those with specialist knowledge of the SAP Spool System and printer driver code do this. For more information, see Defining a New Device Type .
    Attributes of a Device Type
    A device type is distinguished by the attributes listed below. If you change an existing device type or create a new device type, you must change at least some of these attributes.
    • Character set: A character set specifies the codes with which characters must be represented in the print-ready output stream (output request). This code replaces the generic SAP characters set that is used internally by the SAP spool system (spool request).
    • Printer driver: You can specify different printer drivers for printing SAPscript documents and ABAP lists.
    • Print controls: Print controls represent printer operations, such as boldface or changing the font size. These print control are replaced by printer-specific commands during the creation of the output request from a spool request.
    • Formats: Formats specify the format supported by the SAP system. The system differentiates between SAPScript formats (DINA4 and LETTER) and ABAP list formats (X_65_132 = 65 rows/132 columns).
    • Page format: A page format is the interface between a format and SAPscript. It specifies the paper dimensions with which SAPScript can calculate the row and column lengths.
    • Actions: Actions are output device-specific commands that are required for the implementation of a format. The action printer initialization, for example, can contain a printer command with which the number of rows on a page is defined. There is a set of actions for every format supported by a device type.
    Reward points for useful Answers

  • Opportunity Header and Item tables

    I am looking at the keys on the Opportunity Header and Item table which are GUIDs.
    I have the following scenario.
    1. My source table contains the Opportunity Header GUID
    2. My target table requires all the fields from the source table and some Opportunity Header and Item attributes
    I can write WHERE clause logic for my Opportunity Header attributes
    For my Opportunity item attributes I was going to introduce a count - this is not possible with Item GUID unless a part of the GUID is incremental for each line by 1 or there is a maintained field otherwise as part of the Opportunity Item which is a number representation for each line.
    Can someone advise
    Thanks

    Hi,
    In the CRMD_ORDERADM_H table you have the Opportunity GUID as well as the Object ID which is the opportunity id.  In the CRMD_ORDERADM_I table, you have the GUID and also the NUMBER_INT which is the item number.  See if you can use the item number.
    Thanks.

  • Dimension with header and lines information

    Hi Experts
    I am using Oracle 11g for database , Oracle Admin Tool for repository creation
    Source : EBS R12
    Target : OBIEE
    In EBS R12 , I have gathered information about inspection [Inspection is our customized form in EBS , In Inspection we contain information about Jobs , WorkOrder , Asset etc]
    Some Inspection form have header information only and Some Inspection form have header and line information as well [there is no measures]
    I have confused about Header and Lines data in dimension tables ! how can I handle with it?
    In All inspection form some fields are common in header information
    Ryte now I have broke into two tables
    1: Dimension [Header and Lines]
    2: Factless Fact Table [Contains only FK]
    I want how can I merge two dimensions for get common information about different inspections?
    and how can I handle the Lines data in dimension table?
    Please proposed the best technique
    Best Regards,
    ZafaR

    Hi SqlCraze,
    According to your description, you want to load a “Header” table data with FileIdentifier, Code and ID columns and a “Detail” table data with Year, Type, LegalID and Amount columns from the xml file.
    Based on my research, the reason why you can only see 3 columns "FileIdentifier, Code, ID" in the XML Source is that there are only one element named includedFileHeader which contains those three columns.
    So if we want to achieve your requirement, we should add another element which contains four columns "Year, Type, LegalID, Amount" in the XML file. For more information, please refer to the following steps:
    Modify the XML file as below:
    <?xml version="1.0" ?>
    <Report xmlns="http://......... ">
     <includedFileHeader>
      <FileIdentifier>677ff108</FileIdentifier>
      <Code>XYZ</Code>
      <ID>17437</ID>
     </includedFileHeader>
            <IncludedFileDetail>
     <Year>2014</Year>
     <Type>P</Type>
     <LegalID>Test - 17437</LegalID>
     <Amount>969.33</Amount>
            </includedFileDetail>
    </Report>
    Use the modified XML in the XML Source, we can see two Output name: includedFileHeader and IncludedFileDetail.
    Connect to a SQL Server Destination with “IncludedFileHeader” as Output, another with “IncludedFileDetail” as Output.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • HT4972 Hi! I have tried to update OS from 4.3.5 to latest on Ipod touch but every time after 70% completing an error is prompted and say update cannot be completed. Please check the setting. Please guide in this respect to be updated.

    Hi!
    I have tried to update OS from 4.3.5 to latest on Ipod touch but every time after 70% completing an error is prompted and say update cannot be completed. Please check the setting. Please guide in this respect to be updated.

    Disable the computer's firewall and antivirus during the download and update.

  • How to cancel the sales order - header and line status are in Entered Stage

    Dears,
    I have some sales order to be cancelled in which the header and line status are in *"Entered"*. I am not able to cancel these sales order.
    Also note that these orders are for maintenance service.Once i book these orders the lines will change to closed status.
    So it is not possible to book and cancel the lines.
    Kindly me to resolve this.

    926530 wrote:
    Boss,
    If i do Action-->cancel on header, it just makes the qty to zero.But the header and line status still showing as entered.It will not cancel the order.
    The problem for me is that these lines are coming in my monthly reports. This is what your question says...be more specific as what is your issue..which in turn is your problem
    How to cancel the sales order - header and line status are in Entered Stage
    Coming to your Action-->cancel...as far as i know ...the header status will change to canceled..
    unless until you have some processing constraints in place...which is stopping you...
    HTH
    Mahendra

  • PDF PO Release - XML Tags for the Header and Line Attachments

    Hi,
    I request you to please help me in finding out the XML tags for the PDF PO Release Header and Line Attachments? I tried to get the XML data by running the 'PO Output for Communication' program with the parameter as 'Debug' but its completing normally without giving me the XML data in the log file.
    Please help me in finding the XML tags for the PDF PO Release for the Header and Line Attachments.
    Thanks,
    Kunal

    Hi Kunal,
    Following syntax will get you the header and line level short and long text attachments.
    --Header short text attachments
    <?for-each:HEADER_SHORT_TEXT_ROW?>
         <?SHORT_TEXT?>
    <?end for-each?>
    --Header long text attachments
    <?for-each:/PO_DATA/HEADER_ATTACHMENTS/LONG_TEXT?>
         <?.?>
    <?end for-each?>
    --Line short text attachments
    <?for-each:LINE_SHORT_TEXT_ROW?>
         <?SHORT_TEXT?>
    <?end for-each?>
    --Line long text attachments
    <?variable@incontext:PoLnID;'PO_LINE_ID'?><?for-each:/PO_DATA/LINE_ATTACHMENTS/ID[. =$PoLnID]?>
         <?current()[$PoLnID]/preceding-sibling::TEXT[1]?>
    <?end for-each?>
    Also note that, while running the program in Debug mode for a particular PO/Release the status should be INCOMPLETE, otherwise you won't be able to see the XML tags.
    Thanks,
    PS.
    Edited by: PS on Sep 25, 2012 6:16 AM

  • What's the difference of Item Class value:Header and Line Item in AME Rule

    Hi All,
    when creating a Rule or Attribute,there is a Item Class property,which contains Header and Line Item two values.
    Can anybody pls help me clarify the difference?
    thx,
    edmund.

    This information can be found in the Approvals Management implementation guide in metalink. The part number for this document is B31622-02
    Regards

  • How to add new fields for FB01 transaction both at Header and Line item

    Hi Guys,
    I would like to add the new fields at header and item level in FB01 transaction. Can I acheive this by using transaction EEWB....please help me on this.
    Thanking you

    Hi,
    We are trying to copy a work flow objects from ECC6.0 to 4.6C...where we found the following Select statement.
    *Determine Top WorkItem Instance
      if im_top_wi_id is initial.
       select wi_id top_wi_id wi_rh_task into lw_top_id from sww_wi2obj
         up to 1 rows
         where wi_rh_task = im_wftask and
               catid      = 'BO'      and
               instid     = l_instid  and
               typeid     = 'FIPP'.
       endselect.
       endif
    As table sww_wi2obj can't be found in 4.6C, can any one help how to replace or implement the same logic as above statements.
    Thank you....

  • Header and Item table - Form Design Question

    Hi All,
    I have a header table and Item table. For every record in the header table I have multiple records in the item table. I want to have a adobe form in the following way
    1. A new page starts for every record in the header table and Items in the item table for this header record can span multiple pages with the same header information.
    2. When all the items are displayed for that particular header record, a new page should start for the next header record.
    I created one internal table in the following way
    Header_field1 Header_field2 Item_table(with all the items for this header record)
    Header_field1 Header_field2 Item_table(with all the items for this header record)
    I am not sure how to use a table for this scenario (Should It be a nested table?).
    Please provide me some ideas.
    Thanks,
    Ganesh.

    Hi Balasubramani,
    I made some changes and have the following now. Can you please let me know how I can achieve page break for every BP_NUMBER.
    I have a nested table like the one below.
    Main table u2013 Has header and Items information. Every header record has some header information like BP number, name and all line items for that BP in a nested table .
    IT_HEADER:
    BP_NUMBER     BP_NAME           IT_ITEMS(Items table)
    BP_NUMBER     BP_NAME           IT_ITEMS
    BP_NUMBER     BP_NAME           IT_ITEMS
    To display this information I created the following
    Subform1 u2013 overflow u2013bound to $record.IT_HEADER.DATA[*] u2013 (Repeat sub form for
    |                                             each data item)
    |->Header sub form u2013 Positioned
    |     |
    |     |-> Text Field u2013 bound to BP_NUMBER
    |
    |
    |->Item sub form -
         |     
         |->Item Table u2013 bound to IT_ITEMS
              |
              |->Data u2013 bound to IT_ITEMS.DATA[*] u2013(Repeat row for each data item)
    In the output BP number in the first record of IT_HEADER gets displayed and then all the Item records in IT_ITEMS for that BP get displayed. This is repeated all the records in IT_HEADER which is perfectly fine.
    Please provide me some suggestions to solve the following issues I am having
    1.     I need a page break between records of IT_HEADER. I want the new subform1 for the next header record to start in a new page. I tried conditional break option, on the only field BP number in header sub form. I have two master pages and two body pages. All the above information is in master page 2 and body page 2.  I am also not sure what to select in the TO section of the conditional break screen.
    2.     When there is an overflow in IT_ITEMS I need the Header sub form to be shown in the next page too.
    Thanks,
    Ganesh.

Maybe you are looking for