Base Table for problem code in Cs_incidents_all_b

hi
in cs_incidents_all_b we have problem_code. the does not contain any data ... we have any tl table for problem code i have cssr_prob_code_mapping_detail but if i query this
SELECT  dra.repair_number,
  items.description item_desc,
  prob.problem_code,
  fndl.meaning flow_status_name,
  inc.summary,
  nvl(cp.instance_number,'Not availble') ib_instance_number
FROM csd_repairs dra,
  csd_repair_types_tl drtt,
  cs_incidents_all_b sr,
  csi_item_instances cp,
  fnd_lookups fndl,
  csd_flow_statuses_b fsb,
  mtl_system_items_kfv items,
  mtl_units_of_measure_tl uom,
  jtf_rs_resource_extns_tl rstl,
  jtf_rs_groups_tl rgtl,
  fnd_lookups plkup,
  cs_incidents_all_tl inc,
  cs_sr_prob_code_mapping_detail prob,
  cs_incident_types_b ty
WHERE dra.repair_type_id       = drtt.repair_type_id
AND drtt.language              = userenv('LANG')
AND dra.repair_mode            = 'WIP'
AND dra.incident_id            = sr.incident_id
AND dra.CUSTOMER_PRODUCT_ID    = cp.INSTANCE_ID (+)
AND dra.flow_status_id         = fsb.flow_status_id
AND fsb.flow_status_code       = fndl.lookup_code
AND fndl.lookup_type           = 'CSD_REPAIR_FLOW_STATUS'
AND dra.inventory_item_id      = items.inventory_item_id
AND dra.unit_of_measure        = uom.uom_code
AND uom.language               = userenv('LANG')
AND dra.resource_id            = rstl.resource_id (+)
AND rstl.category (+)          = 'EMPLOYEE'
AND rstl.language (+)          = userenv('LANG')
AND dra.owning_organization_id = rgtl.group_id (+)
AND rgtl.language (+)          = userenv('LANG')
AND dra.ro_priority_code       = plkup.lookup_code(+)
AND plkup.lookup_type(+)       = 'CSD_RO_PRIORITY'
AND items.organization_id      = cs_std.get_item_valdn_orgzn_id
AND inc.incident_id            =dra.incident_id
and ty.incident_type_id=sr.incident_type_id
and prob.incident_type_id=ty.incident_type_id
AND fndl.meaning in('Open')
order by dra.repair_numbereach diffrent problem codes for same repair number here i am want records relevant to Depot Repair

In 11.5.9, the problem and resolution codes are stored in FND_LOOKUP_VALUES table with lookup type as 'REQUEST_PROBLEM_CODE' and 'REQUEST_RESOLUTION_CODE'. I'm hoping you could still use these tables to find problem codes, even if you were on 11.5.10 or R12.
Join would be something like:
WHERE fnd_lookup_values.lookup_type = 'REQUEST_PROBLEM_CODE'
AND fnd_lookup_values.problem_code = cs_incidents_all_b.problem_code
Regarding restricting the query for Depot Repair service requests, you need to restrict by the the incident_type_id for this type of SRs (like id for Depot incident type is 10003 for us).
HTH
Alka

