BAPI for Maintain Scheduling line agreement
Dear ABAPer,
I am using SAP version ECC 5.0. I want to develop Change Scheduling line agreement enhancement.
my requirement is, any BAPI is there for the same.
if you have any idea, please help me.
thanx.
with best regards,
Velmurugan.S
Hi ,
Hope it helps.
Maintenance of Scheduling Agreement Delivery Schedule Lines
BAPI_SCHEDULE_MAINTAIN
The BAPI_SCHEDULE_MAINTAIN is used to create or change scheduling agreement delivery schedule lines.
The parameter PURCHASEDOCUMENT and the scheduling (delivery schedule line) data in POSCHEDULE and POSCHEDULEX are to be passed on to the interface. These three parameters are defined as mandatory.
IMPORT
Extensionin
ScComponentX
ScheduleX
TechnicalData
TestRun
EXPORT
ExpHeader
Extensionout
return
Changing
ScComponent
Schedule
CALL FUNCTION 'BAPI_SCHEDULE_MAINTAIN'
EXPORTING
PURCHASINGDOCUMENT =
" TESTRUN =
" TECHNICAL_DATA =
" IMPORTING
" EXP_HEADER =
TABLES
SCHEDULE =
SCHEDULEX =
" SC_COMPONENT =
" SC_COMPONENTX =
" EXTENSIONIN =
" EXTENSIONOUT =
" RETURN =
Thanks,
Rajesh
Similar Messages
-
Need BAPI Name for updation of Subcontracting scheduling line agreement
Hi All,
Can anybody please tell me BAPI Name for updation of Subcontracting scheduling line agreement from EKET table?
Note: BAPI_PO_CHANGE is not useful for me.
Thanks and Regards,
Atul.Hi Muralidhara,
Can you please give some more details for this BAPI..
I tried using it , but getting an error "No instance of object type PurchSchedAgreement has been created. External reference:"
and "Enter G/L Account" (Infact I did specify G/L account in account assignment table)
with regards,
Kirti -
BAPI for creating scheduling agreement with reference to Contract agreement
Hi All ,
Can anyone please suggest if there is any BAPI for creating scheduling agreement with reference to the contract agreement number.
Thanks for your help.
VadivukkarasiHi,
Check this BAPI <b>BAPI_AGREEMENT_MAINTAIN.</b>
check these
BAPI_CUSTSCHEDULAGREE_CONFDELV Customer Sched. Agreement: Confirmation of Delivery; Document Flow Upd
BAPI_SALES_DEL_SCHEDULE_CREATE BAPI for creation of releases in scheduling agreements
Regards -
Bapi for customer scheduling agreement
hi ,
please tell a bapi for customer scheduling agreement(va31).
Thanks,
sridharHi Reddy ,
what happend ? u told that u got the BAPI ?
i already seen that FM ,Do one thing ? search for COMMIT WORK in VA31 program , i think u will get some idea.
regards
Prabhu
Message was edited by: Prabhu Peram -
Step wise config data for schedule line agreements
DEar All,
I need urgently one the foolowing doc:
step wise config data for schedule line agreements.
thanks
regards,
s KUMARHi,
1) Scheduling Agreement is a long term agreement and PO is normally a one-off. When you have long term relation with supplier you will go with SA.
2) SA need not have delivery schedules at the time of ordering. It's like a contract with vendor for all basic prices, quantities & terms. You will release schedules as & when required. This method is very popular with manufacturing ind (e.g. automotive) where they negotiate prices but delivery schedules are given periodically based on their actual production/sales demands.
3) In a PO, you must give schedules in PO itself.
4) If you know contract & release order (or call-off) concept, then SA is like contract and SA schedule is like release order. PO is release order.
or
While using schedule agreement, you will create delivery schedule, when ever you require materials.
Firm and trade off zone in delivery schedule details will be forwarded to your vendor. you can create daily , weekly , monthly schedule lines
Example : if you have created a schedule agreement for product " A " for quantity 1000, and you require material of 100 nos in the first month, you can create schedule line for this 100 only and this will be transmitted to vendor( if you are using LPA you have to release schedule line). when ever you require further qty based on your requirement you will create another delivery schedule line, then it will be transmited to vendor.
In case of PO if you are ordering 1000 qty , you need to specify the delivery date in Purchase order it self, and all the dates are immediately transmited to vendor along with Purchase order.
For configuration steps please follow
http://help.sap.com/saphelp_47x200/helpdata/en/93/7439fb546011d1a7020000e829fd11/frameset.htm
Hope this will help.
Thanks,
Raja -
Help on Configuration of Schedule Line agreement
Hi friends
please let me to know the configuration steps of Schedule Line agreement
Thanks for ur help
Regards
KrishnaHI,
Refer
http://help.sap.com/saphelp_47x200/helpdata/en/75/ee1fa755c811d189900000e8322d00/frameset.htm
It is the same as that of the value contracts for Schedulling agreement as well.
Thanks & Regards,
Kiran -
Changing details of schedule line agreement-T.code ME38
Hi Abapers!!!
Is there any function module to change the details of schedule line agereement.. .....if GR quatity is less than the scheduled quantity i want to make scheduled quantity as gr quantity.
Can't we change this using BAPI_PO_CHANGE? I tried, but I am getting the message 'the schedule line agreement is not possible using this function module'.
This process is possible through the me38 (just type agreement number ,double click on the screen displayed,finlay a report will displayed there we can make changes). Instead of doing this manualy i asked to develop a program to do automaticaly.
Could anyone pl help me on this issue.....Pl give your suggestions. .
Thanks in advance!!!Hi Madan,
Thanks for ur reply!!!
Refer the purchase order with document category L
and document type LP or LU .BAPI_PO_CHANGE is not working for this.....So i want to know any other function module or methods.
Edited by: Ranganayahi Chandirasekaran on Aug 12, 2008 5:47 AM -
Delivered quantity for each schedule line
Hi,
Our scenario is that we have an order for each order's each item we can have multiple schedule lines, when any of the schedule line is delivered the delivered quantity colum is updated, the schedule lines table in VBEP but the thing is it doesnot have the delivered quantity, system calculates it at runtime or may be it is keeping it in some other table.
I hope some body can help in this regard.
Thanks
Khusro HabibIt is a calculated value, not a value of a table field. Also, it may lead to wrong results if you don't pay attention to this description of the field here under in bold.
Delivered quantity in sales units
The quantity from the schedule line that has already
been delivered.
Use
When there is more than one schedule line for an item,
the system distributes the total delivered quantity for
the item across the schedule lines according to the
sequence of their delivery.
Example
A sales order item has three schedule lines, each with
an order quantity of 50 pieces. You make two subsequent
deliveries: the first for 20 pieces, the second for 60
pieces. The delivered quantity for the first schedule
line is 50 pieces, for the second 30 pieces, and for the
third zero.
If you delete the first delivery (20 pieces), the
delivered quantity for this schedule line is still 50
pieces. However, the system reduces the delivered
quantity for the second schedule line to 10 pieces. -
Hi all,
In CRM ORG Structutre we can schedule an object or an assignment. This option comes when you right click on any ORGUNIT or position. I need FM or BAPI for this scheduling.
I need them for my ORG Delta program. We cannot delete any object as they might be getting used somewhere in lead or at some other place. So I just want to change their end dates.
Regards
VishalHi,
use BAPI_PO_CREATE, po_header-doc_type = 'UB'
Thanks,
Reward If Helpful. -
Change shipping dates/times for confirmed schedule line
Hi,
I am having a problem changing the confirmed schedule line in a Sales Order VA01.
I have added my code into the user-exit
* FORM USEREXIT_MOVE_FIELD_TO_VBEP *
* This userexit can be used to move some fields into the sales *
* dokument schedule line workaerea VBEP *
* SVBEP-TABIX = 0: Create schedule line *
* SVBEP-TABIX > 0: Change schedule line *
* This form is called at the end of form VBEP_FUELLEN. *
FORM userexit_move_field_to_vbep.
vbep-ezeit = '235900'.
vbep-wauhr = '235900'.
vbep-lduhr = '235900'.
vbep-mbuhr = '235900'.
vbep-tduhr = '235900'.
However, in the above code I manage to only change the first schedule line in case I choose a delivery proposal. I need to change the line with a confirmed quantity. Instead I change only the first shedule line without a confirmed quantity.
Question: Which user-exit can i use to change shipping times dates for all schedule lines or just confirmed schedule lines?
ThanxHi,
Use form routine "USEREXIT_SAVE_DOCUMENT_PREPARE" in MV45AFZZ. Update VBEP as well as XVBEP Structures.
Regards
Vinod -
How to know - For a schedule line if delivery is already created
Hi Gurus,
I have a sales order with one line item - 10.
For the line item 10 , I have 2 schedule lines.
How can we know if delivery is created for a schedule line.
Which table we need to refer ? VBEP !!!
Please help.
Regards
Avinash.Hi,
There is no way to check that but you can check the status of sales order line itam is delivered or not in table VBUP
and filed RFGSA.
Not Relevant
A Not yet processed
B Partially processed
C Completely processed
Thanks. -
Split delivery for each schedule line
Hi,
We have a requirement to split deliveries for each schedule line in the order.
For example: I have an order with one line item which has 2 schedule lines. If the schedule line date on one is 01/29 & the other is on 01/31, and the delivery due list VL10A is run with a range 01/29 - 01/31, it picks both the schedule line & combines them into one delivery.
Is there a way by which we can force them to create 2 different deliveries (as it would if the delivery due list was run for each day at a time).
We created a data transfer routine (deliveries), and populating ZUKRL with schedule line date & that doesnt solve the problem since the routine is triggered once for each sales order line and not for schedule lines.
SAP reverted back that this is standard SAP behaviour to cumulate all due schedule lines into one delivery, but I would like to know if anyone has any other solution ?
Thanks in advance!First of all you have to use VL10E to create deliveries, since it creates one delivery item for each schedule line.
Then play with your own delivery role copied from standard profile 0201:
you can trigger 3 different flags to reach your goal:
Cumul. Rule: Rule for calculation of quantity to be delivered
There is a field that contains a cumulated quantity in delivery lists
with item or schedule line views. The quantity at which the list line
(document item or schedule line) is delivered is defined in this field
when it is selected and the delivery process is started in the
background. The value is a default and can be changed by manually
processing the delivery list on the item or schedule line level.
SplitSchedLine: Rule for creating one delivery item per schedule line
In a delivery list in item view with multiple schedule lines, you can
decide for the same document item whether you want to generate one
delivery item per schedule line or whether you want to deliver the
cumulated quantity of the last schedule lines selected.
LimitSchedLine: Allow constraints on schedule line level
You can use this indicator to limit selection o
delivery when
o Delivery due date and/or
o Planned goods issue date and/or
o Route schedule
does not fall within selection range.
This should help you to solve your problem.
pls. reward points if helpful
Regards
Roberto -
User exit for va01 (schedule line )
hi all,
Pls tell me how to use user exit in va01.when user add material and select schedule line for that material he has to add CP/CN .but when user put CP it will give message that CN is default pls enter CN.like these msg i have to give.pls give me solution.
Thanks,
NitinHi Nitin
Try userexit_move_field_to_vbep in MV45AFZZ
or userexit_check_vbep in MV45ZAFZB.
check vbep-ettyp for the schedule line category and write the logic.
Kuntal -
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 -
BAPI Error: No schedule lines due for delivery up to the selected date
Hi,
I have created a program to create delivery orders with reference to sales orders using BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
After execution I get the error: No schedule lines due for delivery up to the selected date
Please help.
Thanks in advance!!!
Regards,
Sriramhi,
this is to inform you that,
please check the schedule line date in the sales order because the date is not matching here for the BAPI to upload.
here, for example the schedule line is 4 days after and you are running BAPI today. that will mismatch no.
the same thing is happening in uploading case also.
so please check the date.
because in teh sales order if teh schedule line date is today it will accept the uploading with out throwing any errors.
regards,
balajia
Maybe you are looking for
-
On Family Sharing, Bookmark Syncing and Massive Headaches
My wife and I have two separate iCloud accounts. I recently turned on family sharing for our accounts with me as the admin. Today when she launched Safari on her iMac (which is logged into her account with iCloud) all of her bookmarks were over writt
-
I tried using the recovery tool for mp3 players and it fried my Microphoto 8gig!!! It was checking and uploading the firmware and it locked up.. not my comp locked up, but the Creative Recovery thing. I left it for a while and now my zen's hardware i
-
hi , I dont know how to undeploy a bean from web logic 6. If i remove teh check in the weblogic console it is undeployed but still there in the application folder. Also it tries to deploy at restart .... Any help is much appreciated.. regards, srini
-
I'm unable to install the newest version of itunes on my pc, the promt says that there is a problem with the windows installer package, but I have downloaded the exe more than once. Is anyone able to help?
-
hi all, i want to extends a generic class, HashTable<K,V> to be concrete , but i want my class would be in use as MyHashTable<String, String> does any one know the syntax for that ?? what i actually mean is how do i set the generics data types in the