MM Report in AFS 6.0

Dear All,
I am in search of a report where i can see POs for which GR is done and IRs is pending.
The selection paramaters are not making any difference.
Are theses reports require any extra settings in AFS 6.0.
Our user wants GR Value, OPEN IR VALUE in the report.
Can anyone guide me on this.
Thanks and Regards
Shrinivas

Hi
Check in ME2N, ME2L,ME2M for the GR and IR value.
Check for the fields still to be delivered qty,still to be delivered value,still to be invoiced qty,still to be invoiced value.
Select the scope of list as ALV.
Reg
Raja

Similar Messages

  • AFS crash

    I have a MacBook Pro and a PowerMac G5 connected to the same local AirPort network. When I try to connect to the MacBook from the G5, via Personal File Sharing, all goes well.
    But if I try to do the reverse, connect to the G5 from the MacBook, all goes well until after the share is mounted and the icon appears on the MacBook's desktop. At this point, if I double-click the icon to open a window, I get a Disconnect error message.
    When I go back to the G5 to see what happened, I find that Personal File Sharing is now Off (as listed in the Sharing System Preferences pane) and that AFS has crashed (as listed in the Console logs).
    This happens repeatedly no matter what I try. [I also get messages about a "swizzle error" in the Console logs; I doubt it is related to this issue. But as I don't know what a swizzle error is, I thought I would mention it.]
    Any ideas as to what is going on or how to fix it (short of reinstalling the OS)?
    Power Mac G5   Mac OS X (10.4.8)  

    i'm having the same problem. i have a new imac 20" c2d, a powerbook(last rev) and an airport extreme network. all the latest updates and otherwise working fine, except my imac fan is loud ('nother issue). no security on airport network, no local firewall and appletalk off. i can mount the powerbook and copy files no problem. if i mount the imac from the powerbook, it mounts and then disconnnects when i tried to do anything with it. the logs only report an afs crash and not much more. not that i'm that good decoding a log file. i'll keep digging and post what i find.

  • Size Conversion

    Hello,
    I need some information about size converting in the business warehouse.
    We have a problem with our current solution and I was wondering if there is a mechanism in a newer release of AFS which handles the conversion of sizes (e.g. shoe size in different countries).
    Best Regards

    Hello Waldemar,
    Please see the following links
    [AFS Conversion|http://help.sap.com/saphelp_nw70/helpdata/EN/4c/9559403db70272e10000000a155106/content.htm]
    [Characteristics - AFS Conversion |http://help.sap.com/saphelp_nw70/helpdata/EN/49/16443c4a086a37e10000000a114084/content.htm]and many more for different countries
    Please see this
    OSS Number: 727046 Reporting for AFS Conversion values
    Thanks
    Chandran

  • AFS sale order - arun report

    Hi!
    I need report similar to /AFS/MD04  AFS stock req list but for  all material of one sale order on onew screen.
    User want to see statuses for allpositions of  order at one time  to make decision about delivery.
    any standart report?
    Andrey Garshin.

    Hi Andrey,
    I don't see a benefit from seeing statuses in a sales order.
    /AFS/MD04 is a stock/requirements list for the MRP conroller.
    It does a complete different calculation than ARUN or ATP.
    It will not help you to determine what can delivered.
    You can have orders in B status and still be able to allocate and deliver it.
    So explain your business requirements. What do you want to see?
    Best Regards,
    Markus
    Edited by: Markus Doerr on Jun 8, 2010 10:16 AM

  • How to display Base values (AFS Grid) in the Report

    Hi Friends,
    We ar using AFS, in that we have Grid value like 0003A34
    (8 chars: first 4 chars colour (0003), A represents Cup, 34 represents size of the Material), in that we can able to store the Base values like for International or US,
    and for size 34 equivalent to 70 like wise.
    In our reports we are using ALV grids, and showing the existing grid value like 0003A34, but we need to show Base value list like INTL or US etc, based on the region / area, the report should show the equivalent grid value like 0003A70 etc.
    Please help me how to do this.
    Thanks
    Shankar

    Dear Shankar;
    I think you will be able to achieve what you try to do using grid conversion in AFS. Base Grid values can be converted to other values based on the customer, vendor or material depending on your requirement. This need to be configured in IMG and then the ID must be assigned in the Vendor or the Material Master as per the requirement.
    This is somewhat complex config. Please contact me if you need any more clarifications ([email protected])
    Azwath Mohammad
    http://www.sapafs.net

  • Grid value( Field J_3ASIZE ) in the report MB5T in SAP-AFS

    Hi
    How can i bring the Grid value ( Field J_3ASIZE ) in the report MB5T for particular STO in SAP-AFS industry solution.
    I tried in the layout but there are no such fields to bring in !!
    Help me out swiftly.
    cheers
    Maruthi
    Edited by: MARUTHI RAM on Apr 15, 2009 1:53 AM

    Dear Maruthi,
    MB5T will not give grid details but ME2W will give grid details. Please enable AFS details for the scope of list in customizing  for ME2W scope of lost
    MM --> ME2W
    You can create consolidated report using the 2 reports MB5T and Me2W. MB5T give PO with in transit stock and ME2W will give PO with grid details.
    I hope this clarifies.
    Regards,
    Rakesh

  • AFS-BW Report on Multi Store Orders (MSO)

    Hi Everyone,
    We have a Sales Doc Type "ZMSO" Multi Store Order and when exploded
    creates many "ZSSO" Single Store Orders.
    In my BW report i need to show all Unexploaded Multi Store Orders (ZMSO) Quantity and Value.
    But in my Sales Cubes i dont find Multi Store Orders, i can find Single Store Orders (ZSSO).
    I checked in VBAK and there are Multi Store Orders in this table, then why ONLY the documents with Type = ZMSO not extracted into BW.
    Have anyone had this issue ? Any reasons for why we cannot extract Multi Store Orders ?
    Thanks and Regards,
    Naveen Rao Kattela

    Hi Suman,
    follows the elementary fields and their corresponding in BW.
    Name
    Data Element
    No. of Characters
    Corresponding InfoObjects
    AFS: Color
    /AFS/BWEL_COLOR
    8
    0AF_COLOR
    AFS: Size
    /AFS/BWEL_SIZE
    8
    0AF_SIZE
    AFS: Country
    /AFS/BWEL_COUNTRY
    3
    0AF_COUN
    AFS: Stock Quality
    /AFS/BWEL_QUAL_STC
    3
    0AF_SQUAL
    AFS: Requirement Quality
    /AFS/BWEL_QUAL_REQ
    3
    0AF_RQUAL
    Hope this help you

  • Afs-standard report for allocation run

    hi,
    is there any standard report available for list of allocation run to sales order (afs).if so kindly provide the details.
    regards
    muthuraman.d

    Hi,
    Before running payroll in production , We need to validate the data what user updated in IT 2010, if any standerd report is there plz let me know
    sd

  • Replace Call transaction TCode: /AFS/MD04 Either Report or Function Module

    Hi,
    Is there any standard Function Module or Report that can replace the call transaction T-Code /AFS/MD04?
    Please help me out?
    Regards,
    Chanda.

    Hi,
       There is a function module     'ABAP4_CALL_TRANSACTION' to replace the call transaction  see and check it.
    Thanks & Regards,
    Raghunadh. K
    Moderator Message:Please stop responding to old threads, you're just pushing them up the list.
    Edited by: Suhas Saha on Jan 25, 2012 4:38 PM

  • Table for temporarily stock /requirement  for tocde /afs/mdo4

    Dear expart,
    I developed a zreport for display STO number, Production order number, operation etc.
    mainly I use here AFPO,AFRU, MSEG, MCHB & J_3ABDSI Table.
    My problem is, when I compare with Tcode /afs/md04 tab-temporarily stock /requirement  .
    for some MATNR
    data show properly.
    and some MATNR are blank  with message Last MRP run on 04.04.2011 or such date.
    Hhow i can filter the in Z-report which MATNR are not in Tcode /afs/md04 tab-temporarily stock /requirement  .
    my code is.
    SELECT  j_3abdsiaufnr j_3abdsimatnr j_3abdsij_4krcat j_3abdsimbdat j_3abdsi~menge INTO TABLE it_eket FROM j_3abdsi
        FOR ALL ENTRIES IN it_final1
        WHERE
              j_3abdsi~j_4krcat = it_final1-j_4ksca AND
              j_3abdsi~matnr = it_final1-matnr AND
              j_3abdsi~werks = it_final1-werks AND
              j_3abdsi~bdart = 'TB' AND
              j_3abdsi~plart = 'B' AND
              j_3abdsi~bsart = 'UB'.
    Pls help .
    Rayhan
    Edited by: Abu Rayhan on Apr 5, 2011 10:24 AM

    CLEAR i_data1.
      REFRESH i_data1.
      LOOP AT i_mara.
        READ TABLE i_marc WITH KEY matnr = i_mara-matnr  BINARY SEARCH .
        IF sy-subrc = 0 .
          CALL FUNCTION 'J_3AM_DISPOSITION_DISPL'
            EXPORTING
              i_matnr                 = i_mara-matnr
              i_werks                 = p_werks
          I_DIALOG                = ' '
          I_SPERR                 = ' '
          I_AUFRUF                = ' '
          I_BANER                 = ' '
             i_todate                = todate
          I_HEADER_ONLY           = ' '
           IMPORTING
             ex_dbba                 = i_data3
          E_MDKP                  =
          EX_PBBD                 =
          EX_MELD                 =
          E_CM61M                 =
           EXCEPTIONS
             material_gesperrt       = 1
             wbz_fehler              = 2
             material_prgr           = 3
             dispo_gesperrt          = 4
             OTHERS                  = 5
          IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ELSE.
            IF i_data3[] IS NOT INITIAL.
              LOOP AT i_data3 INTO i_data4 .
                  IF ( i_data4-j_3astat ='A' OR i_data4-j_3astat ='T') AND i_data4-j_3abskz ='C'   .
                    READ TABLE i_t001l WITH KEY lgort = i_data4-lgonr  BINARY SEARCH .
                    IF sy-subrc = 0 .
                      CLEAR i_data1str.
                      i_data1str-matnr = i_data4-matnr.
                      i_data1str-j_3asize = i_data4-j_3asize .
                      i_data1str-lgort = i_data4-lgonr.
                      i_data1str-menge = i_data4-menge .
                      COLLECT i_data1str INTO i_data1.
                    ENDIF.
                  ENDIF.
              ENDLOOP.
            ENDIF.
          ENDIF.
      ENDLOOP.
    Questions
    i_mara  recordset 500 material
    It take more than 3 house to finished this report.
    do changed ?
    do you help me ?
    Think.

  • TAx Reporter Temse Files Download Automation

    Hi,
    I have a reuiqrement to download the Temse files generated in Tax Reporter. I have completed the code and it works fine if we run the program in foreground. But when I run the same program in background some Temse files downloaded have junk characters. If I download the same Temse file in foreground it works fine.
    There seems to be some issue with the FM when I run my progam in background.
    I have searched SDN and SAP Notes for any clues but did not get any.
    REPORT  ZPHOP_TEMSE  NO STANDARD PAGE HEADING
                      LINE-SIZE 1023
                      LINE-COUNT 65
                      MESSAGE-ID zz.
    DATA: BEGIN OF tape OCCURS 1,
             DATA(2000),
          END OF tape.
    DATA: force_ascii type c VALUE 'T'.
    DATA:  BEGIN OF int_msgs2 OCCURS 10,
             errnum(2) TYPE c,
             text1(8) TYPE c,
             text2(60) TYPE c,
           END OF int_msgs2.
    DATA: BEGIN OF g_int_temse OCCURS 0,
             dname    LIKE TST01-dname,
             dpart    LIKE TST01-dpart,
             dcretime LIKE TST01-DCRETIME,
             dcreater LIKE TST01-DCREATER,
          END OF g_int_temse.
    DATA: record_length  TYPE i VALUE 275,
           data_length    TYPE i,
           convert_to_ebcdic,
           filesize TYPE i,
           number_of_records TYPE i VALUE 1,
           filetype(3) VALUE 'BIN',
           conv TYPE REF TO cl_abap_conv_out_ce,
           dline TYPE REF TO data,
           dtab TYPE REF TO data,
           p_compid(4),
           p_pswd(8),
           g_str(2000),
           uc_filename TYPE string.
    DATA: l_nm_fixed_record.
    CONSTANTS: c_lpath TYPE pathintern VALUE 'ZOUT'.
    TABLES: TST01, ZPHOPFLS, ZTEMSE_LOG, V_5UXY_A.
    FIELD-SYMBOLS: <dtab> TYPE STANDARD TABLE,
                   <dline> TYPE ANY.
    INCLUDE: dbpnpcom.           " No logical database        Do not modify!
    INCLUDE: zphoptop,           " Top Include                Do not modify!
             zphopfil.           " File inlcude               Do not modify!
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-T01.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(30) text-001.
    SELECT-OPTIONS  s_temse FOR TST01-dname NO INTERVALS.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE text-T02.
    SELECT-OPTIONS  s_cai   FOR TST01-DCREATER NO INTERVALS.
    SELECT-OPTIONS  s_date  FOR sy-datum.
    SELECTION-SCREEN END OF BLOCK B2.
    SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE text-T03.
    PARAMETERS: p_ifid   LIKE t9aoa-if_id MODIF ID DIS ,
                p_fileid LIKE t9aoa-file_id MODIF ID DIS,
                p_unixf(60)  LOWER CASE MODIF ID DIS,
                p_uxdir  TYPE pathextern LOWER CASE MODIF ID DIS,
                p_dstfil(45) LOWER CASE MODIF ID DIS.
    SELECTION-SCREEN END OF BLOCK B3.
    PARAMETERS: p_skip AS CHECKBOX.
    DATA: ws_unixr LIKE p_unixf,
          ws_trans LIKE p_unixf.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group1 = 'DIS'.
          screen-output = '1'.
          screen-input  = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    INITIALIZATION.
      p_ifid = 'PAYFLS'.
      p_compid = 'HR00'.
      p_fileid = '01'.
      p_unixf = 'AFS'.
      p_pswd = 'chevr123'.
      p_skip = 'X'.
    -End of Initialization--
      PERFORM get_physical_path.
      FORMAT COLOR COL_HEADING.
      WRITE: /01 text-t04,
              10 sy-pagno,
              41 text-t05,
             110 text-t06,
             123 sy-datum.
      WRITE: /01 text-t08,
              14 sy-repid,
             110 text-t07,
             125 sy-uzeit.
      FORMAT COLOR OFF.
      SKIP.
      WRITE: /(20) text-T21       CENTERED COLOR COL_HEADING,
              (15) text-T22       CENTERED COLOR COL_HEADING,
              (20) text-T23       CENTERED COLOR COL_HEADING,
              (15) text-T24       CENTERED COLOR COL_HEADING,
              (40) text-T25       CENTERED COLOR COL_HEADING.
    START-OF-SELECTION.
    *Do not allow background processing
    *Check if the Temse file and CAI both are entered
    IF NOT S_TEMSE IS INITIAL AND NOT S_CAI IS INITIAL.
       MESSAGE W999 WITH TEXT-E01.
    ELSEIF S_TEMSE IS INITIAL AND S_CAI IS INITIAL.
       MESSAGE W999 WITH TEXT-E02.
    ENDIF.
    Collect all temse filenames from TST01 into an internal table.
    IF NOT s_temse IS INITIAL.
       SELECT dname dpart dcretime dcreater FROM TST01 INTO TABLE g_int_temse
              WHERE dname in s_temse
              AND   dpart EQ '1'.
    ELSE.
       SELECT * FROM TST01
              WHERE DCREATER in s_cai
              AND   DPART EQ '1'.
         IF TST01-DCRETIME(8) GE s_date-low
             AND TST01-DCRETIME(8) LE s_date-high.
            MOVE-CORRESPONDING TST01 TO g_int_temse.
            APPEND g_int_temse.
         ENDIF.
       ENDSELECT.
    ENDIF.
    SORT g_int_temse BY DNAME DPART DCRETIME.
    LOOP AT g_int_temse.
    Check if the temse file is already processed in ZTEMSE_LOG table.
      SELECT SINGLE * FROM ZTEMSE_LOG
             WHERE DNAME = g_int_temse-dname.
      IF sy-subrc EQ 0.
    error. Temse already processed
         CONTINUE.
      ENDIF.
    Check if the temse file bieng processed is the eligible temse file
      SELECT SINGLE * FROM V_5UXY_A
             WHERE TSOBJ = g_int_temse-dname.
      IF sy-subrc EQ 0.
         SELECT SINGLE * FROM ZPHOPFLS
             WHERE TAXAU = V_5UXY_A-TAXAU
             AND   TXFRM = V_5UXY_A-TXFRM.
         IF sy-subrc EQ 0.
    Generate the filename for the target destination
            CONCATENATE ZPHOPFLS-FILENAME '.' sy-datum '.' sy-uzeit INTO p_dstfil.
         ELSE.
    error. Script not maintained in ZPHOPFLS table
            CONTINUE.
         ENDIF.
      ELSE.
    error. Temse file is not the latest processed file.
         CONTINUE.
      ENDIF.
      CALL FUNCTION 'RP_TS_OPEN'
        EXPORTING
          tsobj = g_int_temse-dname
         versn = g_int_temse-dpart
          empfg = 'RPUTSVUM'.
      COMMIT WORK.
      REFRESH tape.
      CLEAR   tape.
    Einlesen von der TemSe
      CALL FUNCTION 'RSTS_READ'
        EXPORTING
           PARTS1BY1 = 'X'
        TABLES
          datatab = tape.
      CALL FUNCTION 'RSTS_CLOSE'.
    Read the 1st line which is supposed to contains info important for
    the downloading procedure. The syntax of the line is :
      SAPxxxnnnyyyy  - the 1st 3 char 'SAP' indicates this line contains
    download related info. xxx can either be 'ASC' (for ASCII) or 'EBC'
    (for EBCDIC). nnn is the length of each record, e.g. 128 for SSA disk
    format, 275 for SSA tape format etc. yyyy can either be 'CRLF' (each
    record is delimited by CRLF) or blank (no CRLF).
    After processing the 1st line, the line is deleted from the internal
    table. Downloading begins on the 2nd line.
      READ TABLE tape INDEX 1.
      IF tape-data(3) EQ 'SAP'.
        IF tape-data+3(3) EQ 'EBC'.
          convert_to_ebcdic = 'x'.
        ELSEIF tape-data+3(3) EQ 'ASC'
              AND force_ascii EQ 'T'.
          filetype = 'ASC'.
        ENDIF.
        IF tape-data+6(3) NA '*'.
          record_length = tape-data+6(3).
        ELSE.
          record_length = tape-data+13(4).
        ENDIF.
        IF tape-data+9(4) EQ 'CRLF'.
          data_length = record_length + 2.
        ELSE.
          data_length = record_length.
        ENDIF.
        DELETE tape INDEX 1.
      ELSE.
        data_length = record_length.
      ENDIF.
    Transfer the Temse file data to Unix file.
          PERFORM transfer_file.
    Update the Log table with the temse details.
          ZTEMSE_LOG-dname = g_int_temse-dname.
          ZTEMSE_LOG-txcmp = V_5UXY_A-taxau.
          ZTEMSE_LOG-txfrm = V_5UXY_A-txfrm.
          ZTEMSE_LOG-filename = ws_unixr.
          ZTEMSE_LOG-DCREATER = g_int_temse-dcreater.
          INSERT ZTEMSE_LOG.
        WRITE: /(20) ZTEMSE_LOG-dname,
                (15) ZTEMSE_LOG-txcmp,
                (20) ZTEMSE_LOG-txfrm,
                (15) ZTEMSE_LOG-dcreater,
                (40) ZTEMSE_LOG-filename.
    ENDLOOP.
    *&      Form  get_physical_path
          Get Physical directory name for the given logical path name
    FORM get_physical_path .
      CALL FUNCTION 'ZFILE_GET_PATH_NAME'
        EXPORTING
          LOGICAL_PATH               = c_lpath
        IMPORTING
          FILE_NAME_PATH             = p_uxdir
        EXCEPTIONS
          PATH_NOT_FOUND             = 1
          MISSING_PARAMETER          = 2
          OPERATING_SYSTEM_NOT_FOUND = 3
          FILE_SYSTEM_NOT_FOUND      = 4
          OTHERS                     = 5.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " get_physical_path
    *&      Form  TRANSFER_FILE
    FORM transfer_file.
      p_unixf = 'AFS'.
    Concatenate Date with Unix File name
      CONCATENATE p_unixf '.' p_compid '.' p_ifid  '.' sy-datum '.' sy-uzeit INTO ws_unixr.
    Concatenate Unix Directory with Unix File for Outbound
      CONCATENATE p_uxdir ws_unixr INTO p_unixf.
      PERFORM open_files USING p_unixf.
    LOOP AT tape.
         g_str = tape-data(record_length).
        TRANSFER g_str TO p_unixf LENGTH record_length.
        IF sy-subrc <> 0.
          MESSAGE ID '00' TYPE 'E' NUMBER '398' WITH 'sy-subrc:' sy-subrc
           ' Error Transferring to: ' p_unixf.
        ENDIF.
    ENDLOOP.
      PERFORM close_files USING p_unixf.
    ENDFORM.                    " TRANSFER_FILE
    Can anyone please check and tell me what I need to overcome this problem.

    Hi Bhaskar,
    I also have the same requirement to upload TemSe files in to application server.
    In FDTA tcode after we enter company code and click on enter.
    In the second screen checking and line item and go to edit and click on download button.
    Here we see a popup with default file name, and when we say ok the file will get downloaded into C:\.....
    Here our req is to upload the file automatically pick up via batch job and place it in the in to the application server and from there it should be placed in the Netwrok server (UNIX).
    Pls provide me with suitable code so that i can finish it off.I tried a lot but did not work.
    Thanks.

  • AFS ARun: sales order not been selected for the allocation run.

    Hi,
    I am setting up the Purchase-to-Order (similar to Indiv PO item sales order) Process for SAP AFS.
    When doing the Allocation Run (trx J3AT) after Goods receipt of Sales order stock, I get an error that ARun terminated because no requirements were selected. The delivery check report (/AFS/LIEF_CHECK) indicates that the sales order has not been selected for the allocation run.
    For this process, I have set-up an Allocation type with
    1.     Requirement selection that does not exclude MTO/PTO orders
    2.     Set-up stock selection which includes physical stock type for MTO/PTO orders to the customer special stock MSKA with the segment KALAB.
    Can someone suggest what I may have missed?
    Regards,
    PD

    Hi Pankaj, I have same exact issue. How did you fix this ?
    Thanks,
    Mahesh

  • Question on Stock requirement report

    Hi,
    Appreciate your response on the below question.
    This issue is regarding the AFS Stock/requirement list.
    When we run for for a material / plant combination and include a date in the  'Date to' field - stock that are in B status (MRP blocked) appears in the report.
    But when we don't specify the date, the stock in B tab does not appear.
    Can you please advise?
    Thanks in advance.

    Hello Kase
    I don't have access to AFS system, but let me try and answer you.
    AFS stock/requirements list is dynamic as it provides the latest situation for MRP elements including changes after planning date.
    If the MRP was not yet started and new requirements are in the system, status 'B' is set for those requirements to which no stocks could be assigned in the current display in the AFS Stock/Requirement List.
    So the 'date to' has a significance in evaluating when the MRP was run last and what changes have taken place since.
    Please take a look at the following OSS notes:
    690576 - Description of MRP statuses in AFS planning
    Hope this helps.

  • SQL query was failed in my report after migrating to Oracle 10gR2

    We have a aplication running under Oracle 9.2.0.4 DB. we migrated our DB to Oracle 10gR2. While running the report, we got an error:
    ORA-00904: "A3"."FACILITY_SYSTEM_ID": invalid identifier
    ORA-06512: at "CEAS_MK_RPT.GET_LIST", line 12
    The SQL query which causes this error is:
    INSERT INTO gtt_facility_seq_generator
    (date_range)
    SELECT get_list
    (CURSOR (SELECT auf.facility_system_id
    FROM authorized_facility auf
    WHERE auf.facility_system_id = afs.facility_system_id
    AND auf.credit_application_system_id = :p_cred_appln_id
    FROM authorized_facility afs,
    (SELECT af.facility_system_id facility_system_id
    FROM facility_obligor fo, authorized_facility af, party p
    WHERE fo.facility_system_id = af.facility_system_id
    AND fo.party_system_id = p.party_system_id
    AND NOT EXISTS (
    SELECT NULL
    FROM facility_third_party_subst iftps
    WHERE iftps.facility_system_id =
    fo.facility_system_id)
    ) tab1
    WHERE afs.credit_application_system_id = :p_cred_appln_id
    AND tab1.facility_system_id = afs.facility_system_id
    ORDER BY afs.creation_date;
    The content of function get_list() is:
    CREATE OR REPLACE FUNCTION CEAS_MK_RPT.Get_List
    p_cursor IN sys_refcursor
    RETURN VARCHAR2
    IS
    l_sep VARCHAR2(4);
    l_text VARCHAR2(30000);
    l_text_return VARCHAR2(30000);
    BEGIN
    LOOP
    FETCH p_cursor INTO l_text;
    EXIT WHEN p_cursor%NOTFOUND;
    l_text_return := l_text_return || l_sep || l_text;
    l_sep := CHR(10);
    END LOOP;
    CLOSE p_cursor;
    RETURN l_text_return;
    dbms_output.put_line ('a');
    END Get_List;
    The same report was executed perfectly in Oracle 9i. Kindly help us to short out this issue. Thanks in advance.
    Regards,
    Sengol S

    Hi Nirav,
    Many thanks for your response. I verified the same, but the same query was executed successfully after removing the INSERT INTO part(executed the SELECT part only). What might be the cause for this error?
    For your kind information :
    I have 2 schema in my DB( ceas_mk_app and ceas_mk_rpt ).
    All the source tables are present in ceas_mk_app schema - These tables are used by ceas_mk_rpt schema(using synonym) to generate the report.
    I'm executing the above said query from ceas_mk_rpt to insert the necessary data in to report temp. table.
    Thanks,
    Sengol S
    Edited by: seng1256 on Dec 22, 2008 12:31 PM

  • Table Name of Purchase Requisition Grid Line Item (SAP-AFS)

    Dear All,
    As im in the midst of preparing a report on the purchase requisitions with grid value and its respective quantity for those which are not converted as POs.
    im not able to find the table which holds the AFS grid details related to the PR. im using EBAN to fetch the PR header and line item details and i tried joining with the EKET table, but resulting with the list of PR details those which are converted as POs, since EKET holds the PO sheduled line item details.
    Reference Transaction - me53n - Item details table control.
    Kindly help me to find the table which hold the above said data.
    thanks in advance.Rating assured.
    Message was edited by: Raja K.P

    Hi Raja
       The tables you have mentioned are enough for extracting the details you need. Hope the below code helps you.
    tables: eban, eket.
    parameters: p_werks like eban-werks.
    select-options: s_bsart for eban-bsart,
                    s_erdat for eban-erdat obligatory,
                    s_matnr for eban-matnr.
    data: begin of itab occurs 0,
             banfn like eban-banfn,
             bnfpo like eban-bnfpo,
             bsart like eban-bsart,
             matnr like eban-matnr,
             menge like eban-menge,
             ebeln like eban-ebeln,
             ebelp like eban-ebelp,
             menge1 like eket-menge1,
           end of itab.
    start-of-selection.
      select a~banfn a~bnfpo a~bsart a~matnr
             a~menge a~ebeln a~ebelp b~menge
             into table itab
             from eban as a
             inner join eket as b
             on b~ebeln = a~ebeln
             and b~ebelp = a~ebelp
             where a~werks = p_werks
             and   a~bsart in s_bsart
             and   a~erdat in s_erdat
             and   a~matnr in s_matnr
             and   ( a~ebeln eq space  or
                     a~menge ne b~menge ).
    Now internal table itab will have all the open PR Numbers, for partially open PR's you will have itab-ebeln populated. For these entries subtract itab-menge1 from itab-menge to get the open qty.
    Kind Regards
    Eswar

Maybe you are looking for

  • Is there a way to open and edit my iMovie HD files with iMovie '09 and later versions?

    I am getting ready to update an older iMac from Tiger to Mountain Lion. (Long overdue, I know) I have several files that I created using iMovie HD. After I update, will the new versions of iMovie be able to open and edit my iMovie HD files?

  • GT 660Ti power

    Hi all, I have bought this video card ( GTX660 TI 2GB ), but having a problem now, I am running Dual head, but this card has only one option to go to VGA, i have tried to use the DVI-D to VGA connector , that wont work. I have bought a Displayport to

  • CCA data upload----s_alr_87013613

    HI All, I have uploaded Cost element/ cost center planned data through one of our Ztcode....It showed success message, but when i checked in t-code: s_alr_87013613 for planned data....it was blanck......can someone give a me clue what could be the re

  • About user accounts

    Hello, My account got suspended last month and when I chatted with the support they said they will investigate the issue and also mentioned that I could have shared my account with others, but actually investigate the issue and also mentioned that I

  • DVD Audio not synching in Encore CS4

    Problem: I'm creating NTSC dvd in Encore CS4 and audio starts out fine but begins "skipping" around after about 2 minutes. Project looks and sounds fine in PPCS4. The project is 3hrs and 40 min. long. I'm using Verbatim DVD-R's and have been using th