on 07-15-2008 6:34 AM
Hi all,
Is there any user exit to change the order type based on Sold to party.
Eg: if any user select some sold to party during sales order creation then using sold to party the order type is changed.
Any suggestions welcome.
Regards,
Hi Navdeep,
You can try exploring the option of maintain Alternate sales Document type in VOV8.
So once you have entered sold to party, you can then decide to manually select the alternate sales document type whatever is needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks all for suggestions,
When we try to create the new sales order using tcode VA01 then firstly it asks for Sales doc type and then on next screen it asks for Sold to party.
So after assigning Sold to party is it possible to change the Sales doc type in transaction va01.
Any suggestion welcome,
Regards,
We create a Sales Order VA01.
It asks for Sales Doc type. You give it.
Immediately the Sales Areas assigned to this Sales Doc is activated. Or in other words, this Sales Doc can be used for Sold-to-parties in the assigned Sales Area only.
Then you give the Sold-to-Party. The System checks whether the Sold-to-party is in the Sales Area assigned to the Sales Document. If its ok, you can proceed giving the other details. If not, you give another Sold-to-party, and so on.
Hence if you want to change the Sales Doc, the chain gets disconnected. You can go back and select another Sales Doc, without saving. But the moment you select another Sales doc, the Sales areas assigned to this sales doc is activated and again you have to enter the Sold-to-party.
I hope this would have cleared your doubt.
Award points, if answer is found suitable.
Dear Navdeep
Yes it is possible to change provided you have maintained the alternate sale order type in IMG.
Go to VOV8, select your order type OR and maintain the alternate sale document type in [Alt Sales doc type1] Now while creating sale order, you can change the same.
thanks
G. Lakshmipathi
Hello Navdeep,
One Technical Solution:
create a screen ZVA01, with the customer as input.
in the PAI of the screen, based on the SP, go to Z-table where you maintain diff order types per Sold to Party.
using CALL TRANSACTION syntax default the VA01 screen with the order type from the Z-table.
I hope this helps.
Rgds,
Raghu.
In my opinion this not possible from Sold to party to change the Sales doc type.
As in VA01, u start with giving either by Sales Order Type and Sales area or Only sales doc type.
In only providing sales doc type in VA01, in that case, when Sold to party is provided, sales doc type takes the sales area from there.
So, if you want to achieve your requirment in other way around then your sold to party should have fixed sales area. Assign desired sales doc type to those sales area in tcode OVAZ. And use accordingingly Your Sold to part can be distingush on the bases of Distribution channel or Division as per you requirment.
If helpful, please reward.
Take care. JP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Navadeep,
Please try with these
The program MV45AFZB
USEREXIT_CHECK_VBAK
This user exit can be used to carry out additional checks (e.g. for
completion) in the document header. The system could, for example,
check whether certain shipping conditions are allowed for a
particular customer group.
The program MV45AFZZ
USEREXIT_FIELD_MODIFICATION
This user exit can be used to modify the attributes of the screen
fields.
To do this, the screen fields are allocated to so-called
modification groups 1 - 4 and can be edited together during a
modification in ABAP. If a field has no field name, it cannot be
allocated to a group.
The usage of the field groups (modification group 1-4) is as
follows:
- Modification group 1: Automatic modification with transaction
MFAW
- Modification group 2: It contains 'LOO' for step loop fields
- Modification group 3: For modifications which depend on check
tables or on other fixed information
- Modification group 4: is not used
The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit.
This FORM routine is called up by the module FELDAUSWAHL.
See the Screen Painter manual for further information on structuring
the interface.
USEREXIT_SAVE_DOCUMENT
Use this user exit to fill user-specific statistics update tables.
The user exit is called up by the FORM routine BELEG-SICHERN before
the COMMIT command.
Note
If a standard field is changed, the field r185d-dataloss is set to
X. The system queries this indicator at the beginning of the safety
routine. This is why this indicator must also be set during the
maintenance of user-specific tables that are also to be saved.
USEREXIT_SAVE_DOCUMENT_PREPARE
Use this user exit to make certain changes or checks immediately
before saving a document. It is the last possibility for changing or
checking a document before posting.
The user exit is carried out at the beginning of the FORM routine
BELEG_SICHERN.
I hope it will help you,
Regards,
Murali.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Navdeep
Try with User Exit V45A0002 through which you can default the sold to party in sale order
thanks
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.