DMEE - Structure paid line item counter

Dear Friends,
We have created DMEE structure as per bank format.Bank will print payment advice also by using this txt file.
In payment advice part there are 3 line start from "H" which is header part of payment advice and will count like 1, 2 ,3
below that details part will start with same sequence but "D" will be added and sequence will continue with 4,5,6,7.....
But we are stuck in details part "D". How to continue same sequence which is coming from "H"  as per above image?
Thanks
Sampat

Dear Christoph,
I have generated following text file using DME tree
Now my further requirement is to add additional rows into it as shown below,
before display details of paid items I want to show three rows as static rows for every payment as highlighted in yellow.
Thanks
Sampat

Similar Messages

  • How to create Delivery from VA01 wich split on the basis of line item count

    Hi Frnds,
    I have this requirement where I have to split a single sales order into multiple deliveries whenever the line items count exceeds 10.
    Kindly advice if there is any routine/ any exit for this OR any other soln to this...
    Note : Splitting only takes place when the Line items count exceeds 10.
    for eg : In VA01, for a sales order having line items
                 01, 02, 03, 04, 05, 06, 07, 08, 09, & 10 ---> One delivery
                 11, 12, 13, 14, 15............................ 20 ---> second delivery
    Your help will be truely appreciated..
    Thanks,
    Kamal Sehrawat

    These are called copying requirements. If you open VOFM, you will understand better.
    The routine is a 3 digit number which corresponds to one particular scenario. There are many standard routines for each scenario. Ex : sales orders, deliveries, partners etc.
    There are 2 cases:
    1. copying the data from one scenario to other. Ex: orders to delivery, delivery to billing etc
    2. Moving the data while creation.
    You can choose anything which depends on your scenario.
    To code, copy the routine and create a custom routine. Select the routine and Press F5 (Second Icon to see the source text) to write the code. You can write/modify the code in the copied standard include it takes.
    If the standard routine is not suffice, you can also create a new custom routine which starts with 9XX.
    You need to explore more to understand better.
    Thanks,
    Vinod

  • Quote and Contracr line item count limit

    Dear Experts,
    I heard that there is a limit, that one quote or contract can contains maximum 999 line item.
    Is is true? If yes, is it possible to increase this value?
    I work on a project for a Utility company, where one quote should address in some cases 1500-2000 POD.
    Thanks, Miklos

    Hi Miklós,
    I cannot tell you too much about BUS2000112 performance with this high number of items.
    Flat lean utilities documents (BUS2000249):
    Object type BUS2000249 had some performance improvements the last years.
    I would expect that 500 items and also more items will work in a flat lean utilities document from CRM user side of view.
    But in case of contracts you might have to wait a while till you can reopen a saved contract when the replication is running.
    This is because there is no parallelisation for the replication.
    Additionally every single item change will open the whole huge document and create huge BDOCS.
    And often we have this single item changes in utilities processes ( switch communication, item distributed status ).
    -> Due to the bdoc/ replication issues I would not recommend to create lean utilities contracts with more than 200 items.
    Structured documents:
    These documents should be able to handle 2000 items if the user is willing to wait a few minutes for quotation/ contract create and quotation accept.
    In our system this is around 2-3 minutes (without switch document creation) but this will differ in your system.
    The runtime for creating items increases nearly linear with the number of items.
    To open persited huge structured documents is no performance issue.
    The replication to ERP is done in parallel and the bdocs created are smaller for single item changes.
    So BDOC/ and replication should be no big issue.
    Please note:
    The official SAP documentation describes a maximum number of 200 items for flat lean documents and 1000 items for structured documents.
    Unfortunately I have not enough experice with external pricing interface performance to tell you something about.
    Best regards,
    Stefan

  • Table which shows taxes paid line item wise

    Dear MM Gurus
    Can you suggest me the table/report which shows taxes paid for each PO item for a perticular period of time.
    Also can you suggest most widely used standard SAP MM reports across the industry for legal requirements.
    I appreciate your quick answer.
    Thanks
    Ravi

    Hi ravi
    i tihnk you are asking abt purchase register
    for the same no std. report available
    pls check following tables
    BKPF, BSEG,RSEG,RBKP,RBTX
    Vipin

  • Counting order line items in a sales cube

    Hi,
    How best can one generate a report against an SD cube to count the total number of order line items?
    Will a count ikey figure in the cube necessarily be a count of the sale order line items? What if you needed to count the orders and not the order line items?
    Thanks

    Hi,
    since I am interested more in the order line item, onyour point:
    "to get the line item count, there is standard key figure in 2LIS_11_VAITM extractor, which returns the number of line item count. That should count the number of line items"
    What is the name of the standard  key figure you are referring to?
    What if this is not in the data target that it is being reported against?
    An easier way to to get this count in the report without having to modify the Multiprovider?
    Thanks

  • Need some help on workaround for more than 999 line items in a FI document

    Hi all,
    user would like to know if there is any way to increase the maximum # of lines for an FI document. Currently, as SAP only allows 999 lines per FI document. The user is encountering an issue when a taxable invoice is uploaded because SAP creates additonal lines for the taxes thereby increasing the line item count beyond the 999 limit. This causes the user to separate out the upload files into several different files which is very time consuming. i have read some replies from previous questions posted on this but none were clear enough on how to actually split the lines and what will happen after the split to the rest of the line items how is the continuation with the first document. can some one give me the explanation or steps on how we can do the split on this document please. we are on 4.6c version. if we have to write some code, what should i explain to the abaper? any kind of inputs would be greatly appreciable.
    Thanks in Advance
    Jay

    Hi,
    From your comments, I understand that you are uploading the journals.  The steps to handle 999 line items limitation is through functional and technical help.
    1. create a dummy GL account
    2. In the code, ask the abaper to have a logic such that if more than 900 lineitems (dont check for 999, as some auto postings will be done), then the balance should be loaded to the dummy GL account created and a document should be posted
    3. Start reading the remaining docs and follow the same logic as in 2 and ensure that the posting happened in step 2 against dummy GL account should have reversal posting.  That is, if step 2 dummy GL account has a credit balance then in step 3 against the same amount a debit entry for the GL account should be posted.
    This will ensure that once all the line items are posted, the balance in dummy GL is Zero.
    Regards,
    Sridevi

  • FI Line Item Table.

    Hi,
    I have two facing two problem when using BADI.
    1 - When I use BADI "FI80A001' and function EXIT_SAPF048_001'. How can I find that this function call by F-53 transaction code in runtime. In sy-tcode field appear FBZ2 instead of F-53.
    2- When F-53 tcode using for outgoing payment. Correct me if I am wrong that BSIK table have liabilities of Vendor and these liabilities paid by company to vendor than sum of these payment append in BSIS table but line items in BSIK deleted. I want to about table of paid line item record.
    Thanks
    Tayab Shah

    Hi syed Tayab Shah,
    Don't worry about SY-Tcode...
    Might be internally T-code F-53 is calling FBZ2...
    BSAK                           Accounting: Secondary Index for Vendors (Cleared Items)
    BSIK                           Accounting: Secondary Index for Vendors
    BSIK-BUZEI ==> Line Item
    BSAK-BUZEI ==> Line item
    Might be (As per Ur requirement) U have to fetch the date from both these tables and appened it to a single internal table...
    BSIS         Accounting: Secondary Index for G/L Accounts
    stores sum from this both tables...
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7

  • How to reprint a check after reversing partial line items in F110

    Hi,
       I have run the payment process by using F110, for one vendor. The proposal and payment made for 2 open items. After the cheque print, we have realised that we need to make payment for one line item only. First I have voided the cheque, then thru FBRA, I have reversed one payment doument out 2, the one we need not pay now. Please guide me how to reprint the cheque for the let out payment line item?
    EX: 
    Vendor Lines:
    1. Open Item 1 - INR 2000
    2. Open Item 2 - INR 3000
    After payment process both the lines are take for proposal and later completed the payment run also.
    Both the Open Items are picked for payment and lines are cleared. A cheque has been printed for INR 5000.00
    By using FBRA I have reveresed 2nd line item.
    Vendor lines:
    1. Open Item 2 - INR 3000
    2.Cleared Item 1 - INR 2000
    I have not cancelled the payment ID and second line. Now please guide me how to take print out of cheque for the cleared        ( Paid) line Item for IN 2000.

    Hi,
    It is a lot more convenient if you delete your current proposal and rerun F110 for desired line items only.
    Regards,

  • Deleting an order line item with B1WS?

    Hi,
    I am building an application which uses B1WS as it's interface to DISERVER.  There is a situation I am confused about and am hoping the folks here can shed light on.
    I have an order object, and I would like to delete a line item from it.
    How can I do that?
    Thank you,
    Mike

    Ok, we figured it out.  I wasn't updating the LineNum property after resetting the line items.  The code below works for us, and  hopefully for you too.
    Again, the idea is, to delete a line item, create a new line items collection and put into it every line item EXCEPT the one you want to delete.  Then update SAP.
    private void DeleteLineFromOrder(string itemCode, string projectCode)
                // Load SAP order via B1WS
                string sessionID = B1WSLogin();
                GetSAPOrder(docEntry, sessionID, out _order, out _document);
                int oldLineItemCount = _document.DocumentLines.Count();
                // Create collection of the current lineitems, before the add.
                DocumentDocumentLine[] originalLineItems = _document.DocumentLines;
                // Update the line item count
                _document.DocumentLines = new DocumentDocumentLine[oldLineItemCount - 1];
                int lineItemCounter = 0;
                foreach (DocumentDocumentLine originalLineItem in originalLineItems)
                    if ((originalLineItem.ItemCode != itemCode) || (originalLineItem.ProjectCode != projectCode))
                        originalLineItem.LineNum = lineItemCounter;
                        _document.DocumentLines.SetValue(originalLineItem, lineItemCounter);
                        lineItemCounter++;
                _order.Update(_document);
    Cheers,
    Mike
    Cygnusoft, Inc.

  • Display average for line items

    I have a query with a fixed row structure basically line items restricting on specific cost centers. I have my column structure where my key figures are alone with date restrictions, etc. Part of my query requires the user to specify the date interval for the data they want to see: Production date: 8/01/2008 - 8/12/2008 for example, but instead of the total for that date range for each line item in my row structure, they want to see the month-to-date average of the production for that time period. I have tried to do the option of Average for all values under the local calculations, but it still gives me the total, so I'm assuming that only applies to the result rows. The option for aggregation is grayed out. Temporarily, I have given them an input variable to enter 12 for the number of days and done the division in a formula, but I don't want to continue to have to do that if there is a better way.

    We have implemented something similar using formula variables to calculate the number of days between an input date range interval. Ex. ZPRDDATE is the input variable they enter 8/1/2008 - 8/31/2008
    Have two formula variables which are derived from ZPRDDATE in auser exit:
    Start Date = From value of ZPRDDATE (8/1 in this case)
    End Date = To Value of ZPRDDATE (8/12 in this case)
    Build 3 formulas in your query:
    Start Date = Start Date variable
    End Date = End Date Variable
    Diff Daus = End Date - Start Date
    The n you can calculate the avg in a formula

  • Line item number in DMEE structure

    Hello Gurus!
    I'm configuring DMEE structure for payment medium file. One of the requirements for this payment medium is the field with line item number of the payment order. This should be the field with incremental value starting from 1 till n, where n equals the number of payment orders in the file.
    I've reviewed the data retrieved by the following structures FPAYH, FPAYP as well as FPAYHX using debugger but could not find anything useful for this purpose. Could you suggest, how to solve this issue? Is there any standard field that I've overllooked or should I create some function module?
    Thank you in advance!

    Patvin,
    To include line item number in PO printout, you can take the daata from this:
    table: EKPO
    field: EBELP
    Discuss this requirement to your ABAPer.
    reward if useful

  • Dynamic Counter in BEx Report to count the drilldown line item.

    Hi,
    I have a requirement to show the count of different parts in a report. For example the report,
    Part Number            Costs
    100                    200 $
    and if you drill down from the part number to line item details, you will get,
    Item Number            Costs
    10                      50 $
    20                      50 $
    30                      50 $
    40                      50 $
    So basically Part Number 100 is consists of 4 Item numbers. Now I want to show original report like this,
    Part Number            Costs               Counter
    100                    200 $               4
    Is there any way I can catch that counter, like how many line item is there per Part Number ?
    I am thinking of 2 ways, Virtual key Figure to calculate this or in alternate if possible use the Classification extractor (not sure if it possible to count the number of items per classification extractor though).
    Is there any better or simpler way to deal this without changing the cube structure ?
    Thanks for your time spent on this,
    Kind Regards,
    Arpan

    Hi,
    You can get this functionality with Virtual Key figures.
    You will have the complete dataset in the RSR00002 Enhancement in CMOD.
    Thank you
    Arun

  • How to Update line items in a structure ?

    Hi i am getting 3 line items retrieved from a Function Module. But while displaying in the script it shows only the last line item. How do i update all the line items??
    The code is given below,
        CALL FUNCTION 'FI_PRINT_ZTERM'
             EXPORTING
                  I_ZTERM         = EKKO-ZTERM
                  I_LANGU         = EKKO-SPRAS
                  I_XT052U        = ' '
                  I_T052          = T052
             TABLES
                  T_ZTEXT         = ZBTXT
             EXCEPTIONS
                  ZTERM_NOT_FOUND = 01.
    Loop at ZBTXT.
        READ TABLE ZBTXT.
        IF SY-SUBRC EQ 0.
          PEKKO-ZBTXT = ZBTXT-LINE.
          DELETE ZBTXT INDEX 1.
    *      UPDATE PEKKO-ZBTXT.
        MOVE ZBTXT-LINE TO PEKKO-ZBTXT.
        ENDIF.
    ENDLOOP.
    And also how do i retrieve it in the script ?

    HI Navaneethan,
    please try following code.
    make  PEKKO should be internal table with appropraite structure..
    Loop at ZBTXT.
          MOVE ZBTXT-LINE TO PEKKO-ZBTXT.
          append  PEKKO.
         clear  PEKKO.
    ENDLOOP.
    loop at pekko.
    write : / PEKKO-zbtxt.
    endloop.
    if above code is helpful, REWARD POINTS.
    Regards,
    Ranjith

  • How to Count Number of completed line items in past 6 months / 12 months ?

    How to Count Number of completed line items in past 6 months / 12 months ?
    Hi,
    I am trying to count "Number of Completed Line Items in Purchase Order Document" for my Key Figure ZPO_CNT.
    Purchase Order document = ZEBELN
    Line Item = ZEBELP.
    I need to find and count if the Line Item has been received in the past 6 months from today and similarly in the past 12 months.
    I have "Delivery Completed" field, ELIKZ.
    So, based on this would I be able to calculate it in Query Designer?
    If so, Please let me know how

    Hello Deva
    If youe want to calculate the completed line item for last 6 or 12 month then i think u will be displaying the query data for these montrhs...create a customer exit to give you date range and restric it in filter area....
    Now Choose any of the below option
    1. I would suggest to implement an additional key figure "counter" in cube and fill values with one for which delivery is completed.
    Now use calculated key figure in Query Designer based on logic
    IF counter = 1 THEN counter ELSE 0
    OR
    2. create a formula variable based on ELIKZ and use replacement path variable, it will display you no. of docs for which delivery is completed....
    Award points if it solves your problem
    Revert back in case of further assistance...
    Thanks
    Tripple k

  • How to increment counter for line items.

    Hi,
    Please see the code below:
    LOOP AT T_MAT INTO W_MAT.
              perform bdc_dynpro      using 'SAPMM07M' '0421'.
              perform bdc_field       using 'BDC_CURSOR'
                                            'MSEG-ERFMG(i)'.
              perform bdc_field       using 'BDC_OKCODE'
                                            '/00'.
              perform bdc_field       using 'MSEG-MATNR(i)'
                                            W_MAT-MATNR.
              perform bdc_field       using 'MSEG-ERFMG(i)'
                                            W_MAT-ERFMG.
              i = i+1.
          ENDLOOP.
    In the above code I'm updating the line items thru BDC. Here I'm having a counter ' i '. I'm incrementing it for every loop cycle. When I run the BDC I get the error "Field MSEG-ERFMG does not exist in the screen"
    Please help.
    regards,
    Sriram

    Hi Sriram,
    you code as to be changed slightly:
    DATA l_counter(2) TYPE n.
    DATA l_fieldname  TYPE string.
    loop at t_mat into w_mat.
      MOVE i TO counter.
      CONCATENATE 'MSEG-ERFMG('  counter  ')'  INTO l_fieldname.
      PERFORM bdc_field USING 'BDC_CURSOR'
                              l_fieldname.
      i = i+1.
    ENDLOOP.data l_counter(2) type n.
    Regards
    REA
    Edited by: Ramy EL-ARNAOUTY on Jul 28, 2009 10:29 AM

Maybe you are looking for

  • MACBOOK PRO 2010 13' installation on new harddrive failed(you need to resta

    Hello, v I have a new macbook pro 13(from 2010). When i bought the laptop evrything was working great, in the summer i tried to do a clean install(i had a lot of stuff on it that i wanted to delete) but i couldn't: I puted the installation dvd in and

  • 10.4.6 upgrade deleted all of my calendar data

    I have managed to lose all of my calendar data, including all of my calendar on my exchange server (via entourage sync). I didn't see the readme before I upgraded, so when I ran sync, it asked me what I wanted to do during sync. I made sure that ento

  • CS5 multiscreen javascript error

    When trying to view a page in multiscreen I get the following js error. At line 438 of file C/programfiles/Adobedreamweavercs5/configuration/floaters/multiscreen preview.js.gSml.stopLive View is not a function. How can I fix this? I tried it plain an

  • CHaRM Transaction Codes

    Does anyone know what the difference is between transaction code S_SMC_47000025 and S_SMC_47000026?  I know they are used to display Maintenance Cycles, but I'm not sure what the difference is between the two.

  • Rename users and transfer Discoverer reports

    I hope someone can help. We are running Discoverer 10g with a database EUL. The reports have been operational for several years and users have edited and saved their own versions of standard reports. However it has been decided that a large number of