Exit to restrict the ATP stock in VA01
Hi ,
I have an requirement where when user try to to create the order using VA01 Transaction with
Document type 'ZCSF'
Order Reason '000'
then I will have to display the 0500 storage location ATP stock not of '0100' and '0150' in available stock screen
Similarly in reverse case when user try to create the order without
Document type 'ZCSF'
Order Reason '000'
then I will have to display the '0100' and '0150' storage location ATP stock not from '0500' in available stock screen.
As all of you know that for this requirement we need to create an user exit and I have tried the exit in include MV45AFZZ but i did not get the success and as I am new to SAP I am not getting what to do , so If any body knows the solution for this requirement please let me know ASAP .
Thanks In Advance ,
Mallikarjun
Hi
I know for IS-R the BADI 'BADI_MATERIAL_OD'. It works for MM41/2/3 but I think that it doesn't work for this field.
I hope this helps you
Regards
Eduardo
Similar Messages
-
Block the ATP Stock for non-ATP checked items in BOP
Hello GATP Experts,
We have a strange and interesting scenario here with STOs. Let me explain step by step
1) We don't do ATP check for STOs and hence a Z-check mode has been designed and it will be considered for STO documents
2) Now, let us consider a situation where I have a stock of 100 CS for Material M1 at Plant P1.
3) Let's say, a STO document gets created at 09:00AM in the morning with requested quantity 50 and as it doesn't do ATP check this will be fully confirmed
and consumes 50CS of the stock.
4) So, the net cumulative quantity that is available is 50CS.
5) At 11:00AM,let us say; there is a sales order that was created for a quantity of 100 CS. As the sales document does the ATP check it consumes the only available 50 CS and gets saved with partial confirmaiton situation.
Now, at 12:00 PM - We are running the BOP. When we run the BOP ; what standard SAP does is STO document (as per our business scenario, STOs has higheest priority and they fall on top of the list) gets skipped due to non-ATP check mode and full stock is allocated to the sales order which makes no sense to us which leads to over confirmation situation.
We thought of exluding the STOs from BOP ; however - we end up in not re-scheduling the STO documents which would result in requiring a separate BOP to be run for the STO documents.
FYI - We have contacted SAP and they have confirmed that the above mentioned behavior of the BOP is as designed and it cannot be changed.
Is there any alternative solution for this ? Appreciate your valuable ideas.
Thanks
Babu KilariYou might have already considered this. pardon if this sounds dumb.
see if you can pass STO's as a receipt in the scope of check for STO's. I presume it is requirement element in your case for ATP checking rule for STO's. Don't include these STO's in sales order checking rules.
This may result in inconsistent ATP logic though. Alternately try creating a Z category for STO and call it a receipt. include this also in the scope of check for STO's.
Try running BOP and see what happens. BOP on its own is not a gurantee that a requirement is always confirmed over another, whatever be the sorting criteria. If there isnt enough stuff, the system has its own internal logic of sorting too which probably treats priority by time of creation of the requirement.
Publish if you meet any success. These ideas are just based on my fancies
Guru -
User exit to restrict the Short description ( POS descpn) in Artcile master
Hi
Could you please help me out with the excat user exit for restricting short description (pos description0 in artcile master. It allows 40 characters, i need it to restrict it to 30
Thanks
SreenathHi
I know for IS-R the BADI 'BADI_MATERIAL_OD'. It works for MM41/2/3 but I think that it doesn't work for this field.
I hope this helps you
Regards
Eduardo -
Restricting the ATP user for GATP - corrrect roles/authorizations
Hi:
If the dialog user that is used for the ATP check (from ECC to GATP) has more authorizations than needed and this is going to be a problem in production. The user can run SCM transactions from the results screen of ECC and this is not desirable.
Therefore, the ATP user should be a restricted user that has only authorizations for this specific task. If you know what are the exact roles/authorizations to give to the ATP user, could you share them?
Thanks in advance.
SatishFor R/3 please check OSS Note 447543 - APO: Authorizations too comprehensive/not user-specific.
"If it is necessary to have different authorization profiles in APO for different R/3 users when calling in APO, the following solution applies:
Activate the setting in SM59 that is used for the RFC connection CURRENT USER.
In the APO system, create the respective users and assign authorization profiles. This is necessary in order to achieve the necessary flexibility concerning authorizations in the APO system."
For APO :
AuthorizationsObject C_APO_ATP in APO .
please chose activity as per user role.
01 Create or generate
02 Change
03 Display
04 Print, edit message
06 Delete
16 Execute
39 Check
Manish
Edited by: Manish Kumar Rathi on Oct 21, 2008 1:24 PM -
User exit/BADI AFTER the database commit in va01 va02
Hi All
I need an user exit/BADI <b>AFTER the database tables are updated</b> when save button is pressed on VA01/VA02, both these user exits are fired before that.
Regards
BadariCheck out all these exits
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
SDAPO001 Activating Sourcing Subitem Quantity Propagation -
How to make the ATP math work - receipts vs requirements
Hello
I have a 'qaundry'. How can we make receipts match requirments when we use ATP [actually GATP - from ECC to SCM]. This to me to be a simple match problem that SAP has not provided any config. Even opening a message with them has not been helpful and I am opening this message, as per their suggestion, on this forum. Maybe someone out there has encountered this similar situation and can advise on how to handle this as a process + customisation, perhaps ?
We have two distinct processes that are primarily ATP based. [We use GATP / APO]
Process # 1
We use the Check Control : ATP Group - CH
Business event - ZA - for sales orders
In scope of check we consider the following 'receipts'
Unrestricted Stock
Blocked / Restricted stock
under "Requirements"we have
Sales Order - for restricted + Blocked stock
deliveries - for restricted + Blocked stock
The match works fine in this scenario.
In Process # 2 - which is predominantly used,
We use the Check Control : ATP Group - CH
Business event - A - for Orders
we use the following "receipts"
Unrestricted Use only [NO Blocked stk etc]
For requirements
sales orders - unrestricted stock only - this is what we need.
deliveries - unrestricted stock only - this is what we need.
But because there is no subdivision available as with receipts - by default we also get the requiremenmts from sales orders + delivery line items with restricted / blocked stock . This makes the match go haywire.
So in process # 2 because we do not consider the receipts for blocked stocks, the requirements from the blocked stock lines creates artificial shortages and we have issues where sales orders do not confirm. The scope of check considers only unrestricted stock but the requirements from restricted stock come in and deflate the ATP stock
Is there a standard way we can net out the blocked / restricted stock related sales orders and deliveries requirement lines from the Check control that does NOT consider blocked receipts ?
Any help, suggestions, guidance in this would be greatly appreciated.
Rupendra K. SharmaHi DB49
The business scenario is as follows :
We have separate sales order document type where we want to process restricted / blocked stock only. We use batch management - so while creating the sales order, we manually assign / enter the batch # in blocked stock status - to the line item. (I use the "blocked /restricted" stock - to mean the same thing,as opposed to "unrestricted" stock.)
Scope of check
Receipts - restricted / blocked (50) + unrestricted stock (75) = 125
Requirements - restricted / blocked (50) + unrestricted stock (75) = 125
We use a userexit to flip the 'A' to a 'ZA' when this order type is used. ATP check is okay - as we want to look at the blocked/ restricted stock as well, in addition to the normal unrestricted stock. Math is okay here.
This order type and then its deliveries generate the requirement as expected - the same batch #s / stock we assigned manually. This requirement is under a broad bucket of 'requirement' and does not differentiate whether its restricted or unrestricted. You will notice that unlike 'requirements', receipts can be clearly subdivided.
However when we use the standard orders - we want to stick to just unrestricted stock. The 'A' stays as is - and we look at receipts ONLY in unrestricted stock. However, the requirements from the blocked stock sales orders and then its deliveries get pulled in - under the broad requirement of - Requirements.
Under this process - Scope of check
Receipts - restricted / blocked (0) + unrestricted stock (75) = 75
Requirements - restricted / blocked (50) + unrestricted stock (75) = 125
Receipts < Requirements by 50 - so we have a shortage.
Basically what we need to do for the second scenario is to filter out the requirements for blocked / restricted stock.
I do hope this helps explain the business process.
Thanks
Rupendra. -
How to delete confirmed schedule lines, without executing the ATP check?
Sales and Distribution: Concerning ATP (product allocation)
Situation:
Step 1: An order is created with priority low. Quantities are confirmed for line items.
Step 2: A second order is created with a higher priority. No confirmed quantities.
Rescheduling program (SDV03V02) is then executed. This selects and sorts the orders in the correct order.
The confirmed quantities for the first (low priority) order should now be freed up, to be able to allocate those quantities to the second (high priority) order.
The problem I am facing is that the confirmed quantities are NOT released.
We cannot use BAPI_SALESORDER_CHANGE or SD_SALESDOCUMENT_CHANGE to delete or modify the schedule lines, because these function modules execute the ATP check again. And when that happens, quantities are again confirmed and assigned.
How can we get rid of the confirmed schedule lines, without executing the ATP check?
Thanks,
Edwin.Found a solution to the problem:
In the Rescheduling program we export a parameter to the memory, to make it possible to delete schedule lines without executing the ATP check.
Deleting of the schedule lines is done with a BAPI, which will call the ATP check automatically for ATP relevant materials. This we want to stop from happening (only when calling the BAPI).
After the BAPI has been called we FREE the MEMORY ID.
The parameter is imported again in Customer-Exit EXIT_SAPLATPC_001.
Transaction.. SMOD
Enhancement.. ATP00001
Component.... EXIT_SAPLATPC_001,
Include...... ZXATPU01.
The customer exit is used in function AVAILABILITY_CHECK_CONTROLLER, just before calling function 'AVAILABILITY_CHECK'.
Simply refreshing the ATP tables in the customer-exit, will prevent the ATP check from being executed (because we removed the list containing the materials for which the ATP check needs to be done). As a result, the function 'AVAILABILITY_CHECK' will not be processed. -
How to restrict the number of items in Sales Contract - QCTR
Hi,
Is there any standard way or BADI exit to restrict the number of items in the Sales Contract?(QCTR). I want to restrict number of items in the Sales Contract. Ex - Contract A - Max of 10 ITems(Materials); Contract B - Max of 20 Items(Materials).
Thanks in advance.,
Robinyou can use ORDER_SAVE badi and check before method you can use CRM_ORDER_READ FM and count line items , if count is more than allowed number you can raise RAISE DONOTSAVE exception and issue a message to user. hope it helps you.
-
User exit or Badi for changing the lead time in ATP check in VA01/VA02
Hi All,
Currently, SAP standard functionality takes up the lead times maintained in material master to create the schedule lines in the sales order in VA01. I am looking for some user exiit/Badi/Enhancement point where I can change the lead time. This is somewhat urgent so any help in this regard is appreciated.
Regards,
Sandeep
Edited by: Sandeep Gaitonde on Sep 1, 2011 9:16 PMHi Sandeep,
These are the user exits will trigger in va01 .
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Please check this and post .
Regards,
Madhu. -
Restrict PO based on the maximum stock level qty in MMR
Hi
We have maintained Maximum Stock level in MRP1 in Material Master. Is there any facility which can restrict the Purchaser, not to raise any PO more than maximum stock level qty which is maintained in Material Master ??? how to do ?
Is there any user exit or warning mesge settings?
Edited by: Jayakumar Raju A.S on Jan 13, 2010 8:55 AMIf you want do such check then you have to do that in a userexit.
I am personally the opinion that a purchaser does not extend the PO quantity just for fun. Maybe he gets a better price if he procures a little more. It is probably a lack of training and knowledge about each others work, that a buyer does not understand what the maximum stock level is , and the planner may not understand the particular issues a buyer deals with daily.
Bring those two together an let they explain each other the reason for the maximum stock level and the reason why the order quantities are changed. Maybe they will finally change the maximum stock level, maybe the buyer will not change the quantities anmore without discussing it first with the planner...... -
How to restrict the fields in a std screen i.e addtional data b of va01
how to restrict the fields in a std screen i.e addtional data b of va01
certain document type
as i already added some fields in it
can u help me with the setp
With regards
rohan ShettyHi Rohan,
Can you please let us know the solution that you had, i have similar requirement?
Thanks,
Manohar. -
Restricting the partner address change in both VA01 & VA02
Hi All,
In Sales Order Creation / Change i need to make the partner address fields editable but want a restriction on save.
For that i am doing the following:
Change:
This is possible by restricting the update comparing YVBPA & XVBPA table using parameter UPDKZ.
Create:
In the create scenario YVBPA table remains empty.Are there any other tables I should look at to restrict this address data change?
However, there is a table XVBADR , changes to which do not influence the final display address.
Alternatively , do we have an alternative approach to restrict the partner address change in both VA01 & VA02?
Thanks in advance!!!
Regards,
APResolved by using YVBPA & XVBPA tables.
-
ATP quantity is less than the available stock.
Hello,
A material is managed in batch.
When I create a delivery for a sales order the ATP quantity is showing less than available quantity.
MMBE:
Material: AAAA
Storage Location: XX
Batch: 11001 Unrestricted stock: 742750 KG Blocked Stock: 718000 KG
ATP quantity should be: 24,750 KG
Where as in VL01 while creating delivery it only suggests 24,500 Kg.
What could be the reason.
Sensing deficit of stock, I am creating a planned order through MF50 for another 750 KG.
Then in VL01 I get a proposal for 24750.
Why is it so?Hi S P,
Did you check the all the points from OSS knowledge base article 1837190 - Non-confirmation in sales documents or deliveries because of inconsistency ?
Regards,
R.Brahmankar -
Unable to restrict the Release of order when the Stocks are deficit.
Hi gurus,
i have a packing material for which the stocks are deficit when i checked in MMBE.
While releasing the order the material is picking the stock from some where and is not restricting the Release of order. The same case is working fine with other materials as well.i.e when there is a deficit of stock then the release is Rejecting for all the materials except for this packing material.
Thanks for your understanding.
Naveen.AHi,
Please check the below mentioned points
1.Material Master MRP View : (View 2 or 3, i dont remember) You had maintained the proper Checking Group (Say 02)
2. OPJJ: If you are using standard Checking Rule "PP" for the combination of the Checking Group and Checking Rule PP, make sure that scope is defined properly. Generally receipts from PR would be out of scope.
3. OPJK : Make sure "you had NOT checked "No Check" for Material Availability.
4.OPJK: The checking Rule is the right one (PP in Standard)
5. OPJK : For the order type you use, the Plant and business function 2combination check if you had set "3 - No release if Parts are missing" for the field "Release Material"
Thanks
Bala -
How to restrict the the oreder reason list while creating sales order
Hi gurus,
Can anyone suggest me
how to restrict the Order rerson list
while creating the sales order in VA01
Thanks & Regards
kalyan.hi,
Try this exit:
Enhancement MMFAB001 User exit for generation of release order
Thanks,
AMS
Maybe you are looking for
-
Figuring out how to access a device using Windows.Devices.HumanInterfaceDevice?
Before I start, I would like to share this link I used to access windows RT libraries from Desktop applications (only the ones stated in MSDN documentation that are accessible from desktop applications): http://blogs.msdn.com/b/cdndevs/archive/2013/1
-
Error when running java application on HP-UX
I am experiencing some problems when running my applications on HP-UX. I have downkloaded and instaled the SDK version . I can compile normally my programs, but when running I have the following error: Exception in thread "main" java.lang.NoClassDefF
-
My Illustrator does not allow me to change colors using swatches panel. Help pleas.
Few days ago I started having strange problems with my Illustrator CS5 application. I am using MacBook Pro with Intel Processor. After major update on the Mac OS few days ago I noticed I can not change colors in my drawings using swatches panel. T
-
Videos does not appear in the list after syncing
I have synced my 10 minutes music video to my 3gs and the syncing already completed without any error. but then i could not find my video in my 3gs. i already checked the include music videos in music sync. i'm sure the video is in mp4 format. before
-
Not able to create confirmation
Hi Experts, While creating the confirmation in SRM 7.0 - EP, we are getting the error message as below "Process scheme not found" Please advice BR, Siva