Similar Messages

  • What are the Target Base Tables for FA_TAX_INTERFACE table?

    Hi,
    We are using "upload tax book interface" program to update the Tax Book informaiton.
    For this we wanted to know all the Target Base Tables for FA_TAX_INTERFACE table (Specially for the ATTRIBUTE1-ATTRIBUTE15 columns of the interface table).
    Kindly request you to help on this.
    Thanks & Regards,
    Satvik Patel

    Well, what are you reconciling to? You are looking at something that seems to be different from your data extract, so what is that thing? My trouble shooting process is to take an asset that seems to be wrong and reconcile from the report/screen data to the extract data. You have to figure out what Oracle program is involved and what kind of SQL that the program is doing and what tables it is looking at. This could be an Oracle program error. I just ran into a problem on the Payables Posted Invoice Register report, where the total did not match my extract total. Turns out the report was wrong. If I had table records with a date/time stamp value (instead of just a date stamp value) in the accounting date field for the TO ACCOUNTING DATE value in my report request selection, those records were being dropped from the report. I reported this to Oracle support and found out that there is a patch to fix the problem (happens when cancelling an invoice) and a data script to follow to fix the historical data. So you have to keep an open mind. Yes, trying to find a reconciling issue can be very painful.
    My reaction is that you are looking at the right tables. There is also a FA_DISTRIBUTION_HISTORY table that you may want to look into, that links back to the FA_DEPRN_DETAIL table. Maybe your issue lies there. At least something to look at.
    John Dickey

  • Table for tax code line item after miro

    Can anybody tell table for tax code line item (other than BSET) after MIRO.
    Raj

    Hi,
    First let me explain you the logic in this repot. 
    If a document have more than one GL accounts relevant for tax and having the same tax code. So there is only one tax line for that tax code in BSET.
    Now in the standard reports like S_ALR_87012357, output has the tax base amount etc, based on tax line from BSET which is a single line the above document. However this single line contains multiple tax relevant account and thus SAP can not show all the G/L account for this single line in the report S_ALR_87012357. So SAP picks up the first account in the output.
    The declaration in this report is not wrong, as the total gets calculated based on the tax code and which is correct and meets the tax reporting requirement.
    If you want to see the G/L account wise output, you can use the program RFUMSV10. Refer OSS note 1175418 "RFUMSV00: G/L account display" for details.
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1175418
    In your report, you can use this program logic for reference.
    Regards,
    Gaurav

  • Need to know the base tables for the QM datasources

    Hello SAP Experts,
    I want to know the base tables for the below mentioned datasources which stores the transaction data.
    1. 2LIS_05_QE1:  Inspection Characterstics Results
    2. 2LIS_05_QE2: Inspection Characterstics Results (Quan)
    3. 2LIS_05_QVUDN: Usage decision for Inspection
    Need your inputs.
    Thanks,
    Lasya.
    Edited by: lasya john on Dec 10, 2008 8:28 PM

    Hi Lasya,
    You can use help.sap.com for this.
    If you do not find this data source there...then
    You can go to LBWE t-code in R/3 and then infront of the data source...you have maintenance option.
    Click on that ...and go inside it in the display mode.
    Here you can see a generic pool of fields on the left side which can be included in the data source........  field present in the data sources in the right side of the pool.
    For every field you have a tructure name infront of it like MCXXXX where XXXX is the table name.
    So the field is being from that particular table.
    Even I would the same thing to reply to your thread.
    You can follow the same procedure to find the table for any LO data source.
    This is accurate in 99% cases...only in very few cases like purchasing...we get one or two fields from different tables.
    Hope it helps.
    Thanks
    Ajeet

  • Base table for customer in R12

    Hi,
    What is the name of base table for customer in R12?
    Thanks,
    GSM

    I have one small question regarding How can we delete a Concurrent Program which is already registered? Please see this thread.
    How to delete an executable concurrent program
    How to delete an executable concurrent program
    Thanks,
    Hussein

  • Finding base table for a field in a structure !! urgent

    i need to find out where is BUDAT field being populated in the 2lis_04_p_arbpl extractor. When i see where this field is coming from it shows MCAFVG which is a structure. i need to use this field in user exit and need to know which table is it coming from. I am actually looking for last confirmation date on an order.
    my query is that if a field is shown as a part of a structure then how can we find out where is it being populated from ? like where can we find the base tables for this structure ?
    Please help. Points will be assigned to all helpful answers.
    thanks
    Laura.

    HI..
    well yes... go to ROOSOURCE and find the name of the program for that structure. go to se38 and check out the tables used in that program.
    let me know if that helped... what structure are u trying to find the tables for ?
    thanks
    Laura.

  • Base table for 0CRM_SALES_CONTR_I(CRM Sales Contracts: Item)

    Hi experts,
    Im looking for the base tables for 0CRM_SALES_CONTR_I(CRM Sales Contracts: Item).if there is a base table for the datasource how do we find it.
    Thanks,
    sivarama landa

    Hello Siva,
    This is the way to find in the system:
    From RSA2>Extraction Tab-> Extract Structure-->Components Tab->Component Column( You will see .INCLUDE)  with its Corresponding Description in the column---> Short Description ( FOR EX : ORDERADM_H Data for BW DataSources), usually the CRM system table will be CRMD_******** or CRM_******.
    Here you will not find the lbwe( way to find tables in the ECC ).
    The Best and easiest way to find is as said by Martin.
    Regards,
    Adhvi

  • Base tables for aggragates and Multiproviders

    Is  RSDICMULTIIOBJ the base table for Multiproviders?
    What is the base table for Aggragates and units?

    Multiproviders
    RSDCUBEMULTI 
    RSDICMULTIIOBJ
    Aggregates
    RSDDAGGREF
    RSDDAGGRT
    RSDDCVERREPAGGR
    RSDDAGGR    
    RSDDAGGRCOMP
    RSDDAGGRDIR 
    RSDDAGGRDIR_M

  • Base table for 0CRM_OPPT_H

    Hi,
    can any one help me,
    What are the base tables for the data source 0CRM_OPPT_H, precisely, when i run the extractor where the fields MKT_ELEMENT (Marketing Plan Element) and OBJECT_ID (Transaction No.) are fetched from?
    In the SAP Library table of origin has been written DOC_FLOW and ORDERADM_H, but when i checked in DDIC DOC_FLOW does not exist and ORDERADM_H is a structure.
    Please let me know how the above fields will be populated, while extractor runs.
    Thanks
    Dasari

    Hi
    If I got your question properly the MKT_ELEMENT is fetched from Table ORDERADM_H with Filed ORDERADM_H_GUID and also DOC_FLOW Table with Field OBJKEY_A.
    http://help.sap.com/saphelp_nw70/helpdata/EN/39/a5252db1142c4188bbde476a39c723/frameset.htm

  • Base tables for 3FI_SL_WD_TT.

    Hi ,
    I had a query regarding the data source : 3FI_SL_WD_TT.
    The data for this DS is extracted via a function module G_BIW_GET_TT_DATA. I was able to find the base tables for the enhanced fields. I need to know how can I find the base tables for the standard fields.
    Regards,
    Adarsh

    Hi Adarsh,
    in R/3 goto transaction GCL3 "Display FI-SL Customizing Ledger".
    Find the line for your special ledger WD and what you see in the column named table should be the main table for your standard fields.
    The structure of the table is different to the datasource and also the key might be coded. Once you found the table for WD (above) have a look for further tables of similar name and you will find the tables that hold the key (like ROBJNR, COBJNR or SOBJNR) referencing to your table.
    Best,
    Ralf

  • Base tables for datasource 1cl_obat001 ?

    hi all ,
    how to know the base tables for   datasource 1cl_obat001 ?
    Thanks

    HI ,
    Ok fine , its a classification datasource , its is generated one ,you can find the details in the table CLBW_SOURCES
    in your source system (ECC ) ,
    Provide the datasource name in the infosource field , and the field OBTAB shows the source table for the extractor
    Hope its clear,
    Regards,
    Sathya

  • How to find data base tables for a particular  trancation code

    Dear All,
    Is there any T.code for finding data base tables used in  a particular transaction code(Eg.: MM01).
    Regards,
    Satyapalli

    Hello Satya
    There is a very useful function module available for your requirement:
    <b>RS_PROGRAM_TABLES</b>
    Call this function module using:
    OBJECT_TYPE  = 'TRAN'       " transaction
    OBJECT_NAME = 'VA01'
    " PROGRAM  -> not required
    MONITOR_ACTIVATE = 'X'
    The function module will list you all DB tables touched by the transaction and shows whether they are read or updated (unfortunately, on ECC 5.0 this seems to be no longer the case. All tables are displayed as READ).
    Regards
      Uwe

  • Entry missing in T169V table for Co. code

    Hi Friends,
    We made one new company code & did all the settings. When we are doing MIRO we got one error saying that Co. code is not exist in T169V table.
    Table T169V is for Default Values, Invoice Verification.
    We might have missed some customization, can any body tell where to do.
    I can do it directly from tables also, but not advisable.
    Regards
    Sai Krishna

    hi
    goto
    SM30 here u can get the customizations related to a perticular table
    goto SM30 give table no and click on customizing then click on continue without project
    here system wilkl give u all the customizations for this table
    now if we take ur e.g. of T169v then u have to check for the entry of MM  as the problem is occuring in MIRO
    u have to go to SPRO>mm>LIV>Incoming Invoice>Maintain Default Values for Tax Codes
    hope it clears
    regards
    KI

  • Table for transaction code for creation of process order

    Hi Gurus,
    Please tell me, in which table i can see the transaction code used to create process order.
    regards
    Kaisar

    Hi,
    Table for transactions is TSTC.
    If your looking for t-code for process order - COR1.
    Regards,
    Vivek

  • Interface and  Base tables for Receiving Transaction Processor Program

    Hi Everyone,
    My requirement is to move data from staging table to rcv interface tables and then run Receiving transaction processor program. How will in know what interface tables i need to insert data into? and after I run the concurrent program what are the base tables that i need to check to confirm?
    Please help!
    Thanks
    Sunny

    RCV_HEADERS_INTERFACE
    RCV_TRANSACTIONS_INTERFACE
    If you have serial numbers or lot numbers for the receipts, then you need to insert into
    RCV_SERIALS_INTERFACE
    RCV_LOTS_INTERFACE
    Once the transactions are processed, you will see records in
    RCV_SHIPMENT_HEADERS
    RCV_SHIPMENT_LINES
    For details on the interface, check irep.oracle.com
    See Import PO Receipts using custom conversion. for some scripts.
    And see http://www.oracleug.com/tables/purchasing/rcvheadersinterface and http://www.oracleug.com/tables/purchasing/rcvtrnsactionsinterface for details on the tables.
    Hope this answers your question,
    Sandeep Gandhi

