Urgent:- How to determine next MIGO Document Number to be genrated by syst.
HI all
Is there any method using which i can determine next migo (G.R.) document number (only number) to be genrated by system.
Regards
Deepak
use FM "NUMBER_GET_NEXT". and fill in the Object for GR.
award if it helps
Krishn
Similar Messages
-
How to get the Next Material Document Number
Hi,
Please let me know How to get the next Material Document Number using Functional Module,
Material Document number are in MSEG table.
Regards,
GaneshHi Ganesh,
if you want the next matrial number then first of all you have to define it as a number range in transaction snro.After creating the number range you have to define the interval.
now you can use your number range by calling the function module
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = '01' " here you have to give the number range number which you have defined in number range
object = 'ZPRODLOG' " Number Range
IMPORTING
number = wa_prod_error_log-seqnr " sequence number generated,in your case material number field
EXCEPTIONS
interval_not_found = 1
number_range_not_intern = 2
object_not_found = 3
quantity_is_0 = 4
quantity_is_not_1 = 5
interval_overflow = 6
buffer_overflow = 7
OTHERS = 8.
each and every time next number will get generated .
i hope this will help you.
Thanks,
Tanmaya -
How to find out Inquiry document number in sales quotation
Hi all
my client have requirement that while creating quotation with reference to inquiry number the system should copy inquiry number in sales quotation it should be save into any particulates field so base on that he can configure output determination can any one help me how to find out Inquiry document number in sales quotation and what are the config step i need to do
Thanks and regards
rajeshHi raj
Firstly , In Sales header data you can see the preceding document feild but i am not sure in which tab .
Secondly, As far as document flow is concerned go to VA22 and then you will get the document number of the quotation and at the top you will get one small icon which is document flow , but i am, not sure with the shortcut but just check with Shift +F2. then you can see the flow
Regards
Srinath -
How to get the final document number?
Hi,
How do I retrieve the document number of a document (e.g. delivery note) that is just added?
Currently, I use the following event listener:
[B1Listener(BoEventTypes.et_FORM_DATA_ADD, false)]
in which I retrieve the document number by reading out the text field on the form:
EditText text = (EditText)form.Items.Item("8").Specific;
string deliveryNoteNumber = text.Value;
This works perfect if only one person is adding documents. But if two persons are posting a document, they both see the same (temporary) document number in the form while entering the data. The latest person who finalizes his document, will get another number than the one that was displayed in the form (because the first person already used that number). So, how can I retrieve the number of a document that is just finalized?
Thank you very much for your help.
Regards,
Pieter VerhaegheYou can use the "ObjectKey" property of the BusinessObjectInfo object returned by the form_data_add.
Catcth the event with BeforeAction = false - after the add event has successfully happened. Then you will see the ObjectKey property of the BusinessObjectInfo object will have an XML string in it. Inside that XML you can find the DocEntry of the newly added document, you will just need to parse it properly! -
How to see the DMS document number in PO / PR?
Dear experts,
I am using DMS. I have created a document in DMS and I have linked it to the PR & PO line items. Till it is fine.
But I am not able to find out this document in PR / PO. Can some one help me how can I find the document number in PR / PO??
Thanks in advance.
Regards,
PraveenIn the ME23N screen , there is icon which likes a pin on paper between the Item over screen and the Item screen . If you click this icon , a new window with all the DMS documents linked to the PO would appear.
This is in the same line of the delete , lock , copy etc ..sequence .
-Hari. -
Posting MIRO with reference to MIGO document number
Hi,
Is there any way of posting a vendor invoice in MIRO, taking MIGO document number as the reference instead of PO or Delivery Note reference?
MuruHi,
In MIGO you mention the delivery note in the header part.
There is a drop down in MIRO transaction where we enter PO number, please check and you will find the "Delivery Note" option in the drop down list.
you can do the MIRO with reference to this Delivery Note number from this option.
(Just make sure, that you have selected the "GR based IR" indicator in the PO line item.)
Doiong MIRO with reference to material document number of MIGO is not possible in standatd SAP.
Regards,
Gaurav -
How to findout the clearning document number based on the reference
Hi all
we need to findout the clearning document number based on the reference number in financial transaction code.
basically we know how to retrieve the data from table level using BKPF without non primary key as XBLNR but
we want to know is this any function module to retrieve the document number based on the reference number like XBLNR.
Please confirm.
Thanks
K.Gunasekaryou can get it from BSAD too. but again its not a primary key
-
How to populate the sales document number in FD10N or FBL5N report
Hi Gurus,
In the reports FBL5N and FD10N i am able to see the Billing document field(VBELN) populated with the number but The sales document number (AUBEL) is not populated with the number.
How to get this number updated to the FBL5N or FD10N report.
Thanks in advance.Hai
Goto Settings Special Fields and add the required fields and save and come back and exceute again.
Regards
Raghavendra.M
SAP-Practice -
How to determine if a document was duplicated
Hi everyone
I recieved a support call from one of our customers they claimed that there was some kind of error after the system hanged for 20 mins (reasons unknown so far),after SBO was responsive again, they noticed a duplicated document (A/R Invoice) but with different document number,i.e docnum=1000 and 1001, the same rows, same amounts,costumer, etc...
I decided to run a simple query to determine wheter it was in fact a system error or maybe the user clicked twice while the system was iresponsive triggering a second transaction to be posted.
"select T0.docnum,T0.doctime from oinv T0 where T0.DocNum = 'somedocnum' or T0.docnum='Nextdocnum')" .
Unfortunately the returned information is not very precise since it only shows the min it was created and i was expecting a second o millisecond kind of data but it showed that the documents where created at the same time (minute).
I would like to know if there is another way (more accurate) to determine what happened? before i present the issue to support desk,any idea or suggestion is highly appreciated.
Info:
SBO 2007A pl 15 (migrating soon to highest patch)
Windows 2003 Server R2 Enterprise Edition
Thanx in advance
AleyHi,
Can you please check whether you can getting any result from the Select query in Note No. [1241506|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1241506] ?
Regards,
Jitin
SAP Business One Forum Team -
How to get a Reversal document number from Original Document Number ?
Hi,
Say I have a Original Document number. This document has been reversed.
I am using table BSEG. Original Document Number for any Reversal Document is stored in field "BSEG-REBZG"
My query is that now I have the Original Document Number. How can I get the Reversal Document from this Original Document number ??
OR in simple words, Is there any possible way to find out if my original document has been reversed ?
I need help to write a select query i.e the tables and fields.
Please help.
Thanks.Hello,
Check the fields:
BKPF-XREVERSAL: Reversal Indicator (1: Reversed Document, 2: Reversal Document)
BKPF-STBLG: Reverse Document Number.
BR,
Suhas -
I have deleted a sales order,how to retreve the same document number
Hai,
I have deleted the sales order,so that document number is out.When i craete the next order will i get the same number which i have already deleted.
I want the same number again,for that what should i do...
I dont want that number be missed,the reason is there should be a flow in number,with out missing some numbers in between.
Thx
Venu
Edited by: venugopal on Aug 6, 2008 9:12 AMDear Venu
Yes this is possible but should not hand over the responsibility to end users.
B4 implementing this in production, please test a document and proceed.
Go to VOV8, select your order type and execute. There see what numeric value is maintained against the field "No.range int.assgt". Now go to VN01, [click on Status] tab and go to that number. On your right, you can see the last generated sale order number with editable option. You can change it.
For example, if your last created sale order reference is 805, you will see this 805 in the above area. Change it to 804 and save. Now if you create a new order, the reference of that particular sale order will again be 805.
But as I already mentioned, each and every time, you need to go and change this area which is not recommended.
thanks
G. Lakshmipathi -
How to get the Material-Document-Number wie the delivery-Number+Position???
Hi,
we want to connect mseg and likp+lips.
But therefore we need the Material-Document-number concerning this
delivery and in likp+lips isn't a Material-Document-Number!
Could anybody help me to connect likp+lips with mseg!ok, NICE!!! But how should I get with these information a unique Material-Document-Number for a delivery+deliveryposition?
-
How to get intercompany billing document number
Hi,
I have PO number , Delivery number for a given shipping plant and receiving plant.I want to get the intercompany billing document number.Is there any method to fetch.Can anyone suggest me how to proceed with this.Intercompany billing document number can be obtained from VBRK-vbeln for type that is VBRK-fkart = iv .But how to relate PO number and delivery number with this.
Regards,
Sowmya.Hi Friend,
Yes you can check though billing type IV.
Gereally in inter company billing, we generally create a customer in the receiving company. Try to know the name of the customer (generally it is one and fixed) from functional consultant, and pass to bill to party, it will help to reduce lot data.
I thnik delivery has been created through refrence of PO.
You can get PO and delivery number if it is stored in the text of Billing doc.
Consult with functional guys and tell them to store these numbers.
Regards
Krishnendu Laha -
How to get an accounting document number from an Invoice number
Dear All,
I have a requirement where I need to know which accounting document is created against a particular invoice. As we know that in the document flow of invoice we can see the Accounting document also. But to develop the report I need to pick the accounting document by the invoice document. Please suggest me a table where this value is getting stored. I already tried VBFA and VBKD but nowhere I am getting such information from which I can pick a accounting document number for a particular invoice.
Please give me your suggestions.
Regards,
SanjuDear,
For Billing document create no. range by Tcode-VN01 and assign it to in Tcode-VOFA
For Accounting document create no. range by Tcode-FBN1 and activate the External Field and assing it to in Tcode- OBA7
but Assign the same no. range to both Document types for exp 1000000 to 1999999.
Regards
AJIT K SINGH
HAPPY TO HELP U -
How to get the change document Number.
Hi,
We have a scenario where the any customer master changes need to be send to the agent. I thought of using CDHDR,CDPOS.I've checked the FMS CHANGEDOCUMENT_READ and position header FMS too.even for these we need to provide the object class.
But for them we need to have the document number and object class. They can be changed from any transactions. We have many Z transactions through which he can change the customer master data too,but finally master tables only get updated. Is there any FM to find the document numbers.
Thanks,
Bharathi.Hi Bharti,
In such situation, you can create the event based on the CDHDR table entries. In fact, based on the object ID and object class, the recent change document can be picked up. If standard change object does not work, a Z change document can be created. This practice can help in picking the change in selected fields as the master tables can be updated in many fields which are not relevant for the requirement.
Do let me know in case you need more help on it.
Thanks,
Jyoti
Maybe you are looking for
-
My old email that using register for apple ID cannot access/check any mail because that domain already deactivate. So I changed my appleID and primary email and now I can not access iCloud with iOS7. ICloud shows my old appleID but I can't change it.
-
Home sharing is not working on either of 2 computers.
I have uploaded the new iTunes on both computers. Both running Windows 7. Both on same network. Logged in to home sharing with same id. Turned off both computers, etc. I have read all the previous postings, so I do not need the link to setting up
-
How to change the order of pictures on Apple TV
The pictures shown on the TV are not in date/time or file number order. How do you change the order of the pictures on the screen?
-
Hi everyone! I have the following problem: My application makes it possible to watch the movement of a few balls simultaniously. The problem is that every ball updates the panel after it draws itself. This makes great mess when the balls are more tha
-
Hi, I need to customize an SAP defined smartform (paycheck). I copied the smartform with Z_ and assigned it to local object. When i activate it, it throws an error saying "The type "/1PYXXFO/SAP_PAYSLIP_US" is unknown. I haven't changed anything.