on 02-25-2009 8:32 AM
Guys I am an SRM consultant currently prototying a FOC process, which involves a sales orders.
The scenario is that we want to have a particular Plant (say 1200) to be defaulted for a particular sales document type (say ZFOC). As I as understand, in SD the plant (say 1000) is determined through Customer Material Info, Customer Master or from the Material Master.
Since the customers and the materials involved in the FOC process are same as would be for a normal sales (document type OR), we cannot touch any of the Customer Material Info, Customer Master or from the Material Master.
Is there a way where we can re-determine plant in the FOC sales order (ZFOC) without disturbing the determination logic for other normal sales processes (OR) ?
Thanks in advance.
Ravi
hello, friend.
please try this...
1. define a shipping condition. let's say shipping condition '99'.
2. in shipping point determination, assign this shipping condition '99' to your loading groups, shipping point and your desired default plant (this assumes you have earlier assigned shipping point to plant).
3. assign this shipping condition '99' to your sales doc type.
theoretically, when you create the sales order, it will default the shipping condition from the sales doc and not the customer and you will determine the desired shipping point and plant.
please test and get back to us with the results.
regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
My assumption is that you must have chosen to have a new Sales Document Type ZFOC for FOC orders due to some business constraint, however FOC process can also be handled through normal sales orders (OR)... ...thats apart.
Given the premise that you want to determine a specific plant (1200) for document type ZFOC, I think I have a solution. SAP has a USEREXIT in include MV45AFZB specifically meant for this:
&----
*& Form USEREXIT_MOVE_FIELD_TO_ME_REQ
&----
This Userexit can be used to move additional data to the *
requisition-table EBAN or to the account-assignment-table *
for requisitions EBKN. *
*
This form is called from form EBAN_FUELLEN *
BESCHAFFUNG_FUELLEN *
*
----
FORM USEREXIT_MOVE_FIELD_TO_ME_REQ.
Example
EBAN-LIFNR = zzfield1.
EBKN-KOSTL = zzfield2.
You can use this exit with appropriate control table logic to replace the defauled plant '1000' by '1200'
Hope this helps..
Sachin
Sachin .. one correction though...
The include is MV45AFZB is correct, but the form is incorrect. ...
The form should be:
&----
*& Form USEREXIT_SOURCE_DETERMINATION
&----
This Userexit is used to add additional logic for finding *
the source of the plant or the item category. *
*
This form is called from form VBAP_FUELLEN *
*
----
FORM USEREXIT_SOURCE_DETERMINATION.
set source
VBAP-WERKS = zzfield1.
set item category
VBAP-PSTYV = zzfield2.
......
may be you did a copy paste mistake
Thanks anyways...
Ravi
Hi,
You can define a new ztable and can maintain the feilds like order type, plant for specific sales area.
Then during the plant determination in sales order you can call check against this ztable by modifying the code. this is possible.
Regards
vK
Edited by: Vamshi Krishna on Feb 25, 2009 2:38 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.