Maybe you are looking for

  • XML Publisher report not printing excel output due to special characters

    Hello, I am trying to create a xml publisher report which should display the output in excel. But the program completes with a warning status and the output is displayed as XML instead of excel, with some errors "An invalid character was found in tex

  • One connection for Internet and the other for LAN

    Hi: I am trying to setup this: I have a : (Proliant DL380 G5) with Windows 2008 R2 Server . This server has 4 NIC's. In NIC #1  I would like to have all my Internet Traffic. In NIC #2 I would like to have just my LAN Traffic. Is there an easy way to

  • How can I call a Page Process from the Select statement for Report Page

    I'm able to call a javascript using the below: img src="#IMAGE_PREFIX#add2.gif" border="0" alt="Icon 4" onClick="javascript:add_connect1('||CPORT.ID||')" But Now, I'd like to accomplish (2) New things: 1. instead of using,....... onClick="javascript:

  • Unable to send or receive txts

    Texting worked fin last night. This morning I cannot send nor receive texts messages. Everything else works fine. I use this for work quite a lot. This is a big problem. Paying for a service that I'm not receiving. Other carriers are looking better.

  • Document type and Transaction type

    Hi, Can someone give me a clear and detailed understanding of how to maintain transaction types in SRM system and document types in the backend system based on various scenarios (i.e standalone,classic. extended.....) Is it mandatory that the documen