Validate the delivery note i tcode MIGO
Hi Experts,
In MIGO Tcode ---> Delivery Note is taking the same number at any number of times for the same Purchase Order .
But Excise Invoice if u enter the same it will rise the error message .
like that i want to validate the Delivery Note , IF we enter second time it has to rise the error message .
plz guide me on this.
Regards,
Hari.
Hi,
I think what you want to do is to restrict users fro entering the same delievry number multiple times, check exit MBCF0002 here in the importing parameter I_MKPF you should get the current delievery number using this you should be able to keep a check for the same.
Regards,
Himanshu
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 -
Hi Experts,
I need to assign Delivery Note(LFSNR) in MIGO, to field Reference(XBLNR) in MIRO. that means "Reference " field must contain the delivery note information instead of Invoice doc number.
how can i use component MRMH0001.where can i use?
i am new to user exits.
please help me. i need logic and steps.
Thanks in advance
Reward points will be given.
Srinuhi
Overview
R/3 provides three "customization spots" that allow you to enhance FI/CO features without modifying the standard code. Although often collectively referred to as "user exits," two of the three have different names. SAP Enhancements are used to expand the standard functionality within SAP. Enhancements use function modules and are called from the standard SAP code. Each module in the system has a set of delivered enhancements that help companies expand the standard functionality where they need it. Enhancements were new in release 3.0.
The Open FI Interfaces or Business Transaction Events are also used to expand the standard functionality within SAP. These events are defined in the IMG. Business Transaction Events were new in release 4.0. They are not available for all modules and are not called on all integrated transactions into FI as of release 4.5B. This will change with each release and should be retested.
The older User Exits in FI/CO are "Z" programs that are defined in table T80D for client-dependent user exits, and in table T80I for client-independent user exits. These are also used to expand the standard functionality within the FI/CO modules. These User Exits have been available since the early releases of SAP. All of these FI/CO User Exits are listed in this document in the Configuring User Exits (Older). The list is included because these User Exits are not a part of the Enhancements or Business Transaction Events and do not have an Info System for searching.
Benefits
Standard SAP functionality can be enhanced without modification to the standard code.
Upgrades do not erase the functionality and it does not have to be re-transported or re-entered into the system. The enhancements should be thoroughly tested when upgrading to ensure the system will still work as implemented.
Configuring SAP Enhancements
Basic Steps in Configuring an Enhancement
Find the appropriate Enhancement.
Enter the ABAP code in the "Z" program within the function module.
Create a project.
Add the Enhancement to the project.
Activate the project.
Example Business Scenario for Enhancements
Company A has a requirement to validate all customer master records created with a U.S. address. The U.S. entity reports on the industry field on the customer master. This is only a U.S. requirement and should not be required for the other countries, so the field status would not work. To accomplish this requirement, Company A will need to set up an Enhancement for the customer master transaction. The necessary steps are detailed below with screenprints. This example was configured in a 4.6C system.
to find the suitable exit for ur requirements check the following program
Hi
Find the available exits with the following program:::
*& Report ZFINDUSEREXIT
report zfinduserexit.
tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir.
tables : tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode obligatory.
select single * from tstc where tcode eq p_tcode.
if sy-subrc eq 0.
select single * from tadir where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir where pname = tstc-pgmna.
select single * from enlfdir where funcname =
tfdir-funcname.
select single * from tadir where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object = 'SMOD'
and devclass = v_devclass.
select single * from tstct where sprsl eq sy-langu and
tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(95) sy-uline.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
write:/(95) sy-uline.
loop at jtab.
select single * from modsapt
where sprsl = sy-langu and
name = jtab-obj_name.
format color col_normal intensified off.
write:/1 sy-vline,
2 jtab-obj_name hotspot on,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
endloop.
write:/(95) sy-uline.
describe table jtab.
skip.
format color col_total intensified on.
write:/ 'No of Exits:' , sy-tfill.
else.
format color col_negative intensified on.
write:/(95) 'No User Exit exists'.
endif.
else.
format color col_negative intensified on.
write:/(95) 'Transaction Code Does Not Exist'.
endif.
at line-selection.
get cursor field field1.
check field1(4) eq 'JTAB'.
set parameter id 'MON' field sy-lisel+1(10).
write the code in the right form and check by keeping a break point
HI
To search for a badi, go to se 24 display <b>class cl_exithandler.</b>
double click on method get_instance, get a break point on case statement.
execute and start the required transaction in new session.
look for variable <b>exit_name.</b> It would show the available badi's.
also check the following links
User Exit
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.planetsap.com/userexit_main_page.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
<b>Please do reward if useful</b>
Regards
Dinesh -
Delivery Note Mandatory in MIGO by movement type
Hello everyone
I would like to know How I can set delivery note as mandatory in MIGO transaction by movement type.
Thanks in advance.you can not do it the delivery not field by movement type because it is header level field. you can do it by transaciotn but not by movement type
except you do the custom developement -
How to fetch delivery note fiedl from MIGO
Hi,
how to fetch delivery note field from MIGO.
Regards
Mavesee it is not the exact field.
Regards
Mave -
How to restrict the excess quantity delivery from the delivery note ?
Dear All,
As we know we make the delivery note with the reference of sales order so ordered quantity will be copied in the delivery note automatically. At the time of picking we can reduce the delivery quantity and make the partial delivery.
But for example I have the sales order of quantity 5 and I make the delivery with refernce of same Sales order so my delivery quantity comes 5 and now if I make the quantity 7 instead of 5 in delivery note only and do the picking of 7 quantity yet system is allowing me then PGI is also possible. It means I delivering excess good than the ordered quantity. Which should not happen to make the cycle full proof.
I dont what setting is required to avoid this major error. please Gurus Reply soon.
regards,
VojasHi,
Use t-code 0VLP, select your item category which u determining in delivery >>> Go to details>>>in fron of Min/Max Qty put option B
Check minimum qty --- B (Situation rejected with an error message)
Check overdelivery --- B (Situation rejected with an error message).
When user try to change qty,system will give error.
Kapil
Edited by: Kapildev Farakte on Dec 28, 2009 10:33 AM -
How to look as to who has deleted the Delivery note
Hi
I have a issue from one of my customers who mentioned in his problem that he needs to find out as to who has deleted a Delivery note. He has mentioned the Delivery note number.
I have tried looking at SM21 & tables CDHDR and CDPOS but I could not find. I tried to simulate the similar issue in my development environment by deleting one of the deliveries and checking in Transaction SM21if it displays my name, but it did not.
Please help me in this issue or at least let me know how to approach this problem.
ThanksHi,
You can find the Information from the CDHDR table
Goto the table in SE16 and ehter the details for the table like
OBJECT CLASS As LIEFERUNG
OBJECT ID As DELIVERY DOCUMENT NUMBER ( It should be 10 digits)
Now execute.
It will all the information on who deleted.
regards,
santosh -
How to create a pop up window while creation of the delivery note.
Hello Experts
How to create a pop up window while creation of the delivery note.
As soon as we go in to delivery note creation screen in VL01N, immediately a pop up screen should be displayed on the screen containing the following details,
For e.g.
Str. Loc Qty UOM
DE01 100 KG
DE99 50 KGDear all,
i m having two document numbers for invoic of same types such as output type print program and smartform.
biut the issue is im getting print preview for one invoic and for another invoic i m not getting any print preview.
Directly the cursor comes to initial stage of vf03.
suggest what to do
Thanks and regarnds
ravi -
Passing field info from PR to PO and to the Delivery note
Hi!
I'm adding custom fields in Purchase requistion , purchase Order and delivery Note.
This custom field information has to be passed from requisition to the purchase Order and also to the delivery Note.
I need Help in doing this.
thanks,
ShubhaHi!
I used the MM06E005 to create and populate the custom fields for PO.
Similary i used MEREQ001 to create and populate the custom fields for PR.
All I need is .. When I go ME21N transaction. Click on document overview select PR and that PR i drag and drop into the shopping cart. When i do that the values from PR should copy into PO.
Thanks
Shubha -
How to deactivate "Delivery Note" field in MIGO?
Hi,
We are using 103 & 105 GR for inwarding materials.
There is a requirement that the "Delivery Note" entered in 103 should not be changed in 105.
Is it possible to disallow modifying this field for 105 movement alone?
Please guide.
Thanks & Regards,
SivaIt is not possible becuse the delivery note field is at header level so you can not make required for one Mtype and optional for other.
-
How to put footer in the Delivery note sap script form.
Hi All,
i am new to SAP SCRIPT , can any one guide us how to Create a footer in the Delivery note sap script.
I need to put some message if the stock of the material is "0"(zero).
can anyone tell me the process to do this.
Thanks
Channappa SajjanarHi,
U create a window in script (Footer), and in the Driver program call this window at last..
eg:
create a window in script and call it at the end in the layout..
/E FOOTER
P1 'Write Required text what u want to display;.
now in print program, after printing all the line items in ur internal table call the FM write_form to print the footer...
LOOP AT itab.
call function 'WRITE_FORM'
exporting
window = 'MAIN'
exceptions
others = 1.
endloop.
now call, FM write_form to print the footer
IF stock EQ 0.
call function 'WRITE_FORM'
exporting
window = 'FOOTER'
element = 'FOOTER'
exceptions
others = 1.
endif.
Hope it helps!!
Rgds,
Pavan -
Hi, all
The Document in oinv and inv1 with DocEntry 18 is exist,
ItemCode have not binding with batch or series,
i want create the Delivery Notes, code C#:
SAPbobsCOM.Documents dShipment =
(SAPbobsCOM.Documents)Sbo.Instance.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDeliveryNotes);
dShipment.DocObjectCode = SAPbobsCOM.BoObjectTypes.oDeliveryNotes;
dShipment.DocDate = DateTime.Now;
dShipment.DocDueDate = DateTime.Now;
dShipment.Comments = "";
dShipment.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO;
dShipment.DocTotal = 100000.00;
dShipment.CardCode = "ÂÅÑÊÎÐ";
dShipment.CardName = "";
dShipment.Lines.ItemCode = "FCA 3430";
dShipment.Lines.Quantity = 1.0;
dShipment.Lines.Price = 100000.00;
dShipment.Lines.BaseType = 13;
dShipment.Lines.BaseEntry = 18;
dShipment.Lines.BaseLine = 0;
int nRet = dShipment.Add();
if(nRet != 0)
// error : , 'Error (-1004) encountered.'
Delivery Notes don't createdHi Gennadiy,
I think the Delivery note is already closed. I did your test in my SBO and got the same error. Go into SBO and test if you can load that delivery note for that customer into an invoice.
Hope it helps,
Adele -
Calcuation the BOX qty by the Delivery Note item level .
Dear all
I have face a problem in the delivery notes pack function
for example
DN =20001 , have 2 item,
item A , qty = 10 pcs
Item B, qty = 20 pcs
when to do the DN pack, item A 10 pcs put into 2 box,
item B , 20 pcs put into 4 box,
in the DN header , " LIKP-ANZPK " can show the total box qty = 6.
But I can't found the total item box in DN item level .
Because we need print the subtotal box qty in each item level .
Does anyone have experience to solve this issue ?
Thanks.Check by passing Delivery number (VBELN) and Delivery item (POSNR) to table VEPO and fetch VEMNG (Base Quantity Packed in the Handling Unit Item).
-
Make Delivery note mandatory in MIGO
Hi Friends,
My client want to make mandatory for Delivery note field in the Goods reciept in MIGO. can you please explain how to do this?Hi K.Prasanna,
Gothrough the following setting ,
SPRO-->Materials Management -->Inventory management > Settings for Enjoy Transactions> Field selection for MIGO
Input Required Disappear Hide HILI
Delivery Note X
Then try to Create GRN.......
Thanks and regards.
R.Ramanarao -
Licence issue in the delivery not in sales order
Dear SD Experts,
I am facing one differnt issue please check this if you have faced any time.
In sales order licence is redtermined perfectly with having any problems for Four line items
In the delivery also created 4 lines but if we check in the license log 2 new line items added and not triggerd ... in this case how we can sort out this issue, please tell me.
This screen shot from delivery document level from Export licence log
I assume while creating delivery document with packing for one material batches segrigated
And in delivery XYZ Material batches like below given .....Batch 123,456
so due to batch problem i am getting this issue.
I assume this.but batches are not expired here ....why this legal issue is raising hereDear Santosh Kumar
Please Find below error in we02 for IDOC
Item 90002 Cant copied due to legal control
Item 90001 Cant copied due to legal control
Message no VL400
Please any one could you help me
I have checked one link in this they have mentioned if export licence data problem is there not able to create delivery but in my case delivery done but IDOC issue is there.
Allready in copy control 101 Routine maintained.
Please check this screen shot
Maybe you are looking for
-
New Folder Redirection Group Policy is not working
Recently installed a new server on an older network: Old network server: SBS 2003 New network server: Server 2012 STD The network is working well and all computers are able to communicate with each other. I have already mapped a few network drives to
-
How to import videos from iPhone 4 to PC?
I'm trying to get a video that I recorded and edited with my iPhone 4 and iMovie, on my PC so I can share it with others. It won't email because the file size is too big (but the video is only 1:20...) and I uploaded it to YouTube but they removed th
-
Unterschiedliche Appstores in-App Käufe
Angenommen, ich habe z.B. im deutschen App-Store eine App geladen, und möchte in-App in besagter App tätigen. Können die in-App Käufe auch von einem anderen (z.B. schweizer) App-Store getätigt werden? Oder immer nur im respektiven App-Store?
-
!!URGENT!! Skype traffic bypassing Proxy and going...
Hi Team, We are running Websense WCG/Microsoft ISA proxy in our environmenet , Suddently few days back Skype is stop working for both ISA and Websense users and during the troubleshooting I have observed Skype is not taking proxy settings and sendin
-
I have a blackberry bold 9930 and had a serious issue . I downloaded the latest code ( V7.1.0.41 ) from Blackberry after it asked me to on my tel with a pop up msg on my tel . BIG mistake as it corrupts the OS . I had to go to Blackberry.com and relo