User exit not active when saving sales orders
while creating a sales order (VA01) i need to update the storage location based on division . for this the badis and user exits are not triggering while creating a sales order for the above requirement
any solution........
<removed by moderator>
thanks in advance..
<Subject edited. Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]>
Edited by: Mike Pokraka on Aug 7, 2008 8:38 AM
JVP,
MV45AFZZ this is the include which is trigger while creating SO.
use FORM USEREXIT_FIELD_MODIFICATION to write code.
your code look like if sy-tcode = 'VA01'.
update field.
endif.
Amit.
Similar Messages
-
User Exit or BADI when saving Internal Orders
Hello, I need a user exit or BADI when saving a Internal Orders to shoot a workflow
REGARDS
DayanaHi
Why do you need a user exit or BADI.
Create a Custom Business Object(SWO1) and Create a New Event(SW01) and link it to the B.O. Or you could also create a CO Validation and use it for triggering a Validation and as a last resort you go for User Exit or Abap code.
Check if you have some workflow expertise in your tech team and you should be fine.
Thanks,
Praveen -
I need a Badi that is triggered when saving Sales order in both Va01 and Va
Hi
I need a Badi that is triggered when saving Sales order in both Va01 and Va02
I tried with the following BADI's
BADI : BADI_SD_SALES
Implementation : /BEV1/SR_SALES_ORD_1
Method SAVE_DOCUMENT
Now when i want to put my peice of code in this (SAVE_DOCUMENT) method.
It is asking for Access key. Which i do not have.
Should i create a implementation and then create a method and then put my code there?
Anybody plz help.You will probably not find a BADI to suit your needs. However if you look at include program MV45AFZZ you should find two subroutines: USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_SAVE_DOCUMENT. You can put the code you need directly into these subroutines. If these have not been changed yet on your system, you will need an access key to make these changes.
Please read the documentation in the header of the subroutines for furtner information on when they are called.
Best Regards,
Chris H. -
Screen /user exit for additional screen on sales order header
Hello sir's,
can anybody help me for this query---
Screen /user exit for additional screen on sales order header.
exit name.
Thanks in advance,
VikramHi,
SAP has provided screen modification. This you can do on "Additional data B" screen at both <b>header</b> and line iteam level.
Additional <b>header data is on screen SAPMV45A 0309</b>, additional item data on screen SAPMV45A 0459. These screens contain the <b>Include screens SAPMV45A 8309 ( this is the screen exit at header )</b> or SAPMV45A 8459 ( this is the screen exit at item ) as user exits. There few more exits you will have to code to get this screen works. The are,
MV45AOZZ - PBO module of screen
MV45AIZZ - PAI module of screen
MV45ATZZ - Global data definition for user-exit.
Check this link for more info regarding user-exit in sales docs.
http://help.sap.com/saphelp_46c/helpdata/en/1c/f62c7dd435d1118b3f0060b03ca329/frameset.htm
We have alredy implemented this solution at line item level. Let me know if you have any question.
Regards,
RS -
User exit or BADI while saving purchase order
Hello,
I want to use an user exit or BADI while saving of purchase order. The objective is to check the material group of the line item while saving. We don´t want to allow to save purchase orders for one material group.
Can you please guide me.
Thanks
SrinivasanHi
The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.
Typical applications for this BAdI include:
Processing of own objects
Processing of additional data on standard objects
Implementation of additional checks and derivationsChange of data in standard fields
Change in field selection
you can use this BADI for checking the material group
Thanks & Regards
Kishore -
Direct production order when saving sales order.
Hi,
How to create a production order from sales order.ie. When a sales order is saved production order automatically created.
Thaks and regards
HarishHi
For the product that you need to have the production order once the sales order is saved
Maintain the planning strategy 82 Assembly processing w. production orders in material master / mrp 3 view
So once the sales order is created, system automatically do the bom explotion and availability check, routing in background and create the Prodcution order.
so in Md04, you can see the production order for you sales order qty. -
Logic and User Exit for Availabilty Check in Sales Orders,
Hi All,
I have a requirement of creating a Sales order from an Inbound IDOC. Before saving i need to do all the validations for the sales order including the availabilty check for the sales orders. If it is not fulfilled i need to reject the sales order creation.
I am trying to search for the logic for the availabilty check of the sales order but i am not able to find one. Please help me out with that and also i need the user exit for the availabilty check for the sales orders. Please help me out with that one too.
Regards,
SharadenduSee this function Module for message type ORDERS
IDOC_INPUT_ORDERS all validations are there in this Function Module .
Please reward if useful. -
User exit while creating delivery from sales order
Hi Guys ,
Is there any user exit in sales order which triggers when we try to DELIVER(from the menu bar) .
My requirement is to not include some line items(base on some condition) before they are included in the delivery .
Thnx in advance .
AnilHi Naimesh ,
Thnx for your reply.
I'm not sure of the functionality in VOFM .Can u please tell me how can i acheive my current functionality as explained above in my question .
I'll tell u my requirement .
When creating delivery , I have to check for some condition and depending upon this condition , the line items must not be included in the delivery .
I have acheived this by BADI LE_SHLP_DELIVERY~SAVE_DOCUMENT_PREPARE.
if suppose any line items gets deleted in the delivery(based upon my condition) , and then if I look at the status of the slaes order(VA03) , it shows partially confirmed at the header level and the item which is rejected(in delivery) shows OPEN .
Can u tell me how to update the status of the sales order header and item level (if any item is deleted) during creation of delivery .
Thnx .
Anil -
User-Exit for Checking Customer and Sale order type in Sales Order Creation
Hi Experts,
While creating the Sales Order once i enter sold-to-party and enter line item, i have to check the customer against the sales order type.
Please suggest me if any user-exit or enhancement or BADI available for it.
Thanks & Regards,
-VMHi
Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
1) Goto se24 (Display class cl_exithandler)
2) Double click on the method GET_INSTANCE.
3) Put a break point at Line no.25 (CASE sy-subrc).
Now
4) Execute SAP standard transaction
5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
7) This way you will find all the BADIs called on click of any button in any transaction.
mark if helpful
Regs,
Tushar Mundlik -
Need of User-Exit in the creation of Sales Order(VA01)
Hi,
In the creation of Sales Order, I need to Compare the Ordered Quantity and Confirmed Quantity. If the CQ is less than OQ I need to create one more line item with the same material for the rest of the quantity and send the request to Production order for the remaining quantity. For this I am unable to get the exact exit. Please help me in this regard ASAP.
Thank you.the following program are the user exit for billing.
we often use RV60AFZC and RV60AFZZ.
RV60AFZA
RV60AFZB
RV60AFZC
RV60AFZD
RV60AFZZ
RV60BFZA
For Sales order
Pricing, item addtion deletion
MV45AFZZ
First, I did not find documentation for the BADI either. But at the first glance the process of implementing it looks quite straightforward. I assume you run R/3 Enterprise (4.7). So, you should implement BADI 'BADI_SD_SALES' - this must be done in transaction SE19. In particular for the purpose of adding some additional items into sales document I would implement method SAVE_DOCUMENT_PREPARE. This method has changing table parameter FXVBAP of type VA_VBAPVB_T - it holds all the sales document items. Just add items of yours to it. Certainly, you have to fill all the appropriate fields carefully.
Hope this helps somehow.
In that case you should use USEREXIT_DOCUMENT_SAVE_PREPARE subroutine (form). As far as I remember it has no parameters. To add items to the sales document you should modify internal table XVBAP.
regards
vinod -
User Exit to make changes in sales order line item data.
Hi All,
I need to know about user exit by whcih I can make changes in sales order line item details --> Account assignment tab --> Sales order no and line item no.
I want to make changes so as to bring the active maintenance contract no and line item no here instead of sales order no and line item no. So whenever ( Va02 or Va03) we go to sales order line item and se the account assignment tab I should see the contract no there.
Just let me know the USER EXIT to do the above changes.
Points will be awarded.
Regards,
Satish.Hi,
Please have a look at the following user exits...
1. user exit_ save_document
2. user exit_save_document_prepare
Regards
sankar -
Update Customer's Credit Exposure amount when saving sales order
Hi All,
My requirement is to update the Credit Exposure amount(KNKK-SKFOR) of the Payer based on the open items for the payer when saving a sales order.
I checked the UserExit USER_CREDIT_CHECK2 however this is not working when I am trying to update the KNKK-SKFOR value in this userexit.
Please help.
Thanks.Dear Debashish
As per my understanding, this is because the credit limit check is always applicable at 2 levels only i.e. Sales Order and Delivery.
u r talking about Open Billing Doc and Open Items, but this is also covered within Open Sales Orders and Deliveries, isn't it?
Hope this will help u. -
User exit for partner tab on sales order
Hi All,
Is there any user exit available for partners tab on sales order which should trigger when ever user changes anything from that tab like add/change remove any of the partners.
Thanks,
Suman.Hi Guys,
Any Updates.
Thanks,
Suman. -
USER EXIT REQUIRED DURING DELIVERY OF SALES ORDER VL01N
hi
i want to block all the delivers ( by default ) i.e after creating sales order when user go for delivery ( or runs transaction VL01N ) it should block all the deliveries
plz suggest user exit as i dont find any
thanks
taranHi taran,
Check, it may help you.
Exits for VL01N ::::::
V02V0001 Sales area determination for stock transport order
V02V0002 User exit for storage location determination
V02V0003 User exit for gate + matl staging area determination (headr)
V02V0004 User Exit for Staging Area Determination (Item)
V50PSTAT Delivery: Item Status Calculation
V50Q0001 Delivery Monitor: User Exits for Filling Display Fields
V50R0001 Collective processing for delivery creation
V50R0002 Collective processing for delivery creation
V50R0004 Calculation of Stock for POs for Shipping Due Date List
V50S0001 User Exits for Delivery Processing
V53C0001 Rough workload calculation in time per item
V53C0002 W&S: RWE enhancement - shipping material type/time slot
V53W0001 User exits for creating picking waves
VMDE0001 Shipping Interface: Error Handling - Inbound IDoc
VMDE0002 Shipping Interface: Message PICKSD (Picking, Outbound)
VMDE0003 Shipping Interface: Message SDPICK (Picking, Inbound)
VMDE0004 Shipping Interface: Message SDPACK (Packing, Inbound)
LE_SHP_GOODSMOVEMENT BADI.
Regards,
Ramesh. -
Question - SD user exit for Billing with multiple sales orders
We have a situation where we are summarizing Accounting Billing document updates via OBCY, transaction type VBRK .
We will also have multiple sales orders per billing document.
One of our accounts is a COGS- clearing account which will post for both delivery and billing documents.
Our goal will be to clear the COGS-clearing account after the delivery and billing has occurred.
One alternative being evaluated is to update the assignment field ( bseg -zuonr) for the sales order.
To do this, one of the SD user exits , perhaps SDVFX008, would be necessary to update the sales order from vbrp-vbel2 to bseg-zuonr.
I am concerned about
1) will the update work
2) what will be the effect on summarization
If we try to implement the user exit , would we be successful to just update the assignment field for just the COGS accruall account. _Therefore the next effect is that AR,Rev, etc, would summarize , but the COGS clearing would break out due to the update to the assignment field..
Does anyone have any experience similar to this situation.
Thank you,
JeffHi
You can use SDVFX008 or FI Substitution exit RGGBS000 (Form U100)
You can very well update the required GL (COGS Clearing) with the Sales order No... However, how exactly it would behave upon summarization, I am not sure about that.. you need to develop that and see
In the COGS account during PGI, Sales Order No is populated always in the field "Sales Order"... In your case, the COGS clearing account should be having sales order no populated...
So, if you are successful to populate Sales Order No during billing in the "Sale Order" Field for the COGS clearing account, that should also suffice...
or See if you can have relevant sort key in FS00 for the COGS clearing account so that Sales order no is always populated..
Regards
Ajay M
Maybe you are looking for
-
Problem in opening Xcelsius file
Hi, I had created a dashboard. I am now not able to open the file. Gives an error "Crystal xcelsius is unable to load this file. This file may be corrupt or have features that cannot be supported by this version of crystal reports". Then gives an err
-
Is it possible to send a cancellation meeting to multiple users from my iphone5
I am away from my PC/Laptop and want to send a cancellation to all members of the meeting from my iphone5 (iOS8). I use Outlook for email and calendar. When I delete event, it just deletes the meeting from my calendar and does not send a cancellatio
-
I imported an EP into my iTunes and it separated one of the songs from the rest and put it into it's own album. I tired going into the info and changing the artist name and album name so they would combine, but it did not work. What else can I do to
-
When I installed Firefox I inadvertently responded "yes" when asked if I wanted to "pin" my home page to the browser. l also designated that page (my Juno page) as my home page. So now whenever I open Firefox, two tabs appear with my identical home p
-
CS6 Crash when exporting .pdf
I recieve an error box looking like this And then one like this when I try to export to a pdf. Please help. :/