MM - User exit to validate delivery note number
Hi everyone,
pls. I need help to find the user exit just to validate the delivery note number during MIGO.
Thanks a lot !
Regards.
>
Himanshu Verma wrote:
> Hi
> Try with BADI: MB_MIGO_BADI Method PAI_HEADER> structure GOHEAD >LFSNR
>
> regards,
> Himanshu
himanshu,
istead of throwing any badi, bapi, enhancement or exit at such a question ... have you ever tried to ask yourself whether you are inventing the wheel again (and for the umptiest time) ... because maybe the solution lies in configuration? how can you come up with a BADI without knowing the process?
Similar Messages
-
Validate delivery note number during MIGO
Hi everyone,
Pls. I need to validate the delivery note number during MIGO because I need to avoid duplicates entries.
Thanks for help.for this you have to find the user exit through which you can validate the delivery note number, but in some scenario it is not feasible as some companies are sending the partial delivery under same delivery note number so if this is not the case then ask the ABAP to find a user exit through which you can validate the delivery note number.
regards,
qsm sap -
Delivery Note Number should not repeat again during MIGO
Hi Friends,
My client has a requirement to validate the Delivery note filed in the MIGO screen, i.e., the system should allow the user to enter a delivery note number once entered already during goods movement through MIGO. Is there any way that this can be done?
Regards
Guru PrasadThanks for the reply Ganesh.
Explaination of the requirement:
During goods receipt the user is supposed to enter the delivery challan number of the vendor in the filed "Delivery Note" in MIGO header. If the user by mistake types the same delivery note number again while posting goods reciept for the same vendor in future, the system should throw an error. If there is any user exit or if it can be done through some development kindly suggest the procedure for the same.
I also checked for the standard system messages, but couldn't find any.
Rgds
Guru Prasad -
User Exit to validate sold to party field
Hi Friends,
Is there any user exit/ BADI to validate sold to party field in VA01. This exit should not only apply to the VA01 transaction but anywhere customer number is created in SAP. It should be possible to find a user exit that is called right at the time of entry of the customer number so that the search in the database can be intercepted and search by either number and return the one found.
I found V45A0002 ...but this is for predefine values on sold to party field.
Please Note: - It should be common user exit to validate sold to party and customer number in any trn.
Points will be given for helpful answers.
Regards,
Hari krishnaHi Nagaraj,
Thanks for your reply.
In this include (MV45AZZ), It will stop at the user-exits USEREXIT_MOVEFIELD TO_VBAP, USEREXIT_FIELD_MODIFICATION.
But however, I tried to create/change customer in XD01/XD02...It was not stopping in MV45AZZ at any of the exits.
Any alternative solution or Is there any exit/ BADI ???
Regards,
Hari krishna -
User Exits to validate Fields in BP transaction
Hi,
Anyone Send me the User Exits To validate the Screen Fields of Transaction BP.
with Regards
kesavaperumalPlease Check Following BADI's.
BUPR_FILTER_RELSHP_2 Filtering or Hiding of Relationships Within the GUI
BUPA_ROLEGRP_HIDE Badi For Hiding Role Groups
BUPA_NUMBER_GROUP Badi for presetting the number grouping field
BUPA_INITIAL_SCREEN Initial Screen for BP creation
BUPR_ENQUEUE_TEST INTERNAL: Tests Whether BP is Locked
BUPR_RELSHP_OVR_EXT SAP BP: Extension of the Relationship Overview
Regards,
Swamy. -
User exit for updating delivery block of Sales order before Delivery
Hi Folks,
Need to have an user exit for updating Delivery Block indicator for a Sales order Before creating its delivery
I have got an exit in Program SAPMV45A
MV50AFZ1
FORM USEREXIT_REFRESH_DOCUMENT.
that hits before processing the delivery block fro delivery (Correct me if i m wrong with this )
Now i want now how to change the Delivery Block indicator of Sales order in that exit
any FM available ?
Thanks n regards
Sonal...Hi ,
How did you solved this issue?
I am having similar scenario in which while pressing the save button delivery block should update if multiple schedule line exist.
Tried by two different approaches in various user exit without any success.
AFAIK we have two ways to achieve this functionality.
1) Count the no of rows in vbep. If greater than 1 then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
This is not correct. If there are two line items both with single schedule line . This case total no lines in vbep will 2 and above condition will true which is incorrect.
2) There is a indicator for multiple schedule line (VBAPD-EPMEH , xvbap-epmeh ) if it is check then multiple schedule line exist and we can assign the value to VBAK-LIFSK(delivery block) as per our requirement.
If I write code in USEREXIT_SAVE_DOCUMENT_PREPARE.
Multiple schedule line indicator is not populate so can not use 2nd approach.
If I write code in USEREXIT_SAVE_DOCUMENT it of no use as vbak is updated before reaching this user exit.
If I write code in USEREXIT_MOVE_FIELD_TO_VBAK as this user exit is also called while pressing the enter key for this I have use
the condition of fcode but it also fails in some condition.
If fcode eq 'SICH'.
Read table xvbap with key epmeh = 'X'.
IF SY-SUBRC = 0.
VBAK-LIFSK = '03'.
Else.
VBAK-LIFSK = ' '.
Endif.
Endif.
Please help me to get the desired functionality working for all cases.
1) One line item with multiple schedule line
2) Two line item with multiple schedule line
3) One line item having one schedule line and second one having multiple
4)Two line item both with single schedule line. -
How to find out whether USER-EXIT is active or not
Hello!
How can I find out whether USER-EXIT is active or not ?
I set a break-point at these points and nothing happens
if I want save my daocument ???
Why
PERFORM USEREXIT_SAVE_DOCUMENT.
PERFORM USEREXIT_SAVE_DOCUMENT_PREPARE.
Ragards
IlhanHi Ilhan
The easiest way, I guess, is by going to transaction SMOD, sticking in your enhancement name and pressing the test button.
When placing breakpoints, don't use <b>Breakpoints > Breakpoint at > Statement...</b> and enter
PERFORM USEREXIT_SAVE_DOCUMENT
because you won't get any hits since the function module names are stored dynamically.
Rather use <b>Breakpoints > Breakpoint at > Function Module...</b> and enter
USEREXIT_SAVE_DOCUMENT
for a better chance of hitting the breakpoint.
Cheers
Lyal
Message's terrible grammar was edited by:
Lyal Schumann -
User Exit/BADI to pass external number range in CRM 2007
Hi,
In CRM 2007, Is there any User Exit or BADI to pass number range object externally ?
Like USEREXIT_NUMBER_RANGE routine in MV45AFZZ include ( ECC ).
Business requirement : separate number series is need to be maintained for each service location.
Kindly help if you know the solution.
Thanks
BhanuHello Bhanu,
You need to follow following steps to do so:
Create an external number range in SNRO.
Assign this number range to your transaction type in transaction processing configuration part.
Create an implementation for BADI CRM_ORDERADM_H_BADI or ORDER_SAVE. Now depending upon your condition you can assign the number to the Object id here in the work area.
I hope this helps.
Thanks
Vishal -
MBXA and delivery note number.
Hi,
if a delivery note has been created with a mistake what do I do?
The material document is being reversed but when printing a delivery note for another material
system saves with a new delivery note number instead of the previous.
Best regardshi,
spro --> materials management --> inventory mangement and physical inventory --> Number range assignment -->
under this path you can maintain number ranges for accounting documents and material documents.
1. accounting documents (OMBA)
2. Material documents (OMBT)
3. Reservations ( OMC2)
4. GR/IR slip numbers. ( OMC1)
hope this may help you,
Regards,
Srinivas -
When i try to post MIGO i am getting the following error message:
Check the Delivery Note Number
Message no. ZMM01000
Please help me to solve this issue
Thanks & Regards,
PioneerHI
Is it that you are not filling in the delivery note number which sems it is mandatory from your message ro is it required that you have to fill in a particular pattern, just check this out. Refer your old GRN documents for MIGO and analyse how they have been carryign out if not successful you can go for de_bugging to find out the reason as this is a custom designed message developed by the client.
Regards -
Report: Acc doc with delivery note number
Hi,
Is there any report where we can have the accountting document number and the corresponding
delivery note number?
I can understand, the delivery note should be ideally put in the reference field of the MIRO screen. But in our scenario it is not mandatory. So there are cases where the reference field and the actual delivery note of GR differ.
So the need is for a report of the accounting document and the actual delivery not (which we can in the MIRO screen item level)
Please guide...
Regards,Hi ,
Try with Table RBKP incase of Logistics Invoice Verification.
You may also try with BKPF for Conventional Invoice Verification.
Regards
Ramesh Ch -
User Exit to get Sales Order Number during creation
Hi,
I am looking for for an User Exit which provides Sales Order Number, during creation of Sales Order using transaction VA01.
Please provide the Structure/Field Name.
I tried USER_EXIT_SAVE_DOCUMENT. But, it seems it doesn't provide.Kindly help.Hi:
Program : MV45AFZZ
search for USEREXIT_NUMBER_RANGE.
BR,
Manthana -
User-Exit for changing Sales Document Number - Urgent
Hi Experts ,
Please suggest me the <b>User Exit for changing Sales Document Number.</b>
thanks,
Jayesh<b></b>hi jayesh,
chech this exit-----EXIT_SAPFV45S_002.
this exit's description says " Change Sales Document Using Configuration".
Other available exits are
SDAPO001 Activating Sourcing Subitem Quantity Propagation
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Enter these exits name in SMOD transaction and select components. u can find all the user exits available for this exit name.
Reward me if useful..........
Harimanjesh AN -
Hi,
I'd need to extract, using SQVI, the supplier delivery note number starting from part number and/or supplier and display the main information (supplier, supplier delivery note number, part number, posting date, supplier delivery note date, quantity). Which are the right tables to use?
Thank you in advance!Hello,
By part number I assume you mean material? Or do you mean MPN?
In case its just material:
Inner join of MSEG, M_MEBEX and MSEG should provide you all the details you require:
1) Material - on the selection screen - MSEG - MATNR
2) Supplier - on the selection screen - MSEG - LIFNR
3) Supplier Delv note - M_MEBEX - XBLNR
4) Posting Date: MSEG - BUDAT_MKPF
5) Document Date / Supplier Note date - MKPF- BLDAT
6) Delv note quantity - MSEG - LSMNG -
User Exit For Tagging Delivery To A Manual Shipment
Hi All,
We have a process in which we are creating a shipment manually and then we are trying to tag a delivery manually to that shipment. The requirement is that it should give an error for a particular type of delivery.
Please let me know if there are any exits for that.
Thanks,
SharadenduYou should try to control it while transaction VA02 then. I think the user exit should be MV45AFZZ, u plz check in the list of user exits - SPRO-IMG- Sales and Distribution- System Modifications- User Exits and you will have all specific user exits used during various SD processes there.
And then u might want to issue a hard error when some one changes or tries to change the Delivery date- can use a message number according to the application(for ex if its sales then Message class is V1). And then get that message number and code included in the particular user exit.
Else u can have a screen variant defined for a specific users profile which will not allow any changes to the particular field. creta evariant using SHDO- select ur specific needs- assign this screen variant to the tarnsaction code may be VA02.
Regards
Sai
Maybe you are looking for
-
ABAP Query: Access variables in ABAP Program through InfoSet Query.
Hi, While generating a report using ABAP Query Tool, how can we access the variables in the ABAP Program in the InfoSet Query? Thanks in Advance!!!
-
Deployment issue of webcenter portal application
Hi, While deploying webcenter portal application I am getting below exception: Caused By: java.lang.ClassNotFoundException: oracle.webcenter.lifecycle.listener.FeatureMetricApplicationListener This is what I did: 1. Created a separate schema using we
-
Treo 700p will not synchonize with my new computer.
I recently purchased a new computer and the Treo won't sync with it. After searching whatever I could on the web I found out that I can't sync because Outlook 2007 is not configured with work with this model and the treo was synced on my former com
-
Can users call main method??
class MainDemo{ public static void main(String args[]){ System.out.println("First main method"); MainDemo.main("hello"); }Hi all, Why is the above code not compiling??
-
HELP please with Nokia PC Suite and MAC
I have just bought the Nokia E71 and incredibly confussed with that instalation process of the PC Suite. Is there a program that is suitable for MAC?