cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger Point

06-04-2012 5:57 PM
1102 views 16 comments
0 Likes
SAP Managed Tags
Subscribe

In production order, Is it possible to use trigger point functionality to replace missing parts with the one which has stock available?

Thanks.

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Pradeep,

I think standard SAP doesnot have this functionality.

You need to make some Z developments for addressing such issues.

I had worked on similar such scenario where there were two type of production orders for export and local markets. For export system needed pick materials from certain storage location meant for export only. Local market materials were put in different storage locations.

If for a export Production order, while goods issue - our program ZMB1A - checked material availability in export storage locations first and picked. If sufficient stock was not available or no stock, then it check for local storage location and picked the stock.

In this way, you can address missing parts by making and logic and go for Z development.

Regards,

Srinivas

Former Member
0 Likes

You are right Srini. But I was just trying to avoid Z programs as we already have a lot of Z processes and trying to go standard way.

Is it possible to use some user exit which can be triggered as soon as missing parts message pops up and get the component replaced by other component?

Thanks.

sjeevan
Active Contributor
0 Likes

Try alternate item group:

http://scn.sap.com/message/10724613#10724613

http://scn.sap.com/message/10729143#10729143

Remember it will trigger this check when you do availability check. You can activate automatic checking while saving the order during creation and/or release in OPJK (business function 1 and/or 2).

Also remember after you do the availability check and SAP picked the available component for the production order but due to some emergency you used that material for something else you need to do the availability check, again (may be using COHV).

Former Member
0 Likes

so for example if there 10 components in one group. Out of 10 , say 5th available. Does system going to copy only 5th during production order creation.

what if more than one BOM items are available partially? do i need to change alternative item data in bom every time? I am going to try couple of test scenario but if you know any enhancement, please let me know?

thanks.

sjeevan
Active Contributor
0 Likes

If there are 10 components it will look for stock based on the priority you set (similar to ranking) if first one is not available it will look for second one etc.

what if more than one BOM items are available partially?

If you set the strategy as 100% it will look for material stocks which can fulfill the total requirement for that BOM item.

For example

Item: 0010  Component 4000001 Req.Qty 8.  Priority 1   Alt.Grp. A1  Current Stock : 5

Item: 0010  Component 4000002 Req.Qty 6.  Priority 2   Alt.Grp. A1  Current Stock : 6

Item: 0010  Component 4000003 Req.Qty 8.  Priority 3   Alt.Grp. A1  Current Stock : 10

Item: 0010  Component 4000004 Req.Qty 8.  Priority 4   Alt.Grp. A1  Current Stock : 3

Item: 0010  Component 4000005 Req.Qty 8.  Priority 5   Alt.Grp. A1  Current Stock : 20

Item: 0010  Component 4000006 Req.Qty 8.  Priority 6   Alt.Grp. A1  Current Stock : 1

In the above example 4000002 is a high potency material so only 6 are required instead of 8. So now what system does is it will look if there is stock 4000001 of 8 is available . The available stock is only 5 so it will not totally fulfill the requirement so it will look for priority 2, it is available so system will copy 4000002 with quantity 6. But... it will also copy all others in the same group with ZERO qty.

If your demand can be fulfilled partially by any combination of the above materials like 4 of 4000001 and 3 of 4000003 and 1 of 4000006 (total 😎 then in that case you need to manually change quantities in production order or implement a user-exit.

I mentioned other scenarios (they may not be of much relevance to your problem) in the links I posted in my previous reply.

Former Member
0 Likes

thanks for nice example, jeevan. this explained a lot. In our case, we are looking only 100% available bom component not for partial so if  9 components are listed with zero quantity in produciton order... thats fine. You mentioned to use user exit...shall i check  PPCO0008  Enhancement for adding and changing components?

sjeevan
Active Contributor
0 Likes

If your requirement is, it should be fulfilled by 100% of any available material then you don't need to implement any user exit.

Just create a test scenario with 3 components (for you to get good understanding on the subject) like below, create stock using MB11 movement type 561 or adjust stock using MI10

Item: 0010  Component 4000001 Req.Qty 8.  Priority 1   Alt.Grp. A1  Current Stock : 5

Item: 0010  Component 4000002 Req.Qty 6.  Priority 2   Alt.Grp. A1  Current Stock : 6

Item: 0010  Component 4000003 Req.Qty 8.  Priority 3   Alt.Grp. A1  Current Stock : 10.

Create production order and do the availability check. The go to component overview and see how system automatically selected the components.

Note that you can use same item number or different item number for same alternative item group. Doesn't make any difference as far as functionality is concerned.

Read this link also.

PPCO0008 will trigger when you add new components to production order (or when you change quantity or plant or storage location of the component) and you can write code for it to check if there is enough stock if stock is not available you can reject adding the component. I don't think this exit will be much useful for you, but if you want you can go with it.

Former Member
0 Likes

I tested this scenario and seems to be working as explained. Since I have pretty big list of components I created one phantom sub assembly(semifinish) just to avoid much data maintenance at finish goods level.

In screen shot below only material 200200213 is available. so material 200200214 should have "0" quantity. Phantom asssembly shouldn't even show up in production order, only it's components. Is it possible to do what i am thinking to do.

Gonn

I

Ritz
Active Contributor
0 Likes

Pradeep Kumar,

seems its not working as you introduced a phantom in between, your both component 200200213 as well as 200200214 are shown with quantity 1 , idealy there should have been only 200200213 with 1 and 200200214 with 0.

so please check by removing phantom, hope it will work as expected.

Thanks

Ritesh

Former Member
0 Likes

Checked further....there is no dependent requirement created for phantom assembly. But when I tried to confirm 300800515, found 261 movement for both phantom assembly component where as only one should be there as per stock available. 

Former Member
0 Likes

It's working without phantom.

Ritz
Active Contributor
0 Likes

Pradeep Kumar,

you made it very complex

when you will use it as component for finished order i will definetlt work.

so please indluce you components directly in BOM instead of making assignment through phantom.

Thanks

Ritesh

Former Member
0 Likes

Thanks for help, Ritesh. Already tested that scenario as Jeevan explained but wanted to check with phantom also. let me see if I can do some other way around to get this process mapped.

Thanks again. 

sjeevan
Active Contributor
0 Likes

I'm not sure alternative item concept will work with phantom assembly components, at least it will not work with phantom as one of the alternative items. Read this SAP help link

Also, refer to the note 103029, though it say it's valid up to 4.0B I think it's valid unto current version of SAP since they mentioned they're not even planning to implement that feature.

Ritz
Active Contributor
0 Likes

Yes Pradeep,

its correct as for Phantom there will noit be any requirement.

What i guess is , here as you are using two functions Phantom as well as alternative group,

In standard BOM explosion funtion its not being considered, if you debug you may find that when progranms comes to place where it find Phantom it straight way explore the BOM without taking the alternative item function into consideration , in other case when you create a production order for normal material , which is not phantom , code have only one function to perform that is alternative detemination.

hope this explanation will help you,

Will be more clear if you can take help from ABAP guy and confirm it, appriciate if you share your findings with group.

Thanks

Ritesh

Former Member
0 Likes

Thanks your help Ritesh and Jeevan. I am in middle of testing various used cases and definitely will explore this.

Keep you guys posted.

thanks.