DTW Document Special Lines / LineNum

Hi Experts,
i've encountered a problem while importing sales quotations via DTW.
When i try to import text lines (Template IN10V) with the other templaes (OQUT and QUT1) im getting the error "invalid AftLineNum line:2".
I've checked the error file and the invalid AfterLineNumber is the same number i used a row before, but the lineNum is different.
I know you should leave the linenum while adding documents empty, but since i have 2 or more texlines following one another and i got the same error while leaving linenum empty. i checked how this issue is saved in the database by adding a sales quotation via SAP and found this:
As you can see, AftLineNum can be the same, but den LineSeq is different (counts like LineNum in the normal document lines). So i updated my template like this... take a look
I checked the afterlinenumbers with the linenumbers in QUT1, they match....
So how do i do this??
Please help!

So i got it, it works now... must've been a temporary dizzyness of the dtw  :/
So how to map these SpecialLines:
ParentKey
LineNum
AfterLineNumber
LineType
LineText
1802
0
-1
T
Text before the first DocumentRow
1802
1
2
T
Text after the DocumentRow with LineNumber 2
1802
2
2
T
second Text after the DocumentRow with LineNumber 2
1802
3
4
T
Text after the DocumentRow with LineNumber 4
You have to make sure that the order is right, so that you order first the AfterLineNumbers ascending and then set the LineNum from 0 to the number of your Importrows for this recordkey.
So LineNum starts with each recordkey with 0 and counts +1, but the AfterLineNumbers have to be ordered ascending, so you cant import something like this:
(the first textline with afterlinenum -1 is mapped with the linenum 3, but it must be the 0, because its the first linenumber you add to your document, and so on)
ParentKey
LineNum
AfterLineNumber
LineType
LineText
1802
3
-1
T
Text before the first DocumentRow
1802
0
2
T
Text after the DocumentRow with LineNumber 2
1802
2
2
T
second Text after the DocumentRow with LineNumber 2
1802
1
4
T
Text after the DocumentRow with LineNumber 4

