Help using /AFS/BAPI_PO_CREATE with multiple schedule lines

I'm using /AFS/BAPI_PO_CREATE to create POs and everything works fine until I pass an item with multiple schedule lines. 
When you pass multiple schedules it is giving each of the schedule lines under an item the same grid value!  So if I want to order one black, one white shirt...  both grid values are changed to black when the PO is created.
I'm wondering if you need to pass some sort of sequence value into the BAPI when you have multiple schedule lines for an item.  Does anyone know?

Hi Justin
Please make sure that you are specifying the <b>item number</b> while passing the ITEM Details and their correponding SCHEDULE lines.
Though i couldnt find FM: /AFS/BAPI_PO_CREATE in our system, i guess it is similar to BAPI_PO_CREATE.
Kind Regards
Eswar

Similar Messages

  • Open Sales Order  table with multiple schedule line....

    YUSUF BHORI wrote:
    Hi Experts,
    In Sales Order there are multiple schedule line for single item.
    Where and in which table i can find open qty for order ,material, item and schedule line items.
    I Want open items for each schedule line. For One vbeln, posnr there multiple etenr.
    Urgent,
    Yusuf.

    Hai,
    Join VBAK & VBAP and store data in an internal table GT_VBAP to get Sales order numbers, items, materials.
    Get Open Sales order items from VBUP into GT_VBUP  where VBUP-GBSTA  NE  'C'.
    LOOP at GT_VBAP.
    Read table GT_VBUP with key vbeln & posnr.
    If sy-subrc <> 0.
      delete GT_VBAP.
    endif.
    ****Fill your Final Report Internal table with required field values **Append into that internal table
    ENDLOOP.
    Now Select WMENG BMENG from VBEP into GT_VBEP for all entries in GT_VBAP.
    LOOP AT  GT_VBEP.
    *******Again Modify your Final Report internal table with these values
    ***VBEP-WMENG is Ordered Qty
    ***VBEP-BMENG is Confirmed Qty
    ************Open Qty     = Ordered Qty      = Confirmed Qty***
    ************Open Qty     = VBEP-WMENG = VBEP-BMENG.***
    ENDLOOP.
    Edited by: Eswara Rao Aakula on Dec 24, 2007 9:56 AM
    Edited by: Eswara Rao Aakula on Dec 24, 2007 9:57 AM

  • Where i can find multiple confirm qty with multiple schedule line..

    Hi Experts,
    Is there any BAPI  FM or FM for finding multiple schedule line confirmation with some of blocked.
    Yusuf

    not solved

  • Sales order with multiple Schedule lines

    Hello,
    Could you please help me to create a sales order with multiple line items.
    for example, I need to create a sales order with line item 10 with schedule lines more than 3.
    Thanks in advance,
    Bhaskar.K

    As already explained  Sh. Line Catg. is determined with Item Catg.of the item + MRP type automatically  . As per your assignment in ( SD-sale-sales document-Sh. line-Assign Sh. line Catg.) system automatically propose the Sh. line Catg of your entered item
    Now for three Sh line  - in VA01  create the order  with your  item , give quantity  -now  select the line item, click on the  Display item Details ICON extreme left  bottom of the screen, than click on Sh. line tab here you maintain as many sh. line as you required.
    Actually these Sh lines are nothing but the Requested Delivery Date And Quantity which is ultimately pass on to (Transfer the Requirement) MRP
    Hope this'll help you
    Ashok
    Edited by: Ashok ku. on Aug 17, 2009 11:16 PM

  • Regarding multiple schedule lines in sales order with same date

    Hi All,
    we create the Orders from RFC and the orders are going to Multiple Schedule lines for the same date.
    period       delivery date          ordered quan       confirmed quantity
    D     10/11/2007                10                    0
    D     10/11/2007                 0                     10
    here for the same date in first line it is not confirming and in the second line it is confirming the quantity for the same date.
    On what conditions it is possible??????
    Any one have the solution for this Please send it to me [email protected]
    Regards,
    Prasad

    Just check the schedule line details i.e go to schedule line---shipping. You will find that although the del. date is same in both the case but the timings were different e.g material availability time etc will be different in both these lines. So though the dates may be same its time difference that's causing the second schedule line.
    Reward points if useful

  • Unable to enter multiple Schedule lines for BOM material in Sales Order

    Hi All,
    We have a Sales Order where in which we cannot add additional schedule lines for BOM material.
    The schedule lines are greyed out, user was able to add schedule lines earlier.
    I have checked all assignments in VOV6, VOV7 and everything seems to be fine and no changes have been made to item category being used.
    Please provide a solution for this.
    PFB link in which similar situation posted in this community but the final resolution method is not discussed.
    http://scn.sap.com/message/13201504#13201504
    Regards,
    Samiksh

    Hi Samiksh,
    Pls check for that particular customer, only complete delivery allowed(c) is set in the CMR or CMIR. If so, you can't enter multiple schedule lines for that customer.. it would be grayed out in the sales order schedule lines except confirmed line.
    or check the problematic sales order at item level shipping tab if the par del/item is set to 'C'
    With regards
    S.Siva

  • Multiple Schedule Lines for Individual Qty in Standard Order

    Hello All,
    I have a Client Requirement to Set up the Standard Order for a Material which will be sold on Single Quantity every Month.
    This will have to occur from the same Order. For this Multiple Schedule Lines are required to be generated as per Monthly Delivery Schedule.
    I know this functionality comes under Scheduling Agreements where we can deliver goods as per confirmed Schedule Lines for the Month.
    But Client Requirement is to set up this functionality in Standard Order Only as setting up scheduling agreements calls for mapping of New Order Types which is not feasible.
    So Can you provide with your valuable Inputs as to whether this can be possible through Standard Order in the system.
    Looking forward to your esteemed reply!!
    Warm Regards,
    Onkar Khedekar

    Dear Onkar:
    If you don't want to use Schedule agreements, you can enter several schedule lines for each item in "Schedule line" tab at  item level.
    Enter in this tab each schedule line per month.
    But be aware which date you enter becuase this requirement will be transfered to MRP.
    Check it and revert.
    Jose Antonio Martinez

  • How to create multiple schedule lines for configurable products

    Hi -
    We have enabled variant configuration and would like to have multiple scheudule lines created , but it seems that only one line is avaialble, is there any way to configure the use of multiple schedule lines? 
    Note - we are not using KMAT material types, rather triggering a unique kit compoments within Sales BOM.
    We have been able to make the necessary adjustments to allow the creation of the Scheduling agreement and have the BOM explode correctly, but just am not able to trigger multiple sched lines.
    thanks
    Bill

    Your context node shall contain all these fields like country,city,etc as different attributes.so in your view configuration,add all these fields whatever you require from the AVAILABLE FIELDS section to the DISPLAYED FIELDS section.NOw all these attributes would be added in diff rows.What you need to do is,select the first attribute,lets say COUNTRY,click on this attribute and then on the buttn SHOW FIELD PROPERTIES.Thsi will show you the label name etc.Here you change the label name to NATIONALITY.Also ,it will show you the row no,cloumn span of the field and column span of the label.You need to reduce the column span of the field value.Ie if the column span is from D TO H,reduce it from D TO F.Now goto the next attribute eg CITY and in the same way,goto the attribute properties.Here ,There is a check box SHOW LABEL,uncheck this,and now goto the row no and the cloumn span.Make the row no same as that of the COUNTRY FIELD.The column span should howevrbe statring from where the column span of country field ended.Ie Teh column apsn of counrty field ended at F .So for CITY,the column span should start from G to amybe H.Now this is how you need to accomodate the other fields also in the same row,by changing the row no and column span in the field properties.
    Suvidha

  • Delivery date variance for multiple schedule lines in EKET

    Hi experts,
    can anyone tell me what dates  are used (from EKET, EKBE or any other table)  to calculate delivery date variances when there are multiple schedule lines in EKET table. I am able to match single schedule line POs but not POs having multiple schedule lines.
    thanks in advance,
    purvang

    can anyone provide input on this?

  • Multiple schedule lines

    Dear all,
    I have got an error while creating a sales order multiple schedule lines.
    When going to schedule line tab i can see 2 schedule lines there even i have a lot of stock. i want today's date as delivery but it is giving delivery date as next day.
    Please help me in solving this. I have seen so many threats but i didnt get the problem exactly.
    Regards,
    C Chaitanya

    Hi Chaitanya,
    Please check your below parameters
    1) check your material master any lead time maintain in MRP views
    2) Check your shipping point any lead time mention
    3) check your sales order any lead delivery time maintain in- VOV8 
    4) Check your route in sales order and check any lead time mention in route determination.
    5) If its Third party sales please check info records any delivery lead time mention
    check the above points and let me know still you have any issues.
    Regards
    Nishad

  • Service Procurement with Multiple Service Line items

    Dear Experts,
    We have the following Business Scenario. Request your inputs in addressing this issue.
    Business scenario : Most of the Procurement for our client is of services. So, we need to configure services with multiple service line items. This Shopping cart to create PR in ECC. PR to PO conversion to take place in ECC. Now onwards client needs Supplier integration for confirmation of services and sending invoices by Vendor.
    Guidance required in the following
    1 In Shop functionality if we select services, PR is being created in ECC with only one Service Line item. Whereas if we go for Request functionality, then always it is routing to Bidding process (which is not required for client). Can we create SC with multiple service line items with out request functionality?? Or Can we root the Request functionality with out Bidding process??
    2 If we convert the PR to PO in ECC (Classic Scenario), can we go for SUS integration. In such case which is the best way of supplier integration. Can you please guide us on basic steps on installation (can we go for different client in the same server) and configuration.
    Request your inputs in this regard
    Thank you,
    Ravi

    Hello,
    We suffered the same problem in our company.  We have found a way to work with the SRM shopping cart multiple line rollup to ECC single line purchase order.
    If the multiple shopping cart line items contain the same location code and cost assignment they will rollup into one ECC purchase order.  The system seems to 'think' it is helping you by consolidating your information.
    In the Basic Data section of the shopping cart there is a Service line item field.  If you enter something in each in that field for each line it will keep it's own line in ECC.
    Your implementation may differ slightly from ours but I recommend playing with the location code, cost assignment and Basic Data service line fields until you can see a pattern.  Basically you need to find a method to make each line a separate entity so they don't rollup.
    Good luck,
    Corinne

  • Use of NOSCL(Counter for scheduling lines) in 02LIS_02_SCL

    Hi,
    I want to extract PO value from 02LIS_02_SCL in BW. The value which I get in PSA table is +ve and -ve. I am boserving the sum value for any PO is zero.
    I wanted to know what is the use of NOSCL(Counter for scheduling lines) in 02LIS_02_SCL? I can observe that PO value corresponding to NOSCL =1 is +ve, i.e. I am getting all the +ve value in order for which NOSCL = 1. The positive PO value is as per R3 data.
    Thanks in advance

    Dear SDBI,
    Thanks for reply.
    I checked for rejection indicator. Again for every positive value there is negative value and for every negative value, its marked with rejection status. So when value for any  particular value is summed up, we get result value as zero.
    I need following information:
    1. Is it possible for every every positive PO value, there is negative value?
    2. How to reconcile the data in PSA of 2LIS_02_SCL with R3 tables?
    Thanks again.
    Jaydeep.

  • Billing in the basis of billing plan for multiple schedule lines

    Hi All,
    I have one scenario in which we have created milestoen billing via project systems in sales order. Now Suppose I have three line items in my sales order and against each line items we have maintained multiple schedule lines. ex. 10%, 40%,50% respectively. Similarly for other line items also we have maintained the same. Now I need to generate invoice on the basis of schedule lines(billing plan). for ex. single Invoice covers 2 schedule lines out of total schedule lines in the line item. Similarly for other line items.
    Kindly guide.
    Thanks.

    Hi
    Your milestone billing plan integrates with PS means that you have an order related billing.
    Hence schedule line is a confusing word and I assume it as a billing plan.
    Each milestone-related billing date is blocked for processing until the Project System confirms that the milestone is completed. The billing block will automatically be removed once the milestone is achieved.
    Do maintain copy controls properly at item category level (VTFA) and your billing should happen standard SAP way.
    If still you face any errors, please post the screenshots.
    Thanks
    Atul

  • Can bookmarks be protable for multiple computers? Is it an option to log on and use my bookmarks with multiple computers and locations? Thanks

    Can bookmarks be protable for multiple computers? Is it an option to log on and use my bookmarks with multiple computers and locations? Thanks

    Profile is a folder which store all your personal data in a safe place
    * https://support.mozilla.com/en-US/kb/Profiles
    You can use this button to go to the current Firefox profile folder:
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    here explain how to backup profile
    * https://support.mozilla.com/en-US/kb/Backing%20up%20your%20information
    Here explain how to restore it
    *https://support.mozilla.com/en-US/kb/Recovering%20important%20data%20from%20an%20old%20profile

  • Multiple Schedule Line Category significance

    Hi,
    I am a SAP SD newbie..  I am not able to understand the significance of Schedule line category..
    Each item can have multiple schdule line caterories.  But why would we need multiple of these.
    Sap manuals are not very clear on the need for multiple schedule lines especially since they are automaticall determined.
    So clarification would help me understand the concept..
    Thanks
    Kevin

    Significance of Multiple Schedule Lines is that if the complete stock is not available at a given point of time & Partial Delivery allowed. For Example, Sales Order is for Quantity 100 (Partial Delivery allowed) & ready stock issay 30, which can be delivered on required delivery date & balance 70 may be available after 10 day. so there will be multiple schedule line, the first schedule line as not confirmed sales order on say 17th Jan, second schedule line as confirmed sales order of 30 on 17th Jan & third schedule line as confirmed sales order on 27th Jan.
    Alternatively, customer places Sales Order of say 100 & provides an schedule say 25 numbers on 17th Jan, 25 numbers on 24th Jan & so on..., so accordingly schedule lines can be maintained.
    Regards,
    Rajesh Banka
    Reward points if helpful.

Maybe you are looking for