Regarding skip the availability check in BAPI_PO_CREATE1
Hi Abapers,
Can you suggest any enhancement, to skip the availability check in function module BAPI_PO_CREATE1?
(My requirement is, availability check should not be triggered, because delivery has been completed already).
Regards
Subash
Edited by: subash Arthanari on Dec 2, 2008 10:56 AM
u can pass field Delivery Completed" Indicator
structure BAPIMEPOITEM
field NO_MORE_GR
like:-
wa_item-material = p_matnr.
wa_item-plant = '3200'.
wa_item-quantity = 100.
wa_item-conf_ctrl = 'Z01'.
wa_item-ACKN_REQD = 'X'.
WA_ITEM-ERS = ''.
wa_item-NO_MORE_GR= 'X'.
APPEND wa_item TO it_item.
wa_itemx-po_item = p_int.
wa_itemx-material = c_x.
wa_itemx-plant = c_x .
wa_itemx-stge_loc = c_x .
wa_itemx-quantity = c_x .
wa_itemx-item_cat = c_x .
wa_itemx-acctasscat = c_x .
wa_itemx-conf_ctrl = 'X'.
wa_itemx-ACKN_REQD = 'X'.
WA_ITEMX-ERS = 'X'.
wa_itemx-NO_MORE_GR= 'X'.
APPEND wa_itemx TO it_itemx.
Similar Messages
-
Consingement Stock during the availibility check
Dear All ,
During the availibility check I want to consider the customer consingment .
E.G if the plant level stock is 300 and customer consingement stock is 30 then the ATP quantity should be 330 wen i am performing the Availibility check ...
Pls help me in this regard
Thanks in advance
Regards
Satishhi,
you cannot take into consideration the stock available at consignee for availability check. the consignment stock is treated as special stock unlike unrestricted.
For transactions such as make-to-order production, consignment or returnable packaging processing that create special stock, the availability check is performed against special stock.
The following elements can be included in the availability check:
Stock
safety stock
stock in transfer
quality inspection
blocked stock
regards
sadhu kishore -
WHILE CREATING PURCHASE REQUISITION,THE AVAILABILITY CHECK FOR THE MATERIAL
dear Friends,
our users want to WHILE CREATING PURCHASE REQUISITION,THE AVAILABILITY CHECK FOR THE MATERIAL SHOULD BE ENABLE,
at present we maintaing KP in Material Master. if we activated what will happen?
please advice.
with regards,
Rajesh GHi,
The availability check is generally used for goods movements(GR,GI,reservation) & not for PRs.
Regards,
Vijay -
What is the Availability check relevant for batches in Std. SAP except CH
Hi,
What is the Availability check value in material master relevant for batches in standard SAP except CH.
As far as I know CH will enable to have automatic batch determination at sales order level. In the same manner, do we have any other availability check value in standard SAP like CH which will enable batch determination at delivery level.Don't post the same question repeatedly. Keep one thread open and close the other threads.
You have already posted the same at Wha is batch relevant availability check value in standard SAP except CH
Regards, -
Issue with sales order when doing the availability check.
In MD04 we have a material avail date of 12.05.2011. The order was then changed to 13.05.2011 delivery date to reflect this availability, but then delivery time was added e.g GI time and route time which then showed the sales order in MD04 as 18.05.2011. However, if we run the availability and take the 18.05.2011 and key this in the delivery date, it shows in MD04 as 13.05.2011. It seems like the availability check is only looking backwards, and I can't find a setting in ATP relating to this. In MM they have foward and back consumption in days on MRP3. Do these fields impact this.
regards
KylieCheck in OVLY what is maintained to your sale order type
thanks
G. Lakshmipathi -
Transit time of routes from the availability check
is it possible to exclude the transit time of routes from the availability check
Dear Varada,
no, it is not possible to exclude the route transit time from the availability check process. The ATP process and transportation scheduling are always running together because we have to deliver to the required relivery date. Therefore the availability check always takes into consideration the transportation scheduling.
I hope, this information helps you a little bit further.
Kind Regards,
Akmal Vakhidov
Development Support SD, SAP, Walldorf/Germany -
Bapi or Function Module to do the availability check for Planned Orders
Hi all,
I need a Bapi or a Function Module to do the availability check for a Planned Orders. Anyone knows how?
I will use it in an Exit.
Thanks in advance
Points will be givenI think I found it.
If anyone is searching for it too, we will use these one:
CO_ZA_AVAIL_CHK_ORDER_MULTI -
Does BOP respect the availability check setting made in Schedule line category?
Hi Gurus,
Does BOP respect the settings made for availability check in schedule line category?
Thanks,
NiharHi Sourabh,
In the Schedule line Category, we have an option Availability check right?
Business requirement is to suppress Availability check at schedule line category level, where Availability check box is not selected.
When I trigger availability check manually, the confirmation happens on the day requested & no additional schedule lines are created.
For the same order, if I run the BOP with the above settings made in schedule line category; order is confirmed & is checking against stock & lead time.
My question is: Online ATP respect the availability check setting made in schedule line category. Does BOP respects the same as Online ATP?
I hope I was clear!
Thanks,
Nihar -
Changing the Availability Check key in an existent Sales Order line
Hello gurus.
Is it possible to modify the Availability Check key (VBAP-MTVFP) of a material in an existent Sales Order line?
I changed it in the material master, but since documents are not automatically updated, I wanted to modify this value in an existing sales order line. I am not even able to find the field in it.
I had to delete the order line and create it again, but then I have troubles getting the exact same confirmed date that I had before.
Any help? Thank you.You cant see at item level. To see in sale order, click from top menu bar, Environment -- Availability. Now you can see the availability check on top of the screen.
Meanwhile, I dont think, this field will be in editable mode once partial delivery is made in which case, LSMW also wont help you.
If your requirement is desperate to change the availability check, to me the available option is close the existing sale orders, create fresh orders after changing the availability check in material master. On the other hand, if you want to change only in sale order, then the option is LSMW as you cant even succeeed in TCode MASS
thanks
G. Lakshmipathi -
Regarding availability check in BAPI_PO_CREATE1
Hi Abapers,
In BAPI_PO_CREATE1 function module, while creating the STO, by default 'Availability check' has been performed.
But in my scenario, Delivery has been completed already. So this availability check should not be happened.
How can I achiev it?
Please give me ur solutions as early as possible.
Thanks and regards
Subashu can pass field Delivery Completed" Indicator
structure BAPIMEPOITEM
field NO_MORE_GR
like:-
wa_item-material = p_matnr.
wa_item-plant = '3200'.
wa_item-quantity = 100.
wa_item-conf_ctrl = 'Z01'.
wa_item-ACKN_REQD = 'X'.
WA_ITEM-ERS = ''.
wa_item-NO_MORE_GR= 'X'.
APPEND wa_item TO it_item.
wa_itemx-po_item = p_int.
wa_itemx-material = c_x.
wa_itemx-plant = c_x .
wa_itemx-stge_loc = c_x .
wa_itemx-quantity = c_x .
wa_itemx-item_cat = c_x .
wa_itemx-acctasscat = c_x .
wa_itemx-conf_ctrl = 'X'.
wa_itemx-ACKN_REQD = 'X'.
WA_ITEMX-ERS = 'X'.
wa_itemx-NO_MORE_GR= 'X'.
APPEND wa_itemx TO it_itemx. -
Unable to skip Item Availability Check form
Hi,
I am trying to skip the Item Availability Check dialog (FormTypeEx = "65050") which comes up in Sales Order if an item's available quantity is less than ordered quantity. I know I won't be able to completely skip it since it's a system UI form, so I tried to do "Click" on the OK button as soon as form 65050 is activated, using the following code:
If pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_ACTIVATE and pVal.FormTypeEx = "65050" Then
objForm.Items.Item("1").Click()
End if
Seems simple enough, and the form does close as I wanted it to. But the events that followed backed me into a corner, almost making me think this just can't be done.
First, after the form closes, the focus is back at the quantity column of the Sales Order form (139). If I tab out of that field, another Item Availability Check form opens up, as if the first one never opened, unlike if I clicked on the "OK" button on form 65050 manually through UI, the second time I tab out of the quantity field, the 65050 form won't pop open again.
So I thought instead of having the focus stay in Quantity field, why don't I force the entry of the Unit Price field, which won't trigger form 65050 to open again. And it did not open form 65050 just as I expected. Great, just when I thought everything is working the way I want it to, as soon as I enter a price in the Unit Price field, then tab away from there, the Order Quantity value keeps getting changed from my last value to the previous value. That is, by default the qty is 1 when a new line is added. If I change the qty to 5, after I click on OK in form 65050, and click into Unit Price (all thru code), then I enter a unit price, and when I tab out of the price field, the order qty is changed from 5 back to 1. At that point if I try to force 5 back into the qty field, then form 65050 keeps popping up in a loop.
I tried to use Event Logger to debug, what I realized is that clicking OK button on form 65050 thru UI and SDK generate different event sequences. If I do it in SDK, even though I have the click action in the After Action of FORM_ACTIVATE event, the event logger shows the FORM_ACTIVATE entry of form 65050 after all the entries of CLICK and ITEM_PRESSED and even FORM_UNLOAD as a result of my "clicking" of the OK button. Maybe this is why coming out of that form, tabbing out of qty field still triggers it to open again, because B1 doesn't recognize it as having opened before?
Anyway, hope this long description make some sense, but I certainly am running out of ideas to get around this. Any help would be much appreciated!i would try some situations - for example freezing/delfilters after leaving the quantinty field.
when you use a function like i post here no events will get executed - its like a "silent" mode
Public Sub DelFilters()
Set oFilters = New SAPbouiCOM.EventFilters
appl.SetFilter oFilters
End Sub
maybe this will help you !
regards & nice weekend
(iam not sure if iam online today again)
David -
P_ABAP not skipping the authorization check
Hi All,
I would require your assistance on the following issue at earliest.
HR key users are executing the HR standard reports by using the t-code S_PH0_48000509 Adhoc query and also with t-code SQ01. when they executing the reports, system has been checking their authorizations while executing the report and this execution time of report taking longer and also throwing a ABAP DUMP.
Hence, I gone through some blogs and also sap help about the auth object P_ABAP, as stated in the help I have provide an access to the user
with option 2 under
P_ABAP (HR: Reporting) - Authorizations for Human Resources - SAP Library
HR InfoSets for InfoSet Query (SAP Library - InfoSet Query)
But system still checking the authorization against the user in both foreground and background for above t-codes. Please assist on the same
Thanking you,
KoteshHi,
The P_ABAP object works with programs, in the transaction you mention, the program getting the final result is not the same as the one behing the transaction for the AdHoc query... The programs for the queries are generated because the user has to make selection for input and output.
So from there you cannot use this simplifcation object. But if the users starts already saved queries (and not infoset), then you could find and use that specific report.
I tried and traced myself:
AUTH
P_ABAP
RC=0 REPID=!QZZ/SAPQUERY/H0MUYLAE08141045;COARS=2;type=TR;name=S_PH0_48000509;
AUTH
P_ABAP
RC=0 REPID=SAPDBPNP;COARS=2;type=TR;name=S_PH0_48000509;
The name of the report is generated and always starts with something like AQZZ* or !QZZ*
But this is because they work from the Infoset.
If you start from the SQ01 and the queries:
AUTH
P_ABAP
RC=0 REPID=AQZZ/SAPQUERY/H0CM_02========= ;COARS=2;type=TR;name=SQ01;
AUTH
P_ABAP
RC=0 REPID=SAPDBPNP;COARS=2;type=TR;name=SQ01;
There the name of the query is fixed because the structure of the selection, the fileds are already defined and fixed. You only choose the values to be processed.
The name is no more generic but always the same AQZZ/SAPQUERY/H0CM_02 for:
AQZZ this is for a query from infoset /SAPQUERY/H0 on query CM_02
The second line on the trace, is very dangerous to use because this would skip all HR controls in PNP programs, meaning almost all HR programs... So I do not recommand that option.
Best regards,
Jonathan -
Dear All,
I just bought the new Ipad mini, and I have a problem when I'm signing in on my apple id I just made,
1) when I sign in it logs in but a pop window appear with this message: this apple id not yet used on apple store, then it give me 2 options cancel or review,
I click on review it take me to a page for the agreement and conditions, I agree with it, it takes me to another page with the name of billing information which contins visa card or payment method verification that I can't skip because I don't have a visa card.
could anyone tell me what to do?Create a NEW account using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before.
Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card -
Availability check in the background
Hi,
Please can anybody advise whether there are any standard reports/transactions whereby the availability check for sales documents (including scheduling agreements) can be ran in the background? i.e. is there any way to do a mass availability check
The requirement is to re-run the availability check and confirm the proposed quantities in the background without having to enter each sales order and manually re-run the availability check.
Example - order is received for 100 however 0 is confirmed for the requested date due to the availability check, the 100 is confirmed on later scheduline line once the stock has become available. Stock of 50 then comes available and we would like to confirm the 50 for the required date and the remaining 50 for when stock will be available. How to do this without entering the sales document item and manually running ATP.
I have tried using V_V2 rescheduling report however it cannot be restricted by sales document number and does not give us the required proposals.
Many ThanksHi Tubby ,
i am looking at this one
Indicator 'Unconfirmed documents required'; Rescheduling
The option 'unconfirmed documents required', which is preset, only carries out rescheduling for materials for which at least one unconfirmed transaction already exists.
If rescheduling should also be carried out for materials, for which all transactions are confirmed, deselect the indicator. However, you should note that if you make this selection the quantity of data to be processed will increase.
regards
Prabhu -
Availability check run requirement in the Sales order Save user Exit.
Hi Gurus,
As per the requirment we are using a user exit SAVE SALE ORDER PREPARE for BOM purpose to reconfirm the confirmation qty.
Now we need to add one more logic in the same user exit, which will run the availabilty check run for each of the line items of the BOM and consider latest confirmation qty from it. So my concern is it possible that we can call the availabilty check run event with in the user exit SAVE SALE ORDER PREPARE or this not advisable?
Please let me know..
Regards,
BabsHI Venkat,
Thanks for your reply.Yes you are right availability check runs automatically at sub item level.
But please note the customer requirment iteself is is little different from std BOM configuration.
Currently the availabilty check is activated both at header and sub item level. They are maintaining the stock for header and sub item level.Also the these sub items are some time being sold as invidual materials. hence there exist a mismatch in the stock value between header and sub items.
when a sales order is created both header and sub items will have confirmation with different value between each and the same mismatched values are being passed in to delivery. But the deliveries can not be processed for PGI because of the mismatched confirmation qty between header and item level.
I guess now you the rrequirment.
So we are using the SAVE SALE ORDER exit which will re check the confirmed qty between header and item and takes lowest confirmed qty and change the confirmed quantities from all the line items to lowest one, so that confirmation qty among all the line items are same. This is the first logic we are planning.
Further there is one more additional process BOP need to be run for this header and sub items, which will change the confirmed qty based on the latest stock for individual line item. even in this case also the user exit SAVE Sale order is being called but we need to run the availability check run additionally because of which our requirment will be taken care.
Regards,
Babs
Maybe you are looking for
-
Read access to a schema!!!
Hi GUys, I am using oracle 10.2.0.4.0 on windows server 2003. I have a silly question as I am new to oracle. I have a schema call SAT and SATREAD. I have to give read only access TO SATREAD on all tables and views in SAT. I did the following : GRANT
-
ADF Faces: bottom range nav. bar disappears on showning last result set
af:table shows both top and bottom range navigation bars. Upon navigating to last result set, bottom range navigation bar all of a sudden disappears. Is this a bug or design intent ? and is there a way to have it shown instead? Thanks Sam
-
IMovie 11 crashed after last software update
I have a MacBook Air (mid 2011) with last Lion update. After I mede this week sofware update iMovie 11 cannot open, it tries but crash after a few second. If I push reopen in the crash window report it crashed again. I read in this forum that is happ
-
What channels are availible on Vimio in the U.S.?
What channels are availible on Vimeo in the U.S.? *Vimio is a program to watch streamed tv on mobile phones Message Edited by quinton55 on 16-Mar-2009 02:19 PM Nokia N95 8GB V30.0.018 **Kudos are very welcome**
-
I Can not connect to wifi, I did all basic things like restart, reset settings, updates software... Nothing works please help!!!