Assignment from source document number in the query to archived document

Dear all,
we scan all original documents and store them in an optical archive like IXOS. This archive is connected to our ERP-system. An on ERP with the source document number. When I pick up the financial document I have the possibility to open the scanned original document.
In BI we use the cost center cube. One of the characteristics in the cube is the source document number. Now we have the request to jump direct from the source document number in the query to the archived original document.
Is there a possibility to define an assignment from the source document number in the query to the archived original document.
Best regards
Juergen

Thnaks Oscar and Ganesh for your interest.
FYI,my infoset is created based on bill doc and item number which is available in both the ODS.
Here,for every document in Billing ODS,there are more number of documnets in Condition ODS,so the bill qty is getting added according to the numvber of records in Condition ODS.
Eg.Billing ODS: Doc Num:100012, Qty = 8.if 10 records are ther in condition ODS,then in the infoset my QTY becomes,
Doc Num:100012, Qty = 80.
So in the query i divided it by number of records to get the qty and is coming correctly for documnet wise report.
Problem comes when i remove documnet from the report and drilldown to higher level,say material,then it is calculated wrongly.
Your suggestions plz..
Regards
Sudhakar

Similar Messages

  • How to get the screen number in the change/display FI Document screen?

    Hi guys,
    I was just wondering if there is a way, in the abap dictionary or otherwise, for me to detect the assigned screen number in the FI Change/Display Document screen (FB02/FB03)?
    I ask this because the screen number changes depending on the line item's posting key and G/L Account from my observation.
    Hope to hear from all of you soon.
    Thank you all and good day.

    Yes you can get by the SHDB transaction
    GO to SHDB. click on the new recording... give the name of the recording as ZFB02.. enter the tcode FI02 and press start recording..
    Put the Document and open all required screens.. you need to put the values in the required fields to be caputred in the recording.
    Come back and save.
    Now, if you are planning to make a BDC to change the FI document than you can use the BAPI BAPI_ACC_DOCUMENT_CHANGE.
    Regards,
    Naimesh Patel

  • Creating select option to get wadat from likp to use in the query

    Hi People,
    Urgent Help. I have to make a select-option in my selection screen for date to use the field wadat from likp. Now the after the following code what should I be doing:
    Selection-Screen BEGIN OF BLOCK b with frame Title t1.
    PARAMETERS:
    SELECT-OPTIONS: p_date for likp-wadat.
    SELECTION-SCREEN END OF BLOCK b.
    INITIALIZATION.
    AT SELECTION-SCREEN.
    START-OF-SELECTION.
    <b>SELECT avbeln alfdat awadat akunnr bwerks bspart INTO
    CORRESPONDING FIELDS OF TABLE typ_tab FROM likp as a INNER JOIN lips as b on avbeln = bvbeln where wadat IN p_dat.</b>
    On the selection screen there will be two boxes for the from -to date...How does it work? If I have to make it only for one date or for range of dates. Please help asap. I have to use this value in a report to pull out delivery document details from likp and lips through the query mentioned above.
    Thanks in advance.
    AM

    Hey Nishanth,
    Thanks for the reply. I made the changes as suggested but when I am entering a date which does not exist in the table, the screen does nothing. Can you suggest something for that.
    Here is my code:
    tables: likp.
    SELECTION-SCREEN BEGIN OF BLOCK b_0 WITH FRAME TITLE date.
    SELECT-OPTIONS p_date FOR likp-wadat NO-EXTENSION.
    PARAMETERS p_glAccNo(80) TYPE C.
    SELECTION-SCREEN END OF BLOCK b_0.
    DATA: BEGIN OF typ_likp occurs 0,
                     vbeln LIKE likp-vbeln, " Bill Of Lading Number
                     lfdat LIKE likp-lfdat,
                     wadat LIKE likp-wadat,
          END OF typ_likp.
    AT SELECTION-SCREEN ON p_date.
    if p_date[] is NOT INITIAL.
    SELECT vbeln wadat INTO TABLE typ_likp FROM LIKP WHERE wadat IN p_date.
    IF sy-subrc <> 0.
    WRITE: / 'No Values for this date.'.
    Exit.
    ENDIF.
    ELSE.
    WRITE: 'NO ENTRIES HAVE BEEN MADE'.
    ENDIF.
    START-OF-SELECTION.
    SELECT vbeln lfdat wadat INTO TABLE typ_likp fROM LIKP where
    wadat in p_date.
    LOOP AT typ_likp.
    Write: / typ_likp-vbeln, typ_likp-lfdat, typ_likp-wadat,
           / 'I am here.'.
    ENDLOOP.
    Please reply soon. I need to finish this at the earliest.
    Thanks for your help, regards,
    AM

  • Account Document Number Against the Purchase Order No.

    Hi,
    I have 2 queries in my report...
    1..i want Account Document Number Against the Purchase Order No.
    2..and Account Document Number Against the Invoice No.
    Note:.. Account Document Number have the 55... series. foe ex. 5500017019...
    Plz let me know in which table i can get it...
    Thanks...

    Hello Prince,
    To find the GR no. against the FI doc number the tables involved will be BKPF, RSEG, EKBE.
    Plz see the algorithm below for details:
    1. Select the A/C'ing docno. from BKPF. For the FI docs selected, get the incoming invoice details from RSEG.
    RSEG-BELNR = BKPF-AWKEY+0(10)
    RSEG-GJAHR = BKPF-AWKEY+10(4)
    Please note you can restrict the FI docs selections by using BKPF-AWTYP = 'RMRP'.
    2. From RSEG you get the PO number (RSEG-EBELN) & then go to the PO History Table EKBE to get the GR number (EKBE-BELNR).
    EKBE-EBELN = RSEG-EBELN
    EKBE-EBELP = RSEG-EBELP.
    Hope this is clear.
    BR,
    Suhas

  • Excise No. using  Accounting Document Number and the P.O. number

    Hi All ! In my GL report, I'm displaying the Accounting Document Number and the P.O. number.
    Now, the requirement is to display the excise no..
    Tried different tables in SE11 using J_1EXC for excise detials, but to no avail.
    And last which vendor to pick, Because vendors in P.O and BSEG differs.
    If I use the BSEG-BELNR I get a different vendor & If I use the P.O. no. in EKKO then also I get a different vendor.
    Please suggest.

    Hi,
    Actually the vendor in the accounting document and PO should match. If not look in table EKBE, It will have the accounting document or at least the invoice receipt against which accounting document would have been created. Check if the vendor number matches with the invoice receipt.
    Regarding the excise number I'm not sure what you mean, If you mean excise invoice number, you can look at the J_1IEXCDTL
    J_1IEXCHDR tables. You could check with FC on what basis the document is getting created to make out the relation ship. If it is vendor excise no etc. you can hit F1 help to find out the table etc.
    Hope it helps.
    Sujay

  • Incorrect assignment of cost estimate number to the material key

    Hi,
       While doing GR for a particular PO we are getting error msg that "Incorrect assignment of cost estimate number to the material key"
    First we thought that this error might be missing of standard prices for materials. Even though creation of standard prices has not solved the problem.Could you please explain me clearly
    1) what are the reasons for this error.
    2)what is the soltuion for this?
    Thanks in adavance
    regds
    ramachandra

    Hi,
    I assume that Material Ledger is active, isn't it?
    Message C+451 is usually caused if there are some entries in ML without any entry in the MM tables (MBEW, QBEW, EBEW).
    These inconsistencies can be identified with the help of program MLHELP_CHECK_MULTIPLE_CKMLHD. Correction can always and only be done by SAP Support. So if this report shows inconsistencies, you should create a message for component CO-PC-ACT.
    Regards,
    Antje

  • TRM: Put document number in the field

    I want to put the document number in the field of TRM. The user cannot enter the field. The System need to say what document will processed.
    I too need to put others two fields in a dynpro.
    It's possible?

    .

  • Controlling document number (belnr) is reflecting in accounting document as

    Hello
    Controlling document number (belnr) is reflecting in accounting document as refrence feld(xblnr).
    Fot this any configuration requied ..?
    Please guide me on this
    Thanks in advance.

    Hi Joseph,
    The change you noticed from 4.7 to ECC  6.0 is true
    In the ECC 6.0 you have to maintain the AF document type in "Internal Document Type", where as in 4.7EE we have maintained the same in "External Document Type"
    <i>Assign point if found usefull</i>
    Regards
    KM Naidu

  • How to Restrict printing the document using IRM for a Single Document?Allow printing for some documents and restrict the printing for particular documents in same document library?

    Can we able to Configure the IRM in Document Level in SharePoint Document libraries?
    The document library contains multiple document sets , Can we restrict the printing according to document sets? Allow printing for some documents and restrict the printing for particular documents in same document library
     Is this possible?Please suggest.

    Yes, that can be done. But note that all administrators will have the same right to print, so you need to make sure the users are not administrators. You can include a macro to disable printing, but if the users disable macro, they can print the documents.
    Hence, there is no foolproof way to prevent printing documents. If you still need a foolproof security, PDF format provides password based security (viewing doesn't require a password) that can be implemented to prevent the document from printing,
    which doesn't require any special scripts and is tough.
    You can have a look at the following links:
    http://msdn.microsoft.com/en-us/library/office/ms458245(v=office.14).aspx
    http://msgroups.net/microsoft.public.word.docmanagement/prevent-printing-of-docum/91353
    http://www.go4sharepoint.com/Forum/prevent-printing-saving-documents-10150.aspx
    The following link explains about the security features in PDF. This is for information purpose only and not for promotion of any products:
    http://www.pdflib.com/knowledge-base/pdf-security/
    Balaji Kundalam

  • SD document number to be same as FI document number

    Hi
    Is it possible to give the same SD document number as FI document number (Accounting document number). If possible please advise how can we configure that. At present due to error, some invoice were not posted to FI. In SD & FI the number is coming as sequence now. So there is a difference in document number.
    Anybody can help for the above URGENT issue ?
    Thanks…
    Joby

    Hi
    You cannot have two different documents with same number range. So they cannot have same document number
    Check the invoice not posted to FI and press release to accounting manually
    To avoid this in future, in the billing document maintain screen, check mark the option of automatic released to accounting
    Hope this helps
    Regards
    N Ganesh

  • We have only GL SAP document number. how to find Vendor clearing document by these GL Document number please suggest and suggest Tcode.

    We have only GL SAP document number. how to find Vendor clearing document by these GL Document number please suggest and suggest Tcode.

    Hi Mahesh,
    To display a document, proceed as follows:
    Tcode : FBL1N (Vendor Line Item Display)
    1-Select option's.
    2- List
    Regard's.
    Cem Ates

  • Infoset Query Wrong result after removing document number in the drilldown

    Hi Friends,
    I have 2 oDS,billing ODS and Condition ODS.I have created an infoset query based on these two ODS.
    From my Billing ODS i need QTY and from Condition ODS i need Value,Discount etc.
    Since there are more than one record in condition ods for each and every document of billin gods,i have divided the qty using number of records in the query.
    Im getting wrong qty if i run report based on customer or material,but if i drilldown based on document im getting the correct quanity.
    Can any one help me..
    Thanks & Regards
    Sudhakar

    Thnaks Oscar and Ganesh for your interest.
    FYI,my infoset is created based on bill doc and item number which is available in both the ODS.
    Here,for every document in Billing ODS,there are more number of documnets in Condition ODS,so the bill qty is getting added according to the numvber of records in Condition ODS.
    Eg.Billing ODS: Doc Num:100012, Qty = 8.if 10 records are ther in condition ODS,then in the infoset my QTY becomes,
    Doc Num:100012, Qty = 80.
    So in the query i divided it by number of records to get the qty and is coming correctly for documnet wise report.
    Problem comes when i remove documnet from the report and drilldown to higher level,say material,then it is calculated wrongly.
    Your suggestions plz..
    Regards
    Sudhakar

  • Resetting of FI document number during the same year

    Hi,
    Our permit for a computerized books of accounts using SAP has been issued by our Tax agency effective March 01, 2009.  Relative to this, we need to reset FI document number effective March 01, 2009.
    Our problem is we already used up document number from January 01, 2009-up to present.  Is resetting possible for the same year?
    Thanks for the help.

    Hi,
    SAP is not suggested these kind of activities, since it causes a inconsistancy in the database.
    A document in the database will identified with a unique document number, company code, and fiscal year. This is the basic logic.
    Eventhough there is a way to sort out this issue.
    For Ex: We will discuss about document number range interval 02, which is assigned to document type SA.(I think your fiscal year starts from 01.01.2009)
    in FBN1 transcation code, you will find the below intervals for the above said object.
    Obj    Year        From No.                 To number        Current Number  
    01     2007        1000000000     to     1999999999       1000007890
    01     2008        1000000000     to     1999999999       1000005463
    01     2009        1000000000     to     1999999999       1000004821
    Here you have to change the current number for the all the above intervals to 0, and then delete all the above intervals.
    Change current number---menu->interval->change numbermake 0 for the 02 object and save it and come back--again go to fbn1 and delete the objects
    Again create a number range interval for the same object with different series, as shown below
    Click on Add interval, and enter the following
    01     2009      7000000000      to      7999999999           (Any Different Series of numbers)
    save it and try to post the documents with document type SA.
    Prerequisites for the above solution:
    1) You need to complete all the transactions pertaining till the end of FEB with the old number series.
    2) Close the posting Periods for the company code upto FEB
    3) For all the number range objects use a new number series, which should not been used before for any other number range object.
    I think this will helps you a lot.
    Thanks,
    Srinu

  • Need help in highlighting the query text in document

    Hi, I am trying to load the files in the blob column and trying to create the text index on it.
    i need to query the blob column in the document table with a string, which needs to return the relevant documents with the query string highlighted with some color.
    Can you please help me with an example on the above.
    Thanks in advance.

    SCOTT@orcl_11gR2> -- table:
    SCOTT@orcl_11gR2> CREATE TABLE document_tab
      2    (document_col  BLOB)
      3  /
    Table created.
    SCOTT@orcl_11gR2> -- procedure to load documents:
    SCOTT@orcl_11gR2> CREATE OR REPLACE PROCEDURE load_document
      2    (p_dir  IN VARCHAR2,
      3       p_file IN VARCHAR2)
      4  AS
      5    v_blob       BLOB;
      6    v_bfile       BFILE;
      7  BEGIN
      8    INSERT INTO document_tab (document_col)
      9    VALUES (EMPTY_BLOB())
    10    RETURNING document_col INTO v_blob;
    11    v_bfile := BFILENAME (UPPER (p_dir), p_file);
    12    DBMS_LOB.FILEOPEN (v_bfile, DBMS_LOB.LOB_READONLY);
    13    DBMS_LOB.LOADFROMFILE (v_blob, v_bfile, DBMS_LOB.GETLENGTH (v_bfile));
    14    DBMS_LOB.FILECLOSE (v_bfile);
    15  END load_document;
    16  /
    Procedure created.
    SCOTT@orcl_11gR2> SHOW ERRORS
    No errors.
    SCOTT@orcl_11gR2> -- load documents (directory and files must be on server, not client):
    SCOTT@orcl_11gR2> CREATE OR REPLACE DIRECTORY my_dir AS 'c:\my_oracle_files'
      2  /
    Directory created.
    SCOTT@orcl_11gR2> BEGIN
      2    load_document ('my_dir', 'banana.pdf');
      3    load_document ('my_dir', 'english.doc');
      4    load_document ('my_dir', 'sample.txt');
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> -- confirm files were loaded:
    SCOTT@orcl_11gR2> SELECT DBMS_LOB.GETLENGTH (document_col)
      2  FROM   document_tab
      3  /
    DBMS_LOB.GETLENGTH(DOCUMENT_COL)
                              222824
                               22016
                                  60
    3 rows selected.
    SCOTT@orcl_11gR2> -- text index:
    SCOTT@orcl_11gR2> CREATE INDEX document_idx
      2  ON document_tab (document_col)
      3  INDEXTYPE IS CTXSYS.CONTEXT
      4  /
    Index created.
    SCOTT@orcl_11gR2> -- confirm files were indexed:
    SCOTT@orcl_11gR2> SELECT COUNT(*) FROM dr$document_idx$i
      2  /
      COUNT(*)
           319
    1 row selected.
    SCOTT@orcl_11gR2> -- function to return highlighted document:
    SCOTT@orcl_11gR2> CREATE OR REPLACE FUNCTION your_markup
      2    (p_index_name IN VARCHAR2,
      3       p_textkey    IN VARCHAR2,
      4       p_text_query IN VARCHAR2,
      5       p_plaintext  IN BOOLEAN  DEFAULT TRUE,
      6       p_tagset     IN VARCHAR2 DEFAULT 'HTML_DEFAULT',
      7       p_starttag   IN VARCHAR2 DEFAULT '*',
      8       p_endtag     IN VARCHAR2 DEFAULT '*',
      9       p_key_type   IN VARCHAR2 DEFAULT 'ROWID')
    10    RETURN          CLOB
    11  AS
    12    v_clob          CLOB;
    13  BEGIN
    14    CTX_DOC.SET_KEY_TYPE (p_key_type);
    15    CTX_DOC.MARKUP
    16        (index_name => p_index_name,
    17         textkey    => p_textkey,
    18         text_query => p_text_query,
    19         restab     => v_clob,
    20         plaintext  => p_plaintext,
    21         tagset     => p_tagset,
    22         starttag   => p_starttag,
    23         endtag     => p_endtag);
    24    RETURN v_clob;
    25  END your_markup;
    26  /
    Function created.
    SCOTT@orcl_11gR2> SHOW ERRORS
    No errors.
    SCOTT@orcl_11gR2> -- query that returns highlighted document:
    SCOTT@orcl_11gR2> VARIABLE string VARCHAR2(100)
    SCOTT@orcl_11gR2> EXEC :string := 'test AND demonstration'
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> SELECT your_markup ('document_idx', ROWID, :string)
      2           AS highlighted_text
      3  FROM   document_tab
      4  WHERE  CONTAINS (document_col, :string) > 0
      5  /HIGHLIGHTED_TEXT
    This is a test document for demonstration of highlighting.
    1 row selected.
    SCOTT@orcl_11gR2>

  • Unable to view the Check Number in the Vendor payment Clearing Document

    Hi
    I am involved in Technical Upgrade. It is from 4.6 to ECC6 EHP4.
    I have executed the Automatic Payment Program, and cleared (inter company )Vendor Open Items.
    At the time of providing the required parameters, I have also maintained the variant in which I have given the Check Lot number abd the Bank Id.
    But still when i am trying to view the check information in the claring document, system gives out message no vales exist.
    Can any one through some light on this issue.

    >
    vicky sai wrote:
    > Hi Experts,
    >
    > We are maintaining PAN Number in 0185 IT with subtype 02.
    >
    > We have the maintained singlefield PANID as table field ,output length:12, and Table p0185.
    >
    > What modifications should we do get the PAN Number in the payslip.
    >
    >
    >
    > Please advice,
    > Vi Sai.
    just check this note 1370082 it will solve ur problem..

Maybe you are looking for

  • Since installing iTunes 12 on Win 8 I can no longer download my podcasts.

    Since installing iTunes 12 I can no longer download podcasts. Can anyone help with this problem?

  • Exporting to Shutterfly problems

    I am trying to export an album to Shutterfly and for some reason that album is not showing up in Shutterfly. I did it three time already and each time waited for all of the pictures to export. I got a pop up box saying that the process was done succe

  • How to set Proxy in iMessage

    Hello I´m working with a VPN Server, cause of the university WIFI,. With my IPhone and my MacBook I can´t send Imessages via the VPN WIFI with a Proxy... Now my question: is it possible to set the proxy in Imessage cfg files, so I can use it ? Thanks

  • Error uninstalling iTunes

    When I try to open i Tunes i get an installation screen. This then leads to an error accessing the C:\Program Files\iTunes\iTunesHelper.Resources\iTunesHelper.dll. When you go to open this file you can't. Therefore I tried to uninstall i Tunes. The t

  • Linux RHES 4 update 3

    The installation of ebusiness suite is completed. Apache is running but when i want to go to the Rapidinstall site, i get a message "Connection was refused when attempting to contact." When i type echo $ORACLE_HOME i get nothing. I think it is someth