Before save FI document , how to know FI document number(external number)

Hello everyone.
I need some help.
I face problem regarding system not update document number in u201C XREF3u201D field when post LIV invoice (Tr. Code MIRO).
SAP introduce note 618918 and note advice to use FI substitution and User exit by use function u201CNUMBER_GET_INFOu201D to get FI document
But our system designed material document same as FI document for LIV invoice that we set FI document to be external number. Once the user exit is executed, it cannot find FI document number, the value that user exit can get that it is u201C0000000000u201D.
how do i know FI document number before real posting ?
or Is there any function can get MM document number or
is there any function help ?
please advice.

Hi!
I would suggest to put a breakpoint in FM NUMBER_GET_NEXT.
There you can debug and see the parameters that this FM is receiving.
Hope it helps.
Esteban

Similar Messages

  • How to know the project number through milestone number ?

    Hi Expert,
    How to know the project number through milestone number ?
    BR / Shubin

    Hi,
    I am not sure if there is any standard report which will have Milestone in the selection screen, before executing the report. However you can give a range of projects in CN53N/CN53 and check which milestones are associated with which project.
    Best Regards,
    Gokul

  • HT3939 HOw to know iphone model number if iphone is dead & its back cover was broken...

    HOw to know iphone model number if iphone is dead & its back cover was broken...

    contact apple.

  • I know the personal number. How to know the address number on ADR* tables ?

    Hello,
    I know the personal number. How to know the address number on ADR* tables ?
    I need some information from ADR2 and ADR6 and I know the personal number (on PA30 transaction ).
    There's some MF or we can do it by some table ?
    Tks.

    Hi
    You can get the user name from PA0002 passing personal number.
    If you know user name you can go to USR21 table, enter login name and get  ADDRNUMBER value.
    Regards
    Yossi Rozenberg

  • Arbitrary Number Generated before Sales Order Document number is Generated

    I want to know which is the arbitrary number generated before the sales Order Document number is created. In which table the arbitrary number is stored?
    The Exit which triggers the arbitrary number in the transaction VA01?

    Hi
    You get the Arbitrary number throug the FM NUMBER_GET_NEXT.
    interne Nummernvergabe
            data: da_rc like inri-returncode.
            call function 'NUMBER_GET_NEXT'
              exporting
                nr_range_nr = da_numki
                object      = 'RV_BELEG'
              importing
                returncode  = da_rc
                number      = vbak-vbeln.
    And regarding userexit, there is
    perform userexit_number_range using da_numki statement in include MV45AF0B_BELEG_SICHERN.
    Regards
    Raj

  • How to know the part number of a cisco device

    Hi Guys,
    We often feel the need to know the part number of a line card and we use the show diag command. To find out the exact part number of a device check out the below article. Its really a very useful tip.
    http://knowurtech.com/cisco/finding_part_number_of_cisco_devices.html
    Best Regards
    Dinesh

    Hi,
    Thanks a lot. That was useful info.
    Best Regards
    Dinesh

  • Hello, how to know my serial number without CD (lost), and without having registred my products before ?

    Hello,
    All is in the tittle... I want to get my serial number but I haven't any CD, and I forget to register my CSuite before. It does'nt exist phone assitance about this. How can I do ?
    Could you help me, please ?

    Contact Customer Care
    Mylenium

  • How to know the port number to which the server process is listening

    I have created oracle 10g Release 1 database(orcl) in Windows Xp Professional edition through DBCA . I also created one more database(sample) manually .
    The ORCL server process listens to port no 1521 and
    SAMPLE server process listens to port no 1522
    Once I start the OracleServiceORCL (Service for orcl) from services.msc and check the listener status it displays
    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    But when I start OracleServiceSAMPLE (Service for sample) from services.exe and check the listener status there is no change . Only when i start the instance the dynamic registration takes place with port no 1521 .
    There is no entry for listener parameter in init.ora file . My question is how is the service ORCL able to get itself registered with the listener even before the instance is up ?
    And how can i know which port no is linked with which server process?
    Also if we provide a different port number(other than 1521 say 1522) in tnsnames.ora for a service and consider the listener is listening to both 1521 and 1522 . Now consider that port number 1521 is free . In this case to which port number will the service be listening to ?
    The listener file looks like this
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = D:\oracle\product\10.1.0\Db_2)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1522))
    The tnsnames file has the following entry
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1522))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    SAMPLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = irobo)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    )

    Service "orcl" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...[coe]
    The status tells you the instance is up. Starting the service often means the instance gets started also, but whatever "often" means, "READY" means "The instance is up, running and taking callers".
    Your statement that "ORCL [is] able to get itself registered with the listener even before the instance is up" is therefore factually incorrect: you started the service, that started the instance. The instance is up and running. Instances that aren't running don't exist. Things which don't exist don't register themselves. Things which HAVE registered themselves therefore do exist.. and if they say they are "ready", it means they are completely, 100% up and running and behaving quite normally.
    I have not set LOCAL_LISTENER initialization parameter.How is this happening ?
    You only need to set LOCAL_LISTENER if (a) you're not using TCP/IP, (b) you're not using port 1521. Otherwise, PMON is hard-coded to register itself with listeners running on port 1521 and using TCP/IP and you don't need to set LOCAL_LISTENER to achieve that.
    Server Processes do not listen. Listeners do (there's a clue in their name). Listeners receive a call to connect to an instance, they spawn a server process to handle your call, and then they connect you to that server process (or send a message back to you telling you how to contact the server process). Each server process of course receives communications from its dedicated client on a specific port (usually in the 50000+ range), and that port is chosen randomly by the listener when it's spawning it. It's a bit blurry and vague to call that server process port a port on which server processes "listen", however.
    If you're talking dedicated server, each client causes one new server process to be spawned, and there is a one-to-one correspondence between server processes and the port that server process happens to accept client communications on.
    If you're going to ask a listener to do listening duty on multiple ports, I'd first question your need to do that and I'd then point out that unless your client tnsnames.ora knows to talk on the second or subsequent port numbers, the listener is never actually going to make use of that second port.
    In either case, the port the listener listens on has nothing whatsoever to do with the port your client-to-server-process communication ends up taking place on.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to know an order number from the service contracts table

    Hi all,
    I want to know how the order entry module and service contracts module are connected. I mean to ask if a service is placed as an order for purchase how do i get the information about the order_id or order_number from the service contracts table.
    please point me in a direction so as to which tables i should be lookling at.
    Thanks.

    Try OKC_K_REL_OBJS table. The column JTOT_OBJECT1_CODE contains values 'OKX_ORDERHEADER' or 'OKX_ORDERLINE' and the column RTY_CODE = 'CONTRACTSERVICEORDER'. The column OBJECT1_ID1 should store order HEADER_ID or LINE_ID based on JTOT_OBJECT1_CODE value. Hope this helps.

  • How to know , when serial number in sales order is changed ?

    Hi All,
    I am changing Sales order line item serial number. So the equipment number and Serial number both are changed for that particular line item. But I am unable to know, what was the last Equipment number, and Last serial number for that material of sales order line item.
    Can any one please help me, how to determine the details about the date and time of change of serial number of a particular sales order line item ?

    I have already checked for VA02 -> Line item -> Environment ->changes.  It show changes related to fields available in VA02.
    But it is not showing changes related to Serial number change.
    I have also checked with table CDHDR, CDPOS. But the data related to change in serial number of SO line item is not captured in those tables also.
    Is there any other way to know?

  • How to know Patch number of the Report builder

    How to know the Patch number in Reports6i.
    I clicked on the HELP Menu option and further clicked on About option .Following was the information displayed...
    Report Builder 6.0.8.11.3
    ORACLE Server Release 8.0.6.0.0
    Oracle Procedure Builder 6.0.8.11.0
    Oracle ORACLE PL/SQL V8.0.6.0.0 - Production
    Oracle CORE Version 4.0.6.0.0 - Production
    Oracle Tools Integration Services 6.0.8.10.2
    Oracle Tools Common Area 6.0.5.32.1
    Oracle Toolkit 2 for Windows 32-bit platforms 6.0.5.35.0
    Resource Object Store 6.0.5.0.1
    Oracle Help 6.0.5.35.0
    Oracle Sqlmgr 6.0.8.11.3
    Oracle Query Builder 6.0.7.0.0 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 6.0.8.11.3
    Oracle Express 6.0.8.3.5
    Oracle XML Parser     1.0.2.1.0     Production
    Oracle Virtual Graphics System 6.0.5.35.0
    Oracle Image 6.0.5.34.0
    Oracle Multimedia Widget 6.0.5.34.0
    Oracle Tools GUI Utilities 6.0.5.35.0
    From the given information please suggest how to know the PATCH number...

    Boris,
    this is Patch 2. There's a matrix with releases (here 6.0.8.11.3) matched to patches. Have a look at Note 74145.1: http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=74145.1
    regards
    Rainer

  • Argentina official document number range (Changing of XBLNR)

    Hi All,
    Working on a typical requirement.
    As some of you are aware, the official document number (XBLNR) is getting generated by system based on branch, document type, document class and print character.
    Is there any posibility to change this value before the Accounting document is going to be created(after I press save)?
    Is there any userexits/BADIs/BTEs that will trigger before this official document number is going to be generated, so that I can change XBLNR value?
    Does anybody had encounter such situation? if so please let me know.
    Appreciate your help on this.
    Regards,
    Nanda.

    Please check below function modules (J_1A_OFF_NUMBER_GET, EXIT_SAPLV60B_001)and user exits. In following function module the official document number is generated. Normally you do not change this.
    Function module: J_1A_OFF_NUMBER_GET
    Text
    Official document numbering in Argentina
    Functionality
    This function module determines an Argentine official document number, it is using the input values to determine a numbering subobject for the numbering object J_1AOFFDOC and calls the numbering module NUMBER_GET_NEXT for this object and number range '01'.
    Parameters
    I_BUKRS
    I_SNR
    I_PRTCHR
    I_DOCCLS
    I_DATE
    E_DOCNR
    E_DATE
    E_DATE_ERROR
    E_XBLNR
    Exceptions
    CLASS_NOT_DEFINED
    INPUT_NOT_VALID
    PRTCHR_NOT_FILLED
    DETERM_NOT_POSSIBLE
    ERROR_NUMBER_GET
    Function Group
    J1AN
    J_1A_OFF_NUMBERING
    J_1AFONR
    Short text
    Printing of the last official documents numbers assigned
    Description
    List the last used official document numbers in the sytem for every combination of document class, branch and printing character who are self-issued (relevant for numbering) -for a certain period-
    Requirements
    Assignation of number ranges and numbering groups for self-issued document types
    The period of time where the report looks for the documents have an initial and a final date in the screen:
    u2022     The final date is obligatory field, because is the searching limit.
    u2022     The initial date field it is not obligatory.
    o     When it is not filled, the report looks for the documents in all the historical data until the final date, this can be high-time-consumer.
    o     When the first date is filled the report looks in the interval of time -recommended-.
    The resulting list present considerable changes depending on the date intenval definition
    Output
    The first list contains the following fields:
    u2022     Reference fields: describe where the document come from (document type FI, Delivery and Billing Type SD, Material Movement MM)
    u2022     KeyFields: Document Class, Branch and Printing Character.
    u2022     Result: Last official number or a legend when no document is found.
    The option for to make a variant of the list is available
    By the button SummaryLIST is possible to access a second list with the result information by the unique possible combinations of the KeyFields (Making omission of the reference fields)
    Access to a document: by clicking in the official number.
    Function module J_1A_OFF_NUMBER_CHECK
    No doc available
    'OFF_NUMBER_GLOBAL_NUMBERING'
    CALL FUNCTION 'OFF_NUMBER_GLOBAL_CHECK'
        EXPORTING
          i_fin1_param = fin1_param
          i_bkpf       = bkpf
        EXCEPTIONS
          OTHERS       = 0.
    Display/change official document numbers: transaction J1A6
    Next to substitution (tx OBBH) you can use Program LXVVFU01  User Exit AC Interface (Header Line).
    function module EXIT_SAPLV60B_001:
    FUNCTION EXIT_SAPLV60B_001.
    ""Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(XACCHD) LIKE  ACCHD STRUCTURE  ACCHD
    *"     VALUE(VBRK) LIKE  VBRK STRUCTURE  VBRK
    *"     VALUE(XACCIT) LIKE  ACCIT STRUCTURE  ACCIT
    *"     REFERENCE(DOC_NUMBER) LIKE  VBRK-VBELN OPTIONAL
    *"  EXPORTING
    *"     VALUE(XACCHD) LIKE  ACCHD STRUCTURE  ACCHD
    *"     VALUE(XACCIT) LIKE  ACCIT STRUCTURE  ACCIT
    *"  TABLES
    *"      CVBRP STRUCTURE  VBRPVB OPTIONAL
    *"      CKOMV STRUCTURE  KOMV
      INCLUDE ZXVVFU01.
    ENDFUNCTION.
    Include/ userexit ZXVVFU01 (sample code):
    *for Argentinean legal document numbering the field xblnr should be used for the legal document *number.
      if vbrk-vkorg = 'ARXX'.
        case vbrk-fkart.
          when 'F2  '.
    *factura
            XACCIT-BLART = 'RV'.
    *nota de credita
          when 'GAE '.
          XACCIT-BLART = 'DG'.
          when 'ZGAE'.
          XACCIT-BLART = 'DG'.
                         retorno
          when 'ZR70'.
          XACCIT-BLART = 'DG'.
    *nota de debito
          when 'ZLAE'.
            XACCIT-BLART = 'RV'.
          when 'LAE '.
            XACCIT-BLART = 'RV'.
          when others.
        endcase.
        xaccit-xblnr = xaccit-xblnr+0(16)
      endif.
    Via customizing (cross applications Cross-Application Components / General Application Functions /  Cross-Application Document Numbering ´/  Argentina  ) you can set up the document numbering.
    Hope this helps!

  • MIRO document number created

    All,
    I have a PR that was created in USD and adopted to a PO in EUR.  When I attempt to voucher an invoice against the PO in MIRO when I hit save no document number is created.  In MIRO the system is attempting to pay in EUR and have a green light for abalance of $0.oo before I hit save.  Not sure what to look for to resolve this issue. 
    This has worked in the past.  The only thing that changed is the Finance department was deleting exchange rate lines in ob08 ealrier this week.  However today I reset ob08 to reflect what it look like last week.  Please help.
    Thanks,
    Sean

    Hi
    Then this could be an SAP bug and you may need to refer relevant notes.
    Also please check whether any of the below notes suite your problem:
    Note 382797 - MIRO: Analysis and repair for missing follow-up documents
    Note 628468 - MIRO: Incomplete MM documents
    Note 743744 - MIRO/MR1M: FI follow-on documents or MM documents missing
    Regards

  • Sales document number based on pricing procedure ,sales area , customer pri

    Hi,
    where can i get saler document number based on pricing procedure ,sales area , customer pricing procedure and document pricing procedure.
    please tell me the table name.
    Thanks
    Edited by: pandu123 on Jun 16, 2011 8:22 PM

    I never heard of this requirement before, pulling sales document number based on pricing procedure based on customer pricing proc + document pricing procedure +sales area. These data are found in tables VBAK, T683,KNVV and TVAK. I dont think you can use ABAP query to join these table, check with an ABAP'er to develop a program for this requirement.
    Regards,

  • I just had my old operating system reinstalled, and i can't save pages documents, don't know how to install word

    i just had my old operating system reinstalled after a breakdown, and now i can't save pages documents. i don't know how to install word.

    What was your old system?
    What is your new System?
    What version of Pages?
    How did you install it?
    I don't know if you can see what's on my screen, but I definitely can't see what's on yours.
    To Install Word, buy it and follow the instructions.
    Peter

Maybe you are looking for