BDC line items greater than 7

Hi,
I have a sales order BDC program using Upload function to upload the file. It was working fine till now, as we are receiving more orders, this program is not working if we have the line items more than 7 in same order. Can you please help me how to change this program so that it takes line items greater than 7also?
Thanks
Veni.

Hi Veni,
There is one button (+ Sign) exist in the Sales order creation check the ok-code for this object in the
put
BDC_OKCODE = '=POAN'
This OK code is for showing up the next 7 line items on the screen.
-- if it works then please reward points--

Similar Messages

  • Line Item greater than 9999

    Invoice line item detail is over 9999. Has anyone ran across this problem.
    What options do i have other than cutting the invoice. Vendor does not want to invoice cut into several pieces.
    They also do not want to bill daily to reduce the line item.
    We get an average of an invoice over 12,000 line item.
    Any suggestions please?

    Does anyone have best practices that we can implement out there. I guess my question is, when I break the invoice... If the invoice comes in through EDI(electronic) how does EDI know to break it since its coming electronic... Will you suggest we count the line items and break if afterwords. If I do that, How can i associate the header level detail with the next 998 line?.
    Question is total invoice is $1000.00 and there are over 12,000 line that make up this amount. Since debit has to be equal credit for the invoice to post and I am breaking up the invoice line item detail, how do I associate the next batch with the header?
    thanks

  • Taking too much time for saving PO with line item more than 600

    HI
    We are trying to save PO with line items more than 600, but it is taking too much time to save. It is taking more than 1 hour to save the PO.
    Kindly let me know is there any restriction for no. of line items in the PO. Pls guide
    regards
    Sanjay

    Hi,
    I suggest you to do a trace (tcode ST05) to identify the bottleneck.
    You can know some reasons in Note 205005 - Performance composite note: Purchase order.
    I hope this helps you
    Regards
    Eduardo

  • Clear the line items more than 999 through F-28

    Hi,
    I have one issue,
    senario is like below:
    Step1:
    F110 - Create the payment order for customer. if customer have more than 999 line items also payment order is updating
    Step2:
    Clear the invoices with referece to Payment order in F-28
    here while clearing the customer line items using payment order referece if line items is more than 999 for customer it is not allowing to clear. error message is line items more than 999.
    I have checked with tecnical people can we split the clearing if more than 999 line items. as per them is if it is not referece to payment order it is possible to write some code based on document type or posting date they can split.
    here it is not possible. I tried with summrizaiton senario as specified in sap notes if line items more than 999. it is not also working.
    i have one more question also while running f110 can we restrect the payment order to geneare upto 999 line items if it exceeds it should create other payment order of remaing line items so on.. is it possible?
    can any body give a light to resove this issue.
    BR:
    Venkat.Gurram

    Hi,
    I have already checked that link .
    I have implemented the note: 36353 for summrizaiton.
    for payment order we can't do sumarization due to we can't the payment order while cleargin.
    give me some other idea
    BR:
    Venkat.Gurram

  • Regarding bdc line items

    hi everybody,
                        how r u all.  i have a prob with bdc line items. all the fields r getting displayed in only one field.  tell me clearly how to handle bdc line items.
    Regards,
    sindhu.

    Hi,
    check this code for line items
    FORM POPULATE_BDC.
    DATA:L_COUNTER TYPE N,
             L_STRING TYPE STRING.
    LOOP AT IT_CUSTOMER.
    AT NEW KUNNR.
    CLEAR L_COUNTER.
          L_INDEX = SY-TABIX.
          READ TABLE IT_CUSTOMER INDEX L_INDEX.
    perform bdc_dynpro      using 'SAPMV10A' '0100'.
    perform bdc_field       using 'MV10A-KUNNR'
                                  IT_CUSTOMER-KUNNR.
    perform bdc_field       using 'MV10A-VKORG'
                                  IT_CUSTOMER-VKORG.
    perform bdc_field       using 'MV10A-VTWEG'
                                  IT_CUSTOMER-VTWEG.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    ENDAT.
    L_COUNTER = L_COUNTER + 1.
        CLEAR L_STRING.
    perform bdc_dynpro      using 'SAPMV10A' '0200'.
    CONCATENATE 'MV10A-MATNR(' L_COUNTER ')' INTO L_STRING.
    perform bdc_field       using L_STRING
                            IT_CUSTOMER-MATNR.
    CONCATENATE 'MV10A-KDMAT(' L_COUNTER ')' INTO L_STRING.
    perform bdc_field       using     L_STRING
                                     IT_CUSTOMER-KDMAT.
    CONCATENATE 'MV10A-MEGRU(' L_COUNTER ')' INTO L_STRING.
    perform bdc_field       using   L_STRING
                                    IT_CUSTOMER-MEGRU.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    *-- For Page down in Call Transaction Mode
        IF L_COUNTER = 14.
          CLEAR L_COUNTER.
          PERFORM BDC_DYNPRO      USING 'SAPMV45A' '4001'.
          PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                                '=P+'.
        ENDIF.
    perform bdc_dynpro      using 'SAPMV10A' '0200'.
    CONCATENATE 'MV10A-SELKZ(' L_COUNTER ')' INTO L_STRING.
    perform bdc_field       using L_STRING
                              IT_CUSTOMER-SELKZ.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SELE'.
    perform bdc_dynpro      using 'SAPMV10A' '0300'.
    perform bdc_field       using 'MV10A-KDMAT'
                                  IT_CUSTOMER-KDMAT.
    perform bdc_field       using 'MV10A-LPRIO'
                                  IT_CUSTOMER-LPRIO.
    perform bdc_field       using 'MV10A-ANTLF'
                                  IT_CUSTOMER-ANTLF.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                        '/EBACK'.
    at end of kunnr.
    READ TABLE IT_CUSTOMER INDEX L_INDEX.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=SICH'.
    CALL TRANSACTION 'VD51' USING IT_BDC MODE 'A' UPDATE 'S'
          MESSAGES INTO IT_MESSAGES.
          CLEAR IT_BDC.
          REFRESH IT_BDC.
    ENDAT.
      IF NOT IT_MESSAGES[] IS INITIAL.
        PERFORM FORMAT_MESSAGE.
      ENDIF.
    ENDLOOP.
    ENDFORM.                    " POPULATE_BDC
    regards,
    keerthi

  • Get item Greater than and equal to today's date...

    Hi,
    We are having issue in getting item greater than today's from SharePoint List. We have a column in list with Date and Time Data type.
    I am using below code to get data greater than and equal to today's date.
    SPQuery query = new SPQuery();query.Query = "<Where><Geq><FieldRef Name='Expires' /><Value Type='DateTime'>"+ DateTime.Today.ToShortDateString() + "</Value></Geq></Where>";
    SPListItemCollection listItemCollection = list.GetItems(query);
    Please suggest what is wrong in above query.
    Regards,
    Amit Chhatbar

    Hi Amit,
    I guess the date is expected to be in UTC and ISO 8601 format. Use the below code and check if it works.
    DateTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ssZ")or DateTime.Today.ToString("yyyy-MM-ddTHH:mm:ssZ")
    Ram Prasad Meenavalli | MCITP | MCTS SharePoint | MCPD SharePoint | http://www.spdeveloper.co.in

  • Line item more than 999........

    Hi guys,,
    maximum no of line items are 999...but if client want more than this...is there any way to do it.
    i mean more than 999 line item can be possible..
    plz reply.

    Hi
    1) Implement FI summarization (as per note 36353).
    2) Cancel the original document and split it into smaller documents using different payment terms but actually with the same terms.
    3)  Note 103334 will force a delivery split in collective processing if the source order exceeds the item number limit.
    Srinivas

  • How to customize a List object to contain line items other than String

    I'd like to create a List that contains line items with the following form:
    check box followed by a string followed by a button.
    I'd like the list to be backed by an object array that has a similar form:
    boolean, String, boolean
    which define if the item is checked, it's title, and whether or not to display the button.
    So I'd like to have code something like this:
    // ten items in this lists
    MyList myList = new MyList(10);
    // first item
    MyObject myObject = new MyObject(false, "Item 1", true);
    myList.add(myObject);
    // add the rest of the items...I can't use Swing, I only have AWT available in a J2ME environment.
    Where do I start?
    Can I do this with List?
    I've looked at GridBagLayout but I'm unfamiliar with it. Would a GridBagLayout work?
    Do I need to create a custom control from scratch (based on Panel or ScrollPane, for example) to accomplish this?
    Thanks,
    Nick.

    List only takes Strings. Here's an possibility with GridBagLayout:
    import java.awt.*;
    import java.awt.event.*;
    public class ListTest implements ActionListener
        Object[][] data =
            { Boolean.TRUE,  "John Ericsen",   Boolean.TRUE  },
            { Boolean.FALSE, "Heidi Pall",     Boolean.TRUE  },
            { Boolean.FALSE, "Gregg Fletcher", Boolean.FALSE },
            { Boolean.TRUE,  "Pieter Gaynor",  Boolean.TRUE  },
            { Boolean.TRUE,  "Janice Clarke",  Boolean.TRUE  },
            { Boolean.TRUE,  "May McClatchie", Boolean.FALSE },
            { Boolean.TRUE,  "Bill Horton",    Boolean.TRUE  },
            { Boolean.FALSE, "Helmet Krupp",   Boolean.TRUE  },
            { Boolean.FALSE, "Ian George",     Boolean.TRUE  },
            { Boolean.TRUE,  "Jill Smythe",    Boolean.FALSE }
        public void actionPerformed(ActionEvent e)
            Button button = (Button)e.getSource();
            String ac = button.getActionCommand();
            System.out.println("ac = " + ac);
        private Panel getPanel()
            Panel panel = new Panel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.insets = new Insets(2,2,2,2);
            //gbc.weightx = 1.0;         // horizontal dispersion
            //gbc.weighty = 1.0;         // vertical dispersion
            for(int j = 0; j < data.length; j++)
                Checkbox cb = new Checkbox("", ((Boolean)data[j][0]).booleanValue());
                gbc.gridwidth = 1;
                panel.add(cb, gbc);
                gbc.gridwidth = GridBagConstraints.RELATIVE;
                gbc.anchor = GridBagConstraints.WEST;
                panel.add(new Label((String)data[j][1]), gbc);
                gbc.anchor = GridBagConstraints.CENTER;
                gbc.gridwidth = GridBagConstraints.REMAINDER;
                if(((Boolean)data[j][2]).booleanValue())
                    Button b = new Button("call");
                    b.setActionCommand((String)data[j][1]);
                    b.addActionListener(this);
                    panel.add(b, gbc);
                else
                    panel.add(new Label("  "), gbc);
            return panel;
        private Panel getList()
            Panel child = getPanel();
            ScrollPane scrollPane = new ScrollPane()
                public Dimension getPreferredSize()
                    return new Dimension(200, 125);
            scrollPane.add(child);
            Panel panel = new Panel(new GridBagLayout());
            panel.add(scrollPane, new GridBagConstraints());
            return panel;
        private static WindowListener closer = new WindowAdapter()
            public void windowClosing(WindowEvent e)
                System.exit(0);
        public static void main(String[] args)
            Frame f = new Frame();
            f.addWindowListener(closer);
            f.add(new ListTest().getList());
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
    }

  • Scheduling Line qty greater than the Scheduling agreement qty

    Hi Experts,
    1. I have a scheduling Agreement (SA), and the qty mentioned against this SA is 1000 (say).
    2. Now when i generate schedule lines for this SA (ME38), I am allowed to schedule more than the quantity that's mentioned in the SA.
    3. Please advise, is it possible to restrict this behaviour. i.e. I want to give an error message if the Schedule Line qty exceeds the SA qty.
    Please advise. Very urgent.
    Regards,
    Manju.

    Hi Manju,
    Yes its possible to restrict the case as u mentioned.
    Check the below settings:
    IMG-MM-Purchasing-Environment data- Define Attributes for system messages
    go to meassage no : 00-06-067 set it as Error message.
    U'll achieve ur result.
    Award points if its helpful
    Sangram

  • BDC Line Item-Call transaction  VF11

    Hi Folks,
    Can anyone here pprovide me an ex with code for uploading data into VF11.
    Thanks,
    K.Kiran.

    John,
    What is Code Gene?
    The Req is like this.
    Cancelling the Billing Document.
    I am using VF11 and fields vbeln,posnr,fkdat.
    when the status process changes,the items for which the status process is changed should get upload into the internal table used for this purpose.
    Partly I did.Kindly Go through the code and let me know what changes needed to be made and what more to be added.
    REPORT ZAB11 NO STANDARD PAGE HEADING
                 LINE-SIZE 255
                 MESSAGE-ID ZA.
    INCLUDE BDCRECX1.
    TABLES:VBRK,
           VBAP.
    DATA: BEGIN OF REC_VBRK OCCURS 0,
          VBELN LIKE VBRK-VBELN,
          FKDAT LIKE VBRK-FKDAT,
          END OF REC_VBRK.
    DATA: BEGIN OF REC_VBAP OCCURS 0,
          POSNR LIKE VBAP-POSNR,
          END OF REC_VBAP.
    DATA: BEGIN OF ITAB_BDC OCCURS 0,
          VBELN LIKE VBRK-VBELN,
          FKDAT LIKE VBRK-FKDAT,
          POSNR LIKE VBAP-POSNR,
          END OF ITAB_BDC.
    DATA:V_FILE TYPE string.
    DATA: REC(200).
    START-OF-SELECTION.
    V_FILE = 'E:/VF.TXT'.
    SELECT VBELN FKDAT INTO TABLE REC_VBRK
                       FROM VBRK WHERE FKDAT = SY-DATUM.
    IF SY-SUBRC <> 0.
    MESSAGE S265.
    EXIT.
    ELSE.
    READ TABLE REC_VBRK INDEX 1.
    SELECT POSNR  INTO TABLE REC_VBAP
                  FROM VBAP
             WHERE VBELN = REC_VBRK-VBELN.
    ENDIF.
    READ TABLE REC_VBRK INDEX 1.
    ITAB_BDC-VBELN = REC_VBRK-VBELN.
    ITAB_BDC-FKDAT = REC_VBRK-FKDAT.
    APPEND ITAB_BDC.
    READ TABLE REC_VBAP INDEX 1.
    ITAB_BDC-POSNR = REC_VBAP-POSNR.
    APPEND ITAB_BDC.
    LOOP AT ITAB_BDC.
      PERFORM OPEN_GROUP.
      PERFORM BDC_DYNPRO      USING 'SAPMV60A' '0102'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    'KOMFK-VBELN(01)'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=PICK'.
      PERFORM BDC_FIELD       USING 'RV60A-FKDAT'
                                   '2007/02/06'.
                                     ITAB_BDC-FKDAT.
      PERFORM BDC_FIELD       USING 'KOMFK-VBELN(01)'
                                   '19000594'.
                                     ITAB_BDC-VBELN.
    READ TABLE ITAB_BDC INDEX 1.
      PERFORM BDC_DYNPRO      USING 'SAPLV60P' '4413'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    '%#AUTOTEXT001'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=POPO'.
      PERFORM BDC_DYNPRO      USING 'SAPLV60P' '0251'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    'RV45A-POSNR'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=POSI'.
      PERFORM BDC_FIELD       USING 'RV45A-POSNR'
                                   '12'.
                                     ITAB_BDC-POSNR.
    READ TABLE ITAB_BDC INDEX 1.
      PERFORM BDC_DYNPRO      USING 'SAPLV60P' '4413'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    '%#AUTOTEXT001'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=MARK'.
      PERFORM BDC_DYNPRO      USING 'SAPLV60P' '4413'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    '%#AUTOTEXT001'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=RUEB'.
      PERFORM BDC_DYNPRO      USING 'SAPMV60A' '0102'.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    'KOMFK-VBELN(01)'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=BACK'.
      PERFORM BDC_FIELD       USING 'RV60A-FKDAT'
                                    '2007/02/06'.
      PERFORM BDC_FIELD       USING 'RV60A-SELKZ(01)'
                                    'X'.
      PERFORM BDC_TRANSACTION USING 'VF11'.
      PERFORM CLOSE_GROUP.
    CALL TRANSACTION 'VF11' USING BDCDATA
                            MODE 'N'
                            UPDATE 'S'
                            MESSAGES INTO MESSTAB.
    ENDLOOP.
    CLEAR:BDCDATA, MESSTAB,ITAB_BDC.
    REFRESH:BDCDATA, MESSTAB.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
       ID              = SY-MSGID
       LANG            = 'EN'
       NO              = SY-MSGNO
       V1              = SY-MSGV1
       V2              = SY-MSGV2
       V3              = SY-MSGV3
       V4              = SY-MSGV4
    IMPORTING
       MSG             = MESSTAB
    EXCEPTIONS
       NOT_FOUND       = 1
       OTHERS          = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    If not able to provide the solutions kindly opine on what you interpret from the
    above  so that I can check the errors.
    Thanks,
    K.Kiran.

  • Create Idocs based on Company Code change & Line Items less than 950

    Dear all,
    I am trying to create the Idocs based on the flat file in the following way.
    1) Create the Idoc per company code
    2) If company code exceeds 950 lines then create another Idoc
    I am trying to follow this BLOG and could not be able to achieve it because in the Blog explained with flat structure and my case is Idoc structure.
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    I changed the Idoc Occurrence and imported to External definition.
    I am able to do the both check individually but not able to put them in combining.
    Please advice..
    Regards

    Company Codes -> sort -> SplitbyVlaue(Valuechange) -> CollapseContexts -> remove contexts
    AND
    Contact(CompanyCodes, Lines) both in header context - removeContexts - SortbyKey(CompanyCodes) -
    formatbyExample(Company Codes -> sort -> SplitbyVlaue(Valuechange)) - count - greater(>950)
    Srikanth Srinivasan

  • Approval Procedure should be triggred for discount given in line item

    Hi All,
    I want the approval procedure to be triggred when the discount given in the line item per row exceed 20%. Can any one give me the query for it .
    Thanks,
    Gopal

    Hi,
    There is any other option for it, pls help me
    I will explain the concept again.
    In Sale quotation if the discount % given in the line item greater than 20% then while posting the saleQuotation document the particular document should go for approval, else it should not trigger the approval.
    Its possible ? or any other aleternate solution  
    Thanks,
    Gopal

  • WS_DOWNLOAD and line item with more than 1024 characters

    I want to download a file with line size greater than 1024. I am in version 40B and when i use function module ws_download and it creates two lines instead of one. Is there a solution with another function module or something else?

    Hi
    Are you trying to download in binary format(filetype BIN) ?. Only binary format has length constraint of 1023 characters. Download in 'ASC' or 'DAT' format.
    Also WS_DOWNLOAD is obsolete , use the methods of class CL_GUI_FRONTEND_SERVICES.
    Regards
    Pawan

  • Line item -  flat file - BDC

    hi gurus.......
    could some one get me a real time flat file for BDC line items.
    maximum points will be rewarded.

    hi Rohit
    what I mean is , for T codes like XK01 we have a multiple line items for a single vendor.
    I need to practice BDC for T codes which has line items (ex  ME21) .
    It would be more helpfull for me if u provide me with flat file which u have use in real time for BDC , which has multiple line items for a single header.
    am I clear?

  • Pur req line item wise block

    Hi Gurus,
    Is there a way to achieve this specific scenario. Let us say we have five line items on the Pur req.We have setup our approval system in such a way that if the dollar amount is $1000 or more then only the release startegy kicks off. Below 1000 there is no release strategy. So now out of the 5 lines lets say we have the first four line items less than 1000 and the fifth line item is $2000. we want to put a block on the PR so that unless the 5th line item gets approved, the remaining 4 line items which are less than 1000 should not be converted to a PO. How can this be achieved?
    Thanks
    ANusha

    hi,
    > Make settings for charatceristics in such a way that the total value should not be greater or equal to 1000$...Now when you set up this, system will auto check the PR doc...and as the avg. for all item will be imbalanced due to one line item, it'll not release the whole PR doc...
    > But if you wanna check per item wise and even then don't wanna release the other items, then give the auorisation to the special person who can check the document for all item and when ok then will release it...
    > Its not possible directly...
    Regards
    Priyanka.P

Maybe you are looking for

  • Removing date imbedded in image

    I have a digital file of an image taken with a Kodak Easyshare C633 with the imbedded date option set to on. Using PSE 7, is there any way to delete that date information without cropping the area of the photo where it appears? If it can't be deleted

  • How to create ApplicationModule inside Thread!

    I would like to create an ApplicationModule object inside Thread! When I create an ApplicationModule anywhere else in class it works fine with no problem. But when I put ApplicationModule am = Configuration.createRootApplicationModule("",""); inside

  • Statistical table, pool table, structure, and ordinary table

    请教在ABAP引用表时,不同类型的表的区别: statistical table pool table structure, ordinary table 其它 table (请列出) 谢谢!

  • Searching TREX Index through Web Dynpro

    Hi experts, I'm trying to search through my TREX indexes with Web Dynpro. I have found some sources on this website and they seem to work, but when I test my Application, the table I want to fill stays empty. The strange thing is that the "getNumberR

  • Fulltext search (CV04n) without result

    Hi, fultext search in cv04n does not list any result. I have done the following customizings: - Establised RFC-Connection - created Search Server Relation (search engine drfuzzy) and set as standard - activated index readiness for document class DMS_