Issue with Line item in PO

Hi,
I need to pass item number say "3" while creating PO using BAPI_PO_CREATE1 but always that takes LINE ITEM as 1.
Is there any solution for passing my item number to this field.
Thanks
Sudharshan

Hi,
I believe the BAPI will assign the item number consecutively, indifferently of what number you're passing to the item number.
Are you trying to use the item number for a key purpose or something? If this is the case you should find another field to fill that value.
Regards,
Gilberto Li

Similar Messages

  • Bapi_salesorder_change  issue with line item addition

    Hi Gurus,
    I am calling the bapi : bapi_salesorder_change in a custom ABAP program, now I am running into issues here. My objective is to insert a new line item into the sales order. I am passing the following parameters :
    salesdocument = sales document number
    order_header_in = sales org, dist channel, division, purch date,
    order_header_inx = 'U'
    tables :
    order_item_in : itm_number = new item posnr
    material = material number
    target_qyt and target_qu
    order_item_inx : updateflag = 'I'
    I am getting the following message in the return table:
    S V4 233 ORDER_HEADER_IN has been processed successfully
    S V4 233 ITEM_IN has been processed successfully
    W V1 555 The sales document is not yet complete: Edit data
    S V1 311 AgUS TrmtCons Fillup 64073 has been saved
    There is no new line item when I check the sales order.

    > I am getting the following message in the return table:
    > S V4 233 ORDER_HEADER_IN has been processed successfully
    > S V4 233 ITEM_IN has been processed successfully
    > W V1 555 The sales document is not yet complete: Edit data
    this means, the item is not complete as per incompletion procedure. Talk to your SD guys about the incompletion procedure for an item. You may be missing shipping type and/or shipping point/receiving point or some required field.
    > S V1 311 AgUS TrmtCons Fillup 64073 has been saved
    >
    > There is no new line item when I check the sales order.
    Did you use commit after the BAPI call?

  • Text element with line item content and include text

    Hi All,
    How to write in smartform in single text element with line item content and include text.I am using this text element in table . Pls help me out. i am writing the include command in text element ,but this command is not enough for single line of text editor.
    thanks ,
    Rakesh singh

    I have been pulling my hair out for a few days trying to find
    this solution. This fixed my problems as well.
    I was getting ready to scrap the Report Builder altogether
    and move to SQL Server Reporting Services over this issue.
    I'm running 7.0.2 also, that version alone fixed many small
    issues like creating borders and such.
    Thanks

  • Customer/Vendor A/C with line item details and with opening and closing Bal

    Dear Sir / Madam,
    Is it possible to have a customer and / or vendor Sub-Ledger account-
    with line item details and with opening and closing balance detail
    for a particular period.?
    Regards
    Chirag Shah
    I thank for the given below thread which has solved the same problem for G/L Account
    Re: Report to get the ledger printout with opening balances

    Hello Srinujalleda,
    Thanks for your precious time.
    I tried the referred T-Code
    But this report is not showing Opening balance, closing balance detail.
    It only gives transactions during the specified posting period and total of it.
    Please guide me further in case if I need to give proper input at selection screen or elsewhere.
    Client Requires Report in a fashion
    Opening Balance as on Date
    + / -  Transactions during the period
    = Closing Balance as on date
    As that of appearing for G/L Account by S_ALR_87012311
    Thanks once again & Regards
    Chirag Shah

  • Work Order to cost center settlement with line item detail

    Iu2019m having difficulty finding a method to settle from a work order to a cost center with line item detail.  When an order is settled with KO88 or KO8G the total value for that work order/cost element combination is combined and posted to the cost center as a lump sum with the description of CTR\######.  Users would like to see the individual values that posted to the work order in a cost center report such as  KSB1.
    I donu2019t see anything in the settlement rule, settlement profile or allocation structure that will allow line item settlement from work order to cost center.     Is line item settlement possible when settling to a cost center?   Is there an alternate way to see these expenses as line items in KSB1?
    Thanks,
    Jeff

    Thanks Christian,
    We've defined an allocation structure that we use for Project System and Work Order settlement and have Receiver Categories established as FXA, CTR and WBS with "by Cost Element"  checked.  Work order costs do settle to the cost center entered in the settlement rule, the problem is it combines all items values as a single amount when posting to the cost center.
    For example:  
    expenses post to the work order under cost element 500000 for $500, $200, $300 and cost element 600000 for $250 and $250.  The settlement rule says to settle to cost center 170000.  When the settlement takes place cost center 170000 is debited $1000 to cost element 500000 and $500 to cost element 600000.  We would prefer to see individual posting of $500, $200, $300 to 500000  and $250, $250 to 600000.
    Thanks,
    Jeff

  • Issues with lines across the screen, as well as freezing

    Issues with lines across the screen, as well as freezing
    Hello all
    Got an iMac since January 2008 and I do like it a lot, even though it has some issues:
    -- It displays (quite often) lines partially across the screen
    -- Lines appear as well when opening applications or when menus come up
    -- The system freezes more than I like to admit (more than my Windows/Ubuntu box)
    I don't know if the freezing has to do with the lines that are shown on my screen. But I assume that both issues relate to some video card problem. I can't be sure - but that's what I assume from living with this issue day to day.
    The line on the desktop (most of the time it is there before login) I can always get rid of by changing the display resolution to something else and then changing it back. Normally the line is gone, or, reappears on a different spot on the desktop. But repeating the procedure removes the line.
    However, this does not mean that the lines are not showing up again when launching apps or displaying menus!
    And since those lines appear to happen randomly, I think it's safe to assume that we're not talking dead pixels here, either...
    About the freezing:
    My iMac freezes sometimes when I move the mouse around, when switching desktops using "spaces" or when the zoom function of the Dock kicks in. Sometimes the screen goes completely black, sometimes completely white. The mouse, however, always works. But the system requires a reboot.
    Again, this happens too often to feel comfy about it.
    With my little knowledge of Mac troubleshooting I assume that there's something wrong with the ATI card that's built into my Mac. On the other hand, some people say that they started getting similar issues after updating their OS to Leopard. Again other people say that such issues stem from an ATI revision that is too old and the Mac should get a new ATI card. And how would that work? Isn't that an "all-in-one" machine with everything soldered onto the mainboard?
    So, any help in this matter is greatly appreciated...
    Cheers,
    Rainer

    Here are a few screen photos I've taken (not screenshots, as the lines are not visible when taking screenshots. I used my digicam to snap those...).
    Here's the link to those screen photos displaying some of the many lines I keep having:
    http://picasaweb.google.com/rainer.rohde/NewAlbum62508115AM
    Needless to say, as I typed this message here, I had a nice line going across my Safari window..
    Cheers,
    Rainer

  • One pr for multiple materials with line items while running mrp

    Hi SAP gurus,
                  I am config the system for MRP as per my client requerement.
                     We use CBP for different RAW materialsfor example they having a 10 materials for planning,were,
             MRP type is VB,
              LOT size is FX,with Different Reorder points and fix order quantity for all materials,
             My client whant run MRP for all these materials in single time that means they whant multiple item at single levels,
            i soles these requirement with the help of Product Group(sop) and its working but when we running md02 for product group all materials have planed and they give different purchase requistion numbers for all these materials but my client Wants single purchase requistion with line items for all these materials.
         Pls give me the solution for that requirement.
    thanks and Regards,
    abhi

    this is not the way SAPs MRP run works.
    Where is the benefit for this?
    the requisitions are not even split into header and item table, it is just one table EBAN, and either way you would get exact the same number of records in EBAN.

  • 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

  • Opening Balance to be displayed along with line items

    Dear Experts,
    Is there any way to display Opening Balance for a particular GL along with LIne Items. FS10N only provides Period wise opening balance and line items. If I have to select the line items for a GL in the middle of the period and see the opening balance, how is it possible. In FBL3N i am able to see only line items and no opening balance.
    Any suggestions.......................
    Raj.

    Hello,
    FS10N you will see the balance and then double click on that to see line item. Again at line items you will not see the opening balance. There is no such facility.
    If you want period wise balances, then go with
    S_ALR_87012172 report.
    Regards,
    Ravi

  • GL account with line items in line type 'S' document split?

    Hi Experts,
    We found in PCP0 there are payroll documents which has GL account with with line items in line type 'S' document split. Unlike other line items with line type 'blank' these line items cannot be opened and display the wage type details. How can we know from which wage type these line items were created?
    Regards,
    Allan

    These line items are caused by company transfer and they are cleared by themselves between companies.

  • ALV Report for multiple headers with Line Items

    Hi Sap All.
    here i have got a requirement to change the exisiting Zprogram which writes all the header information with line items in a normal simple report,now i have got to change the program in order to display in an ALV Format .
    in the exisiting program they are using EXTRACT ,INSERT Statement and multiple select statements for getting the values into each field ofheader and line items for writing in a simple report.
    so ijust want to know how i can populate all the data into alv grid.
    can any one help me in this.
    regards.
    Varma

    you have to store all header records in an internal table and all item records in a second table
    then you call function module REUSE_ALV_HIERSEQ_LIST_DISPLAY with both parameters T_OUTTAB_HEADER and T_OUTTAB_ITEM

  • Profitability with line item

    hi
    can any explain me about the  profitability with line item what exactly thanks in advance points will be rewarded

    Hi,
    In profitability with line item,  you get all the charateristics which are flow into profitability analysis with value field for the t-code is KE24.
    Regards,
    Kalpik Shah

  • FGI0 - FGI5 Issues with Some Profit Center with Line Items

    Hi Experts,
    I am running with some issue, not sure if im missing something. I have created a report form thru FGI4 (with FAGLFLEXT), i have two line items which are related to expenses which are going to cost center and another line item which are related to revenue which is goint to PA segment. In expense line items i just added two characteristics one is chart of accounts and another one is account group for revenue items i have added chart of accounts, account group, profit center group and CO area. later i created a report thru this form and executed, i dont get any values for expense line items, where as for revenue i get the values, i dont why.
    If i remove the profit center group in revenue line items, i get value for both expense and revenue. and i tried this option adding all profit center group for expense line items, then i get nothing for both exp and revenue.
    The reason for having profit center group in line items, is to show reveneue from different profit centers.
    I dont know what i am messing up, can anybody help me out please
    Best Regards
    gj

    Dear Mr Saurab
    Thanks for nice reply . As suggested I passed entry using Tcode 9KE0 and incorporated the Profit Center correction .The document also got posted as type A0 .
    However when we are taking the report for the reference GL & Profit-Center using Tcode S_ALR_86000030 , there is no change in the figure . The figure remain same as appeared before posting of Document using Tcode 9KE0 .
    Kindly guide us on the above please .
    Regards
    B Mittal

  • Peculiar Issue :RFx line item issue in SAP Sourcing

    Greetings of the day ,
    We  are trying to ADD line items in an RFx , when i click on ADD button in the Line items TAB ,the timer just revolves and nothing happens , no line item gets added , It's  a  Very  peculiar issue since it's an standard SAP  Functionality .
    I've  checked net weaver logs  and every possible corner  in the system , but  unfortunately nothing  worked
    PS:  We are  able  to ADD  line  items in Auctions .
    NOTE : Please  refer to the attachment
    Regards,
    Harsh Mundel
    [email protected]

    Hello,
    Can you review Units of measure in master data? you need to have one unit of measure with "No Dimension" unit category and check it as Primary Category.
    let me know if it works
    Regards

  • FAGLB03 peroid balance not tallying with line items within

    Hi,
    When i go to FAGLB03 and tally  the balance of a recon account for a particular month with the line items in it, it does not tally
    This is happening for one period within the fiscal year, others period balance tally with the line items
    What can be the solution for this?
    Regards,
    Parin

    Hi Parin,
    You did not confirm still whether the account in FAGLF03 is the same account that you  are trying to view.
    This issue will require careful analysis in the system as there could be more than one reasons.One of the likely possibilities is missing BSIS line items. As it is a technical reconciliation issue, please create a message for processing.
    FBL3N report that you executed also points towards that. I hope that  you ran the report for all items posted in that period.
    If you ran it only for open items, then there is also a possibility of a possible clearing issue.
    Anyway , the best route will be to open a message in FI inconsistencies component and let SAP investigate further.,
    Best Regards,
    Shrikant

Maybe you are looking for

  • On Dell core2duo - QuickTime PictureViewer does not work

    I have some considerable problems with QuickTime's PictureViewer application. The system has Windows XP pro and a core 2 Duo processor running at 1.86Ghz - also has 2 Gb ddram. Norton internet security is installed and up to date. Once the PictureVie

  • DELETE Statement takes long time running

    Hi, DELETE statements take a very long time to complete. Can you advice me how can I diagnostic the slow performance Thanks

  • XML data (image and accompanying filename)?

    Hi, I just recently viewed some video tuts and read some Flex material so I'm a little more comfortable with all of its syntaxes and such. However one thing that eludes me when I tried to do this on my own was calling an XML file in mxml and having F

  • Performance Comprisment between DI API & DI Server

    Hello Has anyone ever checked the speed differences between DI API & DI Server? I am talking specifically about documents creation - for instance, creating 100,000 invoices as a batch, 5 lines as invoice. Using DI API I'd say it will take around 2 da

  • Does Bose Sound dock work with iPhone?

    I have a lovely bose dock that I currently hook my iPod up to. Anyone know I can use the iPhone with it?