on 09-10-2012 4:45 PM
hello All:
We have a requirement where we want to exclude TLANEs with priority 999 to be considered during SNP planning, appreciate any idea in order to achieve this.
Thank you in advance.
Sayeed
Hi Sayeed,
The easiest way to block a given T.lane is to set the block indicator as locked (t.code /sapapo/scc_tl1). With 'locked' status, SNP planning engine does not consider the given t.lane for planning.
Thanks,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Rajesh:
Thanks for the reply, let me give further background to this requirement.
We have 2 plants, plant A and B. The product P mainly goes from A to B, but some time has to be brought back to plant A. So we create another TLANE from B to A (cyclic relationship) which we suppress by enhancement so that LLC will not pick it up.The TLANE from B to A is prioritized at 999 but we dont want anything to be planned by SNP heuristics but rather use it on adhoc basis when required as such we cant block it.
Let me know if you have any questions.
Thanks
Sayeed
Sayeed,
You can try BAdI '/SAPAPO/PWB_SOS' (method PWB_USEX_SOS). This allows you to restrict the source of supply selection. Pl check the BAdI documentation for details (t.code SE18). In fact, the documentation provides an example very much similar to your case.
Sorting and/or Restriction of Source Selection
Title
Sorting and/or Restriction of Source Selection (PWB_USEX_SOS)
Functionality
This method enables you to influence the source determination process.
Parameters
IV_MODE | Source determination |
This parameter indicates the mode in which the source determination process is invoked: | |
Mode P for planning in the background | |
Mode D for dialog (manual selection of a source of supply) | |
IV_PLAN_USAGE | Plan usage |
This parameter indicates the plan usage for which the source determination process is invoked: | |
Plan usage ' ' for PP/DS and SNP | |
Plan usage P for PP/DS | |
Plan usage S for SNP | |
CT_SOURCES_EXTEND | Table Extended Source-of-Supply Structure /SAPAPO/SOURCES_EXTEND |
This table contains the valid sources that have been determined by the system. Type - /SAPAPO/SOURCES_EXTEND_TAB. This structure has a filed SPRIO that has been assigned with procurement priority. You can use it as a filter to delete those records with procurement priority as 999. |
Cheers,
Rajesh
User | Count |
---|---|
12 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.