Similar Messages

  • Create delivery  document for line item 5 only manually

    Hi Sap Experts,
    We have scenario, we have created sales order with 10 line items while creating delivery we don’t want to show all the 10 line item to delivery creator (creating delivery manually).
    We will send him mail saying that create delivery  document for line item 5 and we will provide him material number and delivery date and shipping point with sales order number.
    We don’t want to use partial delivery option that split the delivery and we don’t want to use VL10C tcode also.
    What are options we have and how to customize this scenario?
    Kindly suggest.
    Regards,
    Kotli

    Can you be clear in your requirement?
    One requirement is user should not select line items other than the one instructed to them
    The other requirement is delivery split should happen based on item category
    If your requirement is first one, you need to go with user exit USEREXIT_MOVE_FIELD_TO_LIPS in include MV50AFZ1 but I am not sure, on what logic, coding to be included in this exit.  If your requirement is second one, then just try in your system and share the outcome how system is functioning.  You will come to know how standard SAP works.
    G. Lakshmipathi

  • Table to link FI document number, line item and pricing condition type

    Hi,
      I am looking for tables to link the FI document number, line item and PO pricing condition type.
      Appreciate any help on this.
    Thanks.

    For any PO in ME23n in which Goods receipt has happened, you can check in the itemdetails->Po history tab in ME23n.
    Here you will find the material document number. Just click on the material document, it will take you to anpther screen here you will find a button for FI document.
    Click that button for FI document. In PO history istelf you can see the Condition types.
    Hope this helps.

  • Only one top level element is allowed in an XML document. Line 2, Position 2

    I get this error when I try to run an xsql query with a where clause:
    Only one top level element is allowed in an XML document. Line 2, Position 2
    <font size='-1' face='monospace'>XSQL-005: XSQL page is not well-formed.</font><BR>
    -^
    Here is the xsql query I tried to use.
    <?xml version="1.0"?>
    <xsql:query connection="xmlbook" xmlns:xsql="urn:oracle-xsql">
    select * from companytable where companynumber < 1000;
    </xsql:query>
    null

    You need to escape certain characters in order to make XML documents well formed. The problem in this case is the less than sign between companynumber and 1000. You should replace it with <
    I recommend reading a good XML book - "Building Oracle XML Applications" by Steve Muench, for instance.
    Brian

  • MIRO-FI & MM Documents in line with GRN-FI & MM Document

    Hi,
    Is there any standard report for  MIRO-FI & MM Documents in line with GRN-FI & MM Document .
    I am able to check MIRO FI & MM document in MIR5,
    But i want all four docuements in line with each other..
    Please provide your input....

    Hi,
    Use ME80FN for the same, provide PO as a Input and execute reports ,once report displayed then click on purchase order history tabs to see GRN vs MIRO /downpayment etc relate to FI accounting Details.
    Regards,
    Sandesh Sawant

  • Dreamweaver CS5 fatal error XML parsing: Invalid document structure, line:1, File: C:\User\Tyler\App

    XML parsing fatal error: Invalid document structure, line: 1, file: C:\User\Tyler\AppData\Roaming\Adobe\Dreamweaver CS5\en_US\Configureation\Workspace\Classic.xml
    I have gone through older disscussion forums and have followed the steps recommended by deleting the corrupted .xml file itself (in this case "Classic.xml") but imidiatly after when i try to open Dreamweaver again, i am prompted with the same fatal error message including the file that i have just deleted. Next i deleted the entire configure file and this did not help either.
    It is also odd that when i follow the path to find the corrupted .xml file from the prompt, the path is different in that i do not find the "Classic.xml" file through th "en_US\Configuration\Weorkspace" navigation, however i do find the corrupt "Classic.xml" file in the "configure" folder of the "Adobe Dreamweaver CS5" file.
    Im not sure what to do now and i would really like Dreamweaver back up and running so please help if you can!!!
    Thanks
    -Tyler

    Step 1: Close DW, Navigate to C:\User\Tyler\AppData\Roaming\Adobe\Dreamweaver CS5\en_US\Configureation\Workspace\ and delete that Classic.xml file
    Re-open DW. DW should auto-create your Workspace layout XML file again. See if it works fine.
    PROCEED TO STEP 2 ONLY IF STEP 1 DOESN'T SOLVE THE ISSUE
    Step 2: Navigate to C:\Users\Tyler\AppData\Roaming\Adobe\Dreamweaver CS5\en-US\Configuration and delete the entire 'CONFIGURATION' folder. Re-open DW. DW should auto-create your configuration folder based on predefined layouts and config options. This will definitely fix your issue.
    Reason for this issue: This issue would have been caused due to a malformed workspace layout configuration. That may happen due to customizations you may have done to the layout/ improper file permissions/ improper shutdown on Windows.
    See if these fixes resolve your issue and post your results here.
    Cheers,
    ST

  • XML parsing fatal error: Invalid document structure, line: 1, file: ... (in this case "Classic.xml"

    dreamweaver not initiating..claiming a parsing fatal cerr because classic.xml is corrupted. I tried re-installing dreamweaver... nothing

    See here Dreamweaver CS5 fatal error XML parsing: Invalid document structure, line:1, File: C:\User\Tyler\App

  • Can't open DW CS5.5  Invalid document structure line 1 - anyone know how to fix this?

    I get:
    XML parsing fatal error: Invalid document structure, line 1, file:

    The first thing to try is Deleting Corrupted Cache in DW
    http://forums.adobe.com/thread/494811
    If that doesn't help, try Restore Preferences
    http://helpx.adobe.com/dreamweaver/kb/restore-preferences-dreamweaver-cs4-cs5.html
    If all else fails, use the CC Cleaner Tools below followed by a software re-install.
    http://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
    Nancy O.

  • IDoc message Document or line item does not exist for invoice reference

    Hello,
    We activated IDoc message type FIDCC2. When cancelling documents which were created before the activation date the cancellation documents aren't posted in the receiving system. Message 'Document or line item does not exist for invoice reference' appears. How can I process these items (the reference document can't exist in the receiving system so the only option is to remove it from the IDoc?)?
    Regards, Jan

    This is just a guide.  Adapt it to your situation.  I get this kind of error message where in the case, someone has marked for deletion a line item in the purchase order.  In this regard, the IDoc errors out because the line item number being referenced is marked for deletion.
    You can either delete the IDoc or have the deletion flag taken off the line item number in the PO or document number to enable you reprocess the IDoc number in question.
    Elias

  • Error in DTW for Special Prices while using

    Hi All,
             while tryin to import Special prices through DTW, I'm gettin an error message, " No Price defined for item in selected price list". CAn anyone please suggest how to import special prices and whts the casue of this error??
    Thanks in advance,
    Joseph

    Hi Joseph,
    Check the link
    Updating Special Prices via DTW
    special prices
    Re: Price List per Document Line
    DTW Template for Uploading Special Prices for Business Partners.
    *Close the thread if issue solved.
    Regards
    Jambulingam.P
    Edited by: Jambulingam P on Jun 29, 2009 11:57 AM

  • Cancel down payment Invoice and accounting document without lines item

    Dear masters,
    I have a problem with down payment invoice cancel. As you know when doing invoice down payment request, after release to accounting, the accounting doc will have special G/L indicator is F (noted item). And when I cancel this billing down payment and after release to accounting, the accounting doc of cancel invoice will not have any lines item. Now I want to have lines item for cancel down payment, how can I do that? I really appreciate your support!
    Regards,
    Nguyen Pham.

    Dear Nguyen,
    As i understand your process you created Downpayment Request from SD.
    Then created Downpayment with reference to that request.
    Then you generated Billing invoice and released to accounts.
    After that you cleared the downpayment with the Billing document.
    Now you want to cancel all this.
    First cancel the downpayment by FBRA reset and reverse.
    Then cancel the billing document.

  • LOOKING FOR AN APP THAT WILL ALLOW ME TO READ A PDF DOCUMENT OFF LINE

    My itouch has 8 Gb of RAM and I am looking for an app that will allow me to store a PDF document in memory and read it off line as there are times when I do not have access to WiFi. I can email myself the document but I am off line, I don't think that the inbox is an off line folder from which an attachment can be viewed off line, right? Therefore the reason I am looking for the ability to save and read off line.
    Thanks!!

    @x62
    I don't think that the inbox is an off line folder from which an attachment can be viewed off line, right?
    No, incorrect. The inbox is an *off line* folder, just as it is on a computer. Once you download the email from the server, it is in your iPod/computer and you can access it when you like.

  • How to reverse a FI document with line item that is cleared and archived.

    Hi all,
    Appreciate your help on this.
    I have a FI document, say 1000001 with 3 line items.
    line 1 and 3 is open. line 2 is cleared by document 1000002.
    1000002 is subsequently being archived.
    Now, is there any way to reverse document 1000001?
    I can no longer do a FBRA (reverse and reset) since 1000002 is already archived.
    Please help!
    Thank you,
    Lai San

    Hi Lai San,
    Dont know whether this helps.. but just a thought....
    i came across a note regarding reversal of an SD document when the corresponding FI document was already archived.. reversal was not working due to a program error (SAP note 410590). does the FI doc reversal also work on lines with SD doc reversal? (iam a layman here ) maybe u can consult SAP?
    Regards,
    Naveen

  • Enhancement - Accounting Document from Billing Document - change line items

    Hi Experts,
           Our client has a requirement to display all line items(as shown in Billing document) along with the tax line in the Accounting document. I can explain it as below:
          In VF01 transaction code: enter the delivery number.
          Press enter to see the number of line items that will be populated in the Billing document.
          Click on save.
          Here in the Accounting Doc you'll find only 2 line items, one line item is the consolidation of WRBTR and quatity of all the line items in the Billing Document and the other line item is the tax.
          We are required to replace the consolidated line item in the Account Doc with all the actual lines as populated in the Billing Document.
          For this we tried various methods:
                 Searched for a BAPI - couldnt find any which will help in modifying the line items before creation of Account Doc
                 Checked UserExits - Found one SDVFX008 but it didnt have the table which is sent for population of Accounting doc hence there was no way we could modify any table to get the desired output.
                 Searched the VF01 Flow in Debugger to check when the Accounting Doc is updated, but it also didnt yield any fruits.
          Kindly please guide on a way this can be accomplished. Appreciate the help from you all...

    Hi
    I think that your requirement is related with summarization of items in the FI doc for the billing document. Please, see SAP Note 36353 - AC interface: Summarizing FI documents. See also Note 301077 - User exits for the interface to accounting.
    I hope this helps you
    Regards
    Eduardo

  • MIR7 Park an not GR'd document with line item reference

    Hi I have also left this message in the MM forum.
    Scenario 1 is how the system currently works, scenario 2 is what we want to achieve, so Parked, unreciepted document but would like the line item details to appear in MIR7 so we an trace it and report against it and ask user to post a GR easier ......
    Important point on both is the PO is not receipted as the user has forgot to do it!
    1. PO gets created
    2. Invoice comes in
    3. AP clerk does MIRO enters PO number gets a message no selectable item.
    3. AP clerk switch to parking and parks docuement
    4. Display parked invoice we can see the PO number but no line item details
    Here are the steps we want to happen Step 4 is different
    1. PO gets created
    2. Invoice comes in
    3. AP clerk does MIRO enters PO number gets a message no selectable item.
    3. AP clerk switch to parking and parks docuement
    4. Display parked invoice we WANT to see the PO number AND the line item details
    Is there possible a BAPI we can use to achieve this or any ideas on development that might be required or can it be achieved via configuration?
    Thanks for any help!

    this can happen if any freight or packaging condition value was present while GR but deleted or altered befire the cancellation of document.. pl check in MSEg for amount in LC and delivery costs.

Maybe you are looking for

  • Print a section from a specific printer tray

    Hello to everyone. I need some help for solve a little problem with Crystal Report. I have a report where a specific section (that contain a bank giro slip) need to be printed from a  specif tray of my digital printer, because need a special kind of

  • How do you burn a cd when no where on any menu is the option there

    I am on Dell PC with Windows/Vista and just downloaded ITunes and brought in all my music.  I want to burn a cd and on my other ITunes it was easy. There is no option for burning a CD on any menu or when I right click a playlist.  Also very tough to

  • How do I synchronize a 250x250 Scan AO and AI with hardware clocks?

    Hi, I am building a Scanning tunneling Microscope STM which requires a 250 by 250 pixel scan with a delay of about 1ms between pixels. I want to start the scan with a software trigger. The scan entails outputting an x and y value using two AO channel

  • Java to ActionScript

    I have java code which creates and parses xmls and xsds. I need convert this to action script code. Is there any good tool available to convert java to Action Script ? I tried one tool .. It simply changes the syntax. Its not changing any java import

  • Invalid XML document

    I'd like to ask about some problem with desktop profile xml file. When I log into the amconsole as amadmin, go to the Services/Portal Desktop/Edit Display Profile, and after changing nothing press OK, the following message arises: Error at line 1,569