Schedule lines in SUS-PO
Hello,
following problem.
In SUS it's possible to create some scedule lines in the confirmation process
for one PO-position. But if you want to create an ASN afterwards the system
doesn' propose the schedule lines of the PO-position. It only proposes the amount 0.
Additionally I changed in the customizing, that the supplier is also able to
create ASNs, which have their delivery date in future.
How can I solve this?
thanks Barbara
You have to create a MOD for this. In SRM 7.0 I had to edit the class CL_SUS_M_ASN_DETAIL in the method: GET_OUTSTANDING_QTY it uses the function call 'BBP_PD_SUSPO_CALC_PROPOSAL_VAL'. There is an optional export called IV_IGNORE_SDLN. You need to mod the method to add the line to the function call as show below:
CALL FUNCTION 'BBP_PD_SUSPO_CALC_PROPOSAL_VAL'
EXPORTING
is_follow_up_doc_settings = me->ps_follow_up_doc_settings "is_follow_up_doc_settings
is_po_item = ls_item_po
it_actval = lt_po_actval
it_itmlim_rel = lt_itmlim_rel
it_po_sdln = lt_po_sdln
iv_follow_up_doc_type = c_susasn
iv_subtype = ls_suspo_header-subtype
iv_call_badi = 'X'
*{ INSERT DS3K901758 1
* Add mod to allow schedule lines to have an ASN created before the delivery date (for transports longer than 1 day)
IV_IGNORE_SDLN = 'X'
*} INSERT
IMPORTING
ev_quantity = ls_susasn_items-quantity
ev_unit = ls_susasn_items-unit.
Thanks,
Matt
Similar Messages
-
Schedule lines tranfer from R/3 to SUS in a MM-SUS scenario
Hi SRM gurus,
We are working on the MM-SUS scenario where the scheduling agreement is created in the backend R/3 system. Delivery schedule lines are generated in the backend and transfered to the SUS thru. ME9E transaction for sending the delivery schedule to the SUS.
We have a confirmation control key which guides us in SUS to create an ASN in the backend.
Though there is a confirmation control key exist in the SA for that particular line item, when the ASN is sent from SUS to XI to R/3. There is an idoc error in the R/3 which says that there is no confirmation control key though it is there for the line item which is transfered to SUS.
Now Pls. answer my questions :
1) Will ME9E transfer the total lines in the SA or the schedule lines with the delivery schedules only ?
2) Is it possible to resend the same schedule line ( with the updated delivery schedule) to the SUS as per the standard scenario?
3) In the SUS how do we findout the materials corresponding to that particular delivery schedule line. Because in SUS the reference is only the scheduling agreement number as we could not see any scheduline line item.
Pls. suggest.
We are working on SRM(SUS) 5.0 with ECC6.0 as the backend.
Best regards,
Sridhar.i have seen the code --> where the FM is called for creation of SAR in SRM.
that is FM
BBP_SAPXML1_SUSPO_CREATE_IN --> in this --> search for this
Call API
IF ls_header-description EQ 'DELINS'.
CALL FUNCTION 'BBP_API_SUSPO_CRT'
EXPORTING
is_header = ls_header
it_item = lt_item
it_attach = lt_attach
it_partner = lt_partner
it_longtext = lt_longtext
it_tax = lt_tax
it_limit = lt_limit
it_sdln = lt_sdln
IMPORTING
es_header = ls_header_e
this one creates ---> the SAR in SRM.
and also i have seen further --> there is no place where any BADI is also called.
i am afraid it is not possible to control what you want using BADI.
only --> difference between --> New document and the old document is
the Indicator --> C for create
U for update.
And Also if you can see the XML message for the updated document --> you can see all the lines in the XML message.
Not the added lines... -
Hi
Can anybody let me know,
What are the steps involve in creation of scheduling agreement and distributing the scheduline lines to SUS.
Regards
AshishIn R/3 go to transaction -->
ME31L ---> Create Scheduling Agreement
ME38 ---> Maintain Delivery Schedule
ME84 ---> Create SA Releases
Once this is done --> and all the configurations are in place , system will SEND
SAR to SUS. -
Hi,
I understant that SRM could not handle schedule line level data, Can any one explain me what is schedule line level data exactly and if the current vesrion of SRM does support it?Hi,
Schedule line data is handled in SUS(Supplier Self Service) one of the module of SRM since June 2002 version SRM 2.0
You have to use Process " Plan driven Procurement with R/3 - SUS scenario.
Schedule line data in MM R/3 is published to SUS - supplier system as Scheduling Agreement releases automatically.
Supplier can either accept or reject a schedule line.
In current version of SRM 5.0 many useful functions are available like automatic E mail to buyer on acknowledgment of Sc. line data by Supplier.
Write me if you need more detailed info. -
Using SQVI to generate report of open and released delivery schedule lines
All,
I'm using SQVI to generate an excel spreadsheet for some buyers to show open released schedule lines because they are a 1 line item per scheduling agreement company.
I used the logical database MEPOLDB instead of a table joint and pulled fields from EKKO(vendor, SA #,&purchasing group), EKPO(Material Number), EKEH(schedule line type), and EKET(delivery date, scheduled qty,previous qty).
Does this sound like I'll get the results I want on paper as long as I use the right selection criteria, because the report I'm getting isn't quite what I expect? I am unable to identify which lines are authorized to ship vs. trade-off zone, planning, etc. in the report thus far.Hi Mark,
I have faced same requirement. I am not sure about transporting to TST and PROD. I done by this way.
After generating SQVI program in DEV , I assigned that program to a transaction and tested in DEV. Later i have regenarated SQVI in Production. then I assigned the generated Program to same transaction in DEV. And transported the Tcode assignment of program to Production..
About authorization , if its not sensitive report, BASIS can restrict at transaction level.
Regards,
Ravi. -
Some info abt SCHEDULE LINES - VBEP; VBBE for OPEN quantites?
Hi Experts,
Pls. clarify me that,
Am trying to show up the OPEN or BALANCE or BACK quantities in the report FOR EACH SCHEDULE LINE FOR EACH ITEM/POSNR.
So, I need to look/subtract the VBEP-WMENG, VBFA-RFMNG for Delivery i.e. "J" VBTYP_N and the BALANCE I hv to show up.
So, pls. let me know How Can I build the logic betwn VBEP, VBFA, VBBE? Is VBBE-MBDAT is comes into picture?
thanqno reply
-
Link between Delivery and Sales Order Schedule Line
Hi Gurus,
I have a requirement in which i need to display quantity and amount at schedule line level and also the delivery and delivery item for each schedule line.
For example, if there is a sales order O1 and item 10 for which we have 3 schedule lines and 3 deliveries as well say D1, D2 and D3.
Report should be something like this
Sales Order Item Schedule Line Delivery Del Item Confirmed Order Qty
O1 10 1 D1 10 5
O1 10 2 D2 10 5
O1 10 3 D3 10 4
How can i determine that a particular delivery corresponds to which schedule line of that saler order-item?
We have the link between delivery and sales order but is there any way that we can get the link of delivery at schedule line level?
Please help.
Regards,
GauravHi,
I suppose you must check with SD functional consultant and the post should also be in the logistics SD forum and not BI. But I suppose there is know specific link between the schedule line of SO to the Delivery. It is more like a bucket flow for ex.
Sale order Item Schedule line qty
SO1 Item1 Sch1 10
SO2 Item1 Sch2 10
Delivery Item QTy
DO1 IT1 15
DO2 IT1 5
In this case qty 15 is distributed over both SO1 and SO2, and SO2 ITem1 Sch2 has link to both the DOs
So I am not sure if you can establish a one to one link, please check with your SD consultants.
Regards,
Ashwin G -
How to put schedule lines for one year in a schedule line agreement
dear all
thanks for the support till now from the forum
now i need some seetings by which the scheduling agreement will autoumatically take the schedule line for one year automatically
in my client we are getting open PO so
we have to make one agreement acording to that PO and thats for one year
and this one yr will have same quantity to be produced everyday
means 12nos of material every day for 12 month and this will be for every day
and as per that it should generate a sales order.i need to put schedule line automatically not mannually one by one for each date.so wat is the settingand how to reffer this scheduling agreement we can produce sales order.
please help
subrat
Message was edited by:
subrat pandaDear Subrat,
you cannot create a yearly schedule line in the scheduling agreement. It is not possible due to format restrictions of the date field. But what you can do is the follows (it is the modification, but it should work with the help of user-exits):
1. You can split the year schedule line to the monthly schedule lines. There are two ways to do it. If you apply the DELINS IDOC, then you can do it already during transfer of the data to the application (itr is the best way). Here you can use, for example, user-exit USEREXIT_ZUORDNEN_IDOCS (include LVED4FZZ) or customer function EXIT_SAPLVED4_002, called from the subroutine USEREXIT_DYNPRO (Include LVED4F0U). Alternatively, you can use the user-exit USEREXIT_MOVE_FIELD_TO_VBEP (Include MV45AFZZ) within the call transaction, then it will work also in the dialog case.
2. After getting the monthly schedule lines, you can create a planning delivery schedule, where you can split mothly schedule lines automatically to daily schedule lines according to the customer factory calender.The settings for generation of planning delivery schedules can be found under:
Customizing SPRO: Sales and Distribution => Sales => Sales Documents => Scheduling Agreements with Delivery schedules => Maintain Planning Delivery Sched. Instruct./Splitting Rules
It is the only ways, how you can reach your aim. I hope, this information will help you further.
Kind Regards,
Akmal Vakhidov
Development Support SD, SAP, Walldorf/Germany -
Auto cancellation of schedule lines
Hi,
We have a requirement fo auto cancellation of schedule line such that after some time of schedule line delivery date system should cancel the schedule line if the GR has not been posted so that new schedule line needs to be generated by MRP .
In standard scenario if the GR has not been done system will keep open the schedule line and will not generate new schedule line.
Is there any config setting is there??
Thanks
PrasadHi Bhavin,
Two report program are there to cancel error msgs automatically..
1) RSQIWKEX
2) RSXMB_CANCEL_MESSAGES
Regds,
Pinangshuk. -
Partial delivery per item in sales order and ATP - schedule lines
Hi,
I've problem regarding ATP- schedule lines and partial delivery flag.
In sales order there is flag Partial delivery per item B / 1 . That means create only one delivery even with quant 0. That comes from customer master or customer info-record and it is OK.
Please look at next example.
Customer requires:
10 PCS of materail A on date X. Only 5 PCS are available on date X.
10 PCS of material B on date X 0 PCS are available on date X, 10 PCS are available on date Y.
So if we create outbound delivery on date X it will contain only 5 PCS of material A. No successive deliveries will be created for material A because of the flag B/1. That item is closed.
Problem is with material B.
The sales order will be open because of material B and on date Y we can easily create another delivery with 10 PCS of mat B.
That is wrong. Agreement with customer is only one delivery for ALL items in sales order. If we create delivery on date X it should contain only materials which are available on date X and sales order should close.
Do you know how to fix this problem?Hi,
I've think you didn't understand my requirement. I allways get schedule lines but they are confirmed on different dates.
Example in same sales order we have:
Schedule line for item A:
DATE X confirmed quantity 10
Schedule line for an item B.
DATE X confirmed quanitity 0 (zeroe)
DATE Y confirmed quantity 10.
I would like to create outbond delivery on date X with:
item A quantity 10
item B quantity 0.
And if that hapens than B/0 rule will work or reference customzing that you suggested before. So order will be closed because all items are processed or referenced once.
Do you know how to do that?
Regards -
Dear All,
We are using scenario where we are planning purchase requisitions in APO and sending them in ECC. In ECC we are converting them in to schedule lines. Once schedule lines they get firm in ECC and for APO as well. But we want to change them through APO in forecast delivery horizon i.e. outside JIT horizon. JIT horizon would be 4 days and 10 days FRC horizon.
Is it possible to unfix/ un firm schedule lines outside JIT horizon?
Is there any user exit for this??
Please advice.
Thanks & Regards,
Shirish KulkarniHi
I do not think such facility is avaialable in Std SAP.
Regards
YMREDDY -
Order of delivery schedule line counter at schedule agreements from MRP run
Currently we are using schedule agreements for our long term external suppliers, but we are facing a problem with the order of new delivery schedule lines created during MRP run.
Because of master data settings like, lot size, rounding value, plan delivery time and planning time fence to set as firm new requirements, multiple schedule lines are created with no order for schedule line counter.
Does anyone is aware of a BADI, user exit or customizing control to have this schedule line counter in order?
Thank you
Daniel Guillen
IT
Skyworks Inc.Hi,
Pls put this query in SD fourms and get immly help because this is technical fourms.
Anil -
MRP - Auto creation of del schedule lines based on planned delivery time
Hi,
We have activated MRP (type PD) where Purchase requiesition is auto created by system for requirement quantity. We require to optimize delivery schedule in such a way that entire PR quantity is broken into various delivery schedule based on planned delivery time and requirement. Scenario can be further explained with following example.
Material Requirement for a month is say 1,25,000 units
Closing Stock say 25,000 units
PR Generated by system for 1,00,000 units. The entire quantity is schdulled with only one delivery schedule line as per planned delivery time.
The requirement is to generate multiple delivery schedule lines automatically in Purchase requisition based on planned delivery time so that Purchase orders can be placed with system generated delivery schedule lines.
How can it be achieved ?
Regards,
Nirav KinkhabwalaNirav,
This subject has been discussed repeatedly in this and other forums. I must assume that you overlooked the rules of engagement, which state that you should first search the forums and other public sites, before posting questions here.
Standard SAP MRP cannot be made to generate multiple items in a Purchase requisition. The functionality you seek is usually achieved when converting purchase reqs to Purchase orders, where many single purchase reqs can be adopted into a single Purchase order.
You also might want to investigate use of Vendor Scheduling agreements.
Best Regards,
DB49 -
How to pass Schedule lines of an item Line to 'BAPI_QUOTATION_CREATEFROMDAT
Hi Friends,
I am trying to create Sales Quotation using the 'BAPI_QUOTATION_CREATEFROMDATA2' from Webdynpro Application.
I am able to create the quotation with Line items, but I am not able to pass the multiple schedul line for an Item line.
it takes,but it checks the item availabilty and propses the delivery propsal dates.
but my requirement is It should take only the schedule line items which I am passing to BAPI,because I do the availability check in my application and pass those schdule line items to BAPI.
If I pass only one schedule line item then should create only with one schdule line item,If I pass Muliple then it should create schedul lines for item line.
Please help me in solving the issue.
Regards,
Xavier.PHi max,
loop at lt_nd_quote_items into ls_nd_quote_items.
lv_item = lv_item + 10.
*Check weather Availablity check is done or not.
read table lt_nd_schedule_lines into ls_nd_schedule_lines
with key matnr = ls_nd_quote_items-matnr.
if sy-subrc = 0.
loop at lt_nd_schedule_lines into ls_nd_schedule_lines
where matnr = ls_nd_quote_items-matnr
and kwmeng = ls_nd_quote_items-kwmeng.
lv_sch_line = lv_sch_line + '0001'.
wa_order_schedule-itm_number = lv_item.
wa_order_schedule_inx-itm_number = lv_item.
wa_order_schedule-sched_line = lv_sch_line.
wa_order_schedule_inx-sched_line = lv_sch_line.
wa_order_schedule-req_date = ls_nd_schedule_lines-delv_date.
wa_order_schedule_inx-req_date = c_abap_true.
wa_order_schedule-req_qty = ls_nd_schedule_lines-kwmeng.
wa_order_schedule_inx-req_qty = c_abap_true.
wa_order_schedule-SCHED_TYPE = 'BP'.
wa_order_schedule_inx-SCHED_TYPE = 'X'.
wa_order_schedule-MS_DATE = ls_nd_schedule_lines-delv_date.
wa_order_schedule_inx-MS_DATE = 'X'.
wa_order_schedule_inx-updateflag = 'I'.
append:wa_order_schedule to it_order_schedule,
wa_order_schedule_inx to it_order_schedule_inx.
clear:ls_nd_schedule_lines.
endloop.
else.
*If no Availablity check is done,pass the item details to schedule lines.
lv_sch_line = lv_sch_line + sy-tabix.
wa_order_schedule-itm_number = lv_item.
wa_order_schedule_inx-itm_number = lv_item.
wa_order_schedule-sched_line = lv_sch_line.
wa_order_schedule_inx-sched_line = lv_sch_line.
wa_order_schedule-req_date = ls_nd_quote_items-delivery_on.
wa_order_schedule_inx-req_date = c_abap_true.
wa_order_schedule-req_qty = ls_nd_quote_items-kwmeng.
wa_order_schedule_inx-req_qty = c_abap_true.
wa_order_schedule_inx-updateflag = 'I'.
append:wa_order_schedule to it_order_schedule,
wa_order_schedule_inx to it_order_schedule_inx.
endif.
clear:ls_nd_quote_items,lv_sch_line.
endloop.
Max, the internal table lt_nd_schedule_lines is containg my schedule lines,if there are no lines in that table i am just passing the default line item details so that the BAPI take care of schdule line for that Line item.
Could you please help me in figuring the issue?
Regards,
Xavier.P -
Is there a DIRECT link between SD schedule lines and delivery lines?
Is there a direct link (db table) between schedule lines on a sales order (VBEP) and the delivery lines (LIPS)?
Is there a function module to retrieve the data?
Example-
One order line with 3 schedule lines.
Each schedule line is for 2 units (total of 6 units).
Three deliveries made. 1st is for 2 units, 2nd is for 1 unit (backorder), 3rd is for 3 units.
You can use document flow (table VBFA) or examine the SD document in the delivery line (LIPS) and link the delivery line to the order line. The schedule line already references the order line.
I am using math to decrement the schedule lines used and make the link between VBEP and LIPS. It works fine. I need four records back....
1st schedule line for 2 units uses delivery 123
2nd schedule line for 1 unit (partial) uses delivery 124
2nd schedule line for 1 unit (partial) uses delivery 125
3rd schedule line for 2 units uses delivery 125
Like I said, it works. Just wondering if I missed a more direct link.As far as Db link is concern , I dont remember exactly , but 3 years before I had written a report which see Sales order schedule lines and devilry note lines against sales order. If you see process wise . when ever you create PO ( production order you assign some qty using 101 movement type .. and against production order you also give sales order . When you do delivery ( run seclude run ) it delivers against that material number , its movement is 601 ...
but I remember theres a link between these tables, VBAP,VBFA AND VBEP , LIPS ... against every sales order you can see sales invoice ( VBRP,VBRK) and you can also see your delivery note number in document flow .
I hope thisll give you some guide line, as right now I can not tell you the exact business process but I remember I written a report in SD 4 years before , in which they required Delivery against production order and sales order ... One more thing you also have production order reference on delivery item number. ( field :Empst ) . I think in my project they were maintaining this field .
Thanks
Maybe you are looking for
-
Hai friend's, I am having a Multi-Provider,Which consists a combination of Info cubes. I have to link the Multi-provider to my Crystal report. Can you let me know the Procedure. After also let me know the procedure to Display the Crystal Report. I
-
UME Configuration Negative Filter failing
I'm currently having a problem putting a negative filter in my UME configuration. Can anyone see what is missing or order that this should be place in the configuration. <privateSection> <ume.ldap.access.server_type>MSADS</ume.ldap.ac
-
Hi all, I am writing a list report which is using a normal WRITE statement in Japanese language (Program Original Language = JA). However, I have the alignment problem as below: Customer No | Customer Name | Accounting Document No |
-
How can I solve the problem? Many thanks
-
I need to cancel my subscription of iTunes imatch to be able to change my country. How to do that?