Table names required for workflow definition

Hi All,
I need to know which tables stores all the task level information for a given workflow.
Also alongwith the above query need to know which table stores information of exception and parameter for BOR methods.
Thanks in advance,
Imran

Hi Imran,
If I understand your query... you need a table that stores information of the workitems.
See if the table SWWWIHEAD (Header Table for all Work Item Types) helps you.
Hope this helps!
Regards,
Saumya

Similar Messages

  • Urgent ...Table name Require for appraisal competency

    Hi All,
    can some one help me to sort out this issue.
    how can i know where the appraisal competency information is storing(i mean table names).
    i mean when appraiser enter the competency for his appraise.
    Thanks.
    Edited by: user627525 on Mar 17, 2009 4:35 AM

    Or try this query is you want a rating that gives u a number 0-5 for performance rating. I did this query a while ago. it also gives rating for the last 3-4 years. HR also wanted the rating rounded off. so i included that but i am sure u dont need it
    select distinct peo.person_id
    ,AK.AK_RATING "Final 2005/6"
    ,AK_DATE
    ,AC.AC_RATING "Final 2006/7"
    ,AC.AC_Date
    ,AF_Rating "Final 2007/8"
    ,AF_DATE
    ,nvl(to_char(AG.AG_Rating),'Not Yet Reviewed') "Current Rating 1st 6 mnths"
    ,nvl(to_char(AR.AR_RATING),'Not Yet Reviewed') "Current Rating 2nd 6 mnths"
    ,AG_DATE
    from hr.per_all_people_f peo,
    hr.per_all_assignments_f paa
    ,(SELECT DISTINCT peo.person_id AK_person_id
    ,pr.performance_rating AK_rating
    , pr.review_date AK_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2006' and '31-Oct-2006' ) )AK
    ,(SELECT DISTINCT peo.person_id AP_person_id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AP_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2006' and '31-Oct-2006' ) )AP
    ,(SELECT DISTINCT peo.person_id AC_person_id
    ,pr.performance_rating AC_rating
    , pr.review_date AC_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2007' and '31-Oct-2007' ) )AC
    ,(SELECT DISTINCT peo.person_id AA_person_id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    , pr.review_date AA_date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.review_date = (select pr1.review_date
    from apps.per_performance_reviews pr1
    where pr1.person_id = peo.person_id
    and pr1.review_date between '01-May-2007' and '31-Oct-2007' ) )AA
    ,(SELECT pr.person_id AF_Person_Id,
    pr.performance_rating AF_Rating,
    pr.review_date AF_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2008' and '31-Oct-2008' )AF
    ,(SELECT pr.person_id AB_Person_Id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AB_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2008' and '31-Oct-2008' )AB
    ,(SELECT pr.person_id AG_Person_Id,
    pr.performance_rating AG_Rating,
    pr.review_date AG_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-Nov-2008' and '30-Apr-2009' )AG
    ,(SELECT pr.person_id AQ_Person_Id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AQ_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-Nov-2008' and '30-Apr-2009' )AQ
    ,(SELECT pr.person_id AR_Person_Id,
    nvl(pr.performance_rating,0) AR_Rating,
    pr.review_date AR_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2009' and '31-Oct-2009' )AR
    ,(SELECT pr.person_id AU_Person_Id
    , case when pr.performance_rating <= 0.5 then '0'
    when pr.performance_rating > 0.5 and pr.performance_rating <= 1.5 then '1'
    when pr.performance_rating > 1.5 and pr.performance_rating <= 2.5 then '2'
    when pr.performance_rating > 2.5 and pr.performance_rating <= 3.5 then '3'
    when pr.performance_rating > 3.5 and pr.performance_rating <= 4.5 then '4'
    when pr.performance_rating > 4.5 and pr.performance_rating <= 5 then '5'
    when pr.performance_rating = 9 then '9'
    end ROUNDED_RATING
    ,pr.review_date AU_Date
    FROM apps.per_performance_reviews pr,
    hr.per_all_people_f peo
    WHERE pr.person_id = peo.person_id
    and pr.REVIEW_DATE between '01-May-2009' and '31-Oct-2009' )AU
    where peo.person_id = paa.person_id
    and trunc(sysdate) between peo.effective_start_date and peo.effective_end_date
    and trunc(sysdate) between paa.effective_start_date and paa.effective_end_date
    AND peo.CURRENT_EMPLOYEE_FLAG = 'Y'
    AND paa.PRIMARY_FLAG = 'Y'
    AND paa.ORGANIZATION_ID != 1301
    AND peo.EMPLOYEE_NUMBER != '0000001'
    AND peo.BUSINESS_GROUP_ID = '82'
    and AC.AC_person_id(+) = peo.person_id
    AND AF.AF_PERSON_ID(+) = PEO.PERSON_ID
    and AG.AG_PERSON_ID(+) = PEO.PERSON_ID
    and AK.AK_PERSON_ID(+) = peo.person_id
    AND AA.AA_PERSON_ID(+) = PEO.PERSON_ID
    AND AB.AB_PERSON_ID(+) = PEO.PERSON_ID
    and AP.AP_PERSON_ID(+) = PEO.PERSON_ID
    and AR.AR_PERSON_ID(+) = PEO.PERSON_ID
    and AQ.AQ_PERSON_ID(+) = PEO.PERSON_ID
    and AU.AU_PERSON_ID(+) = PEO.PERSON_ID
    order by peo.person_id -- , pr.review_date desc

  • EmailWriterImpl error : 553 5.5.4 user1 ... Domain name required for sender address user1

    hi all,<br />i am trying lc8 with a turnkey+jboss install on a windows2003 box, and getting the error below, where do i need to make the changes to correct this error? TIA<br /><br />2008-05-15 16:35:00,578 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] begins process emails: <br />2008-05-15 16:35:00,578 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] EmailSource is Locked: [email protected]<br />2008-05-15 16:35:00,593 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] EmailSource is Locked: [email protected]<br />2008-05-15 16:35:00,734 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] done process emails: <br />2008-05-15 16:35:00,750 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] unlock EmailSource : [email protected]<br />2008-05-15 16:40:00,109 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] begins process emails: <br />2008-05-15 16:40:00,125 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] EmailSource is Locked: [email protected]<br />2008-05-15 16:40:00,125 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] EmailSource is Locked: [email protected]<br />2008-05-15 16:40:01,203 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] done process emails: <br />2008-05-15 16:40:01,312 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailReaderImpl] unlock EmailSource : [email protected]<br />2008-05-15 16:40:01,609 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract com.adobe.idp.um.api.infomodel.User com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManager.getExpandedAuth enticatedUser(java.lang.String,java.lang.String,int) throws com.adobe.idp.common.errors.exception.IDPException,com.adobe.idp.common.errors.exception. IDPSystemException, causedBy:<br />com.adobe.idp.common.errors.exception.IDPSystemException: nullorigin: | [com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean] errorCode:13316 errorCodeHEX:0x3404 message:user_identifier:SuperAdmin domain:abx.xyz.com<br />     at com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean.getExpanded AuthenticatedUser(DirectoryServicesManagerBean.java:1181)<br />     at sun.reflect.GeneratedMethodAccessor365.invoke(Unknown Source)<br />     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />     at java.lang.reflect.Method.invoke(Method.java:585)<br /><br />[...]<br /><br />2008-05-15 16:40:01,937 INFO  [com.adobe.idp.dsc.provider.service.email.impl.EmailWriterImpl] EmailWriterImpl error : 553 5.5.4 <user1>... Domain name required for sender address user1<br /><br />2008-05-15 16:40:01,937 INFO  [STDOUT] javax.mail.MessagingException: 553 5.5.4 <user1>... Domain name required for sender address user1<br />2008-05-15 16:40:01,937 INFO  [STDOUT]      at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1020)<br />2008-05-15 16:40:01,937 INFO  [STDOUT]      at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:716)<br />2008-05-15 16:40:01,937 INFO  [STDOUT]      at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:388)<br />2008-05-15 16:40:01,937 INFO  [STDOUT]      at <br /><br />[...]<br /><br />2008-05-15 16:40:01,953 INFO  [STDOUT]      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)<br />2008-05-15 16:40:01,953 ERROR [com.adobe.idp.dsc.provider.service.email.impl.write.EmailResultHandlerImpl] Internal error.

    bump...
    Anyone got a fix for this? Vacation auto-reply is being bounced by 3rd party relay server due to malformed sender address.

  • Table name required to find tax value in each PO items

    Hi Guys,
    Need table name where the Tax percentage or amount is maintained for each po line items.
    I tried in KOMG but it a structure and i cannot able to fetch the values.
    Let me know if more details are required for better requirement identification
    Regards
    palani

    hi
    TAX TABLES
    for excise check table J_1IEXCHDR for header
    J_1IEXCDTL for item excise
    The Table name used to find the Tax Values are
    KOMV: Pricing Communications-Condition Record
    KONV: Conditions (Transaction Data)
    From the above tables you can refer the fields below.
    KAWRT
    KBETR
    Fetch the corresponding records based on the field
    KNTYP
    regards
    kunal

  • GL Table Name Require

    Hi,
    I want to know in which GL table i can get following information.
    GL Code     Document No.     Posting Date     Entry Time     Amount.
    Regards,
    Nilesh Surve.
    Moderator: Please, search before posting

    Hi Nilesh,
    You can not find this information in one single table. Please try the below easiest method to get information:
    Execute transaction SQVI
    Give some name and create
    Pop Up apprears, give titile and in Data Source select, table join
    Press Shift+F1
    Give table name BKPF
    Press Shift+F1 again
    Give table name as SBIS or BSAS depending upon the requirement to get clear item or open items
    Press back butto
    Expand the nodes in left side of screen
    Select the items based on which you want to extract the data from table and select the filed for output which you wnat to see in ouput
    Press execute button.
    Belive me by this time you have already created a SAP quick viewer query and by executing you will have the required data.
    Hope this helps!!!
    Murlidhar Khatri

  • Table name reqd for batches and unrestricted stocks records

    Hi friends,
    I required table name of which having consolidated stocks with batch wise.
    ****reports avialable in T.Code:MMBE (here it displays the batches and unrestricted stocks by storage location wise)....
    These details,i want to see in tables.
    MCHA : will list only materials,plant and batche details.
    MARD: will display Storage location data for material with total quantity.
    LIke these, i want to view the table batches and unrestircted stock details of each material.
    Pls, post ur comments and answer as much as possible.
    Thanks & regards
    sankar.

    Got answered from other forum
    thanks

  • Urgent: Table name needed for Real estate

    Hi Experts,
    i have a query relating to the real estate module.
    I want a table name that holds the (VIOROO-rsobjtype) Reservation object type field and (VIBPOBJREL-Partner) Partner field. These fields are contained in 2 different tables.
    Can you help me out here. This is an Very urgent requirement.
    Points will be awarded.
    Thanks in advance.

    Hi,
    Just do like this to know about your tables,
    go to se11,
    give table name as DD03L(which is a table for table fields),
    display,
    excute,
    under the field name input u can VIOROO and VIBPOBJREL
    then excute, u can get the table names for your fields.
    seshu.

  • Bw table names required

    i require
    1>     Table name for new requests loaded in ODS / Functional Module.
    2>     Table name for number of packets loaded in each request.
    plz help..

    RSREQDONE

  • CRM Table Names needed - For CRM Account, Contacts & Activity

    Hi,
    I liked to know "Table Names" for the following entities are stored in SAP CRM System
    (a.)  CRM Accounts
    (b.)  CRM Contacts
    (c.)  CRM Activity
    Thanks,
    Prembabu

    Check the list of CRM Tables;
    BUT000 : BP: General data - Contains Business Partner Number, Partner Category, Partner Type, First Name, Last Name etc.
    BUT020 BP: Addresses
    BUT050 BP relationships/role definitions: General data - Contains Relationship, Partner Number (PARTNER1), Relationship Category
    BUT051 BP Relationship: Contact Person Relationship Similar to
    BUT050 additionally contains Contact Person's Address data
    BUT0BK Business Partner: Bank Data & Details BP Number, Bank Key, Bank Country Key, Bank Account Number
    BNKA Bank Master Data
    BUT100 BP: Roles
    ADR2 Telephone Numbers (Business Address Services)
    ADR6 SMTP Numbers (Business Address Services) - Contains Email – Id of the BP.
    ADRC Addresses (Business Address Services) - BP's Complete Address Details- City, Country, Post Code, District,
    Street, Title No Etc
    TSAD3T Table containing the Title text against a Title No.
    COMM_PRODUCT Master Table for Product
    CRMM_BUAG Master table for Business Agreement
    CRMM_BUAG_H Header Data for Business Agreement such as Tax Category, Tax Characteristic, Form key, Business Agreement Class. Data in this table correspond to ISU
    CRMD_OPPORT_H OPPORTUNITY HEADER DATA
    CRMD_ORDERADM_H Contains the Header Information for a Business Transaction.
    Note:
    1. It doesn't store the Business Partner responsible for the transaction. To get the Partner No, link it with
    CRM_ORDER_INDEX.
    2. This table can be used for search based on the Object Id(Business Transaction No).
    CRMD_OPPORT_H OPPORTUNITY HEADER DATA
    CRMD_CUSTOMER_H Additional Site Details at the Header Level of a Business Transaction
    CRMC_PROC_TYPE Master table Business Transaction Type
    CRMC_PARTNER_FCT Definition of Partner Functions
    SCPRIOT Priorities for Activities with priority text.
    CRMC_PROC_TYPE_T Text for a transaction type
    CRMC_ACT_OBJ_T Objective Number and Text for Activities
    TJ30T All the status code and text
    CRMC_PR_ASSIGN : Transaction Type and its Transaction Type Object.
    IBIB : Installed Base/Ibase
    IBIN : Installed Base Components
    Activities:
    CRMD_ACTIVITY_H Activity Header table
    CRMD_ACTIVITY_I Activity Reporting: Activity Line Item Extension
    CRMD_TM_ACTIVITY Activity reference
    Lead:
    CRMD_LEAD_H Lead Header table
    Opportunity:
    CRMD_OPPORT_H Opportunity Header table
    Reward points if it helps.

  • Crm table names required

    Hi
    i want to get all the activities/leads/opportunities id's for particular sales org created in last 6 months
    could u please kindly suggest how can i develop quickviewr query (SA38)and what are the table name that i should use for linking to extract o/p
    As it is an urgent requirement i request you to kindly throw some light on this
    Regards
    Vinay

    hi,
    why dont you use the standard search functionality. Once you get the result then do the change layout and filter out the records.
    For activities you can use the Activity monitor and for Oppurtunities, lead and order toy can use the standard search functionality.
    Hope this helps.
    Regards
    Arun Kumar
    <b>Reward Points if it helps you</b>

  • How to get the table name in the trigger definition without hard coding.

    CREATE  TRIGGER db.mytablename
    AFTER UPDATE,INSERT
    AS
        INSERT INTO table1(col1)
        SELECT InsRec.col1   
        FROM
        INSERTED Ins
       --Below i am calling one sp for which i have to pass the table name
       EXEC myspname 'tablename'
      In the above trigger,presently i am hard coding the tablename
      but is it possible to get the table name dynamically on which the trigger is defined in order to avoid hard coding the table name

    I really liked your audit table concept.  You inspired me to modify it so that, the entire recordset gets captured and added a couple of other fields.  Wanted to share my end result.
    USE [YourDB]
    GO
    /****** Object: Trigger [dbo].[iudt_AutoAuditChanges] Script Date: 10/18/2013 12:49:55 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER TRIGGER [dbo].[iudt_AutoAuditChanges]
    ON [dbo].[YourTable]
    AFTER INSERT,DELETE,UPDATE
    AS
    BEGIN
    SET NOCOUNT ON;
    Declare @v_AuditID bigint
    IF OBJECT_ID('dbo.AutoAudit','U') IS NULL BEGIN
    CREATE TABLE [dbo].[AutoAudit]
    ( [AuditID] bigint identity,
    [AuditDate] DateTime,
    [AuditUserName] varchar(128),
    [TableName] varchar(128) NULL,
    [OldContent] XML NULL,
    [NewContent] XML NULL
    ALTER TABLE dbo.AutoAudit ADD CONSTRAINT
    PK_AutoAudit PRIMARY KEY CLUSTERED
    [AuditID]
    ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    CREATE NONCLUSTERED INDEX [idx_AutoAudit_TableName_AuditDate] ON [dbo].[AutoAudit]
    ( [TableName] ASC,
    [AuditDate] ASC
    )WITH (STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    END
    Select * Into #AuditDeleted from deleted
    Select * Into #AuditInserted from inserted
    While (Select COUNT(*) from #AuditDeleted) > 0 OR (Select COUNT(*) from #AuditInserted) > 0
    Begin
    INSERT INTO [dbo].[AutoAudit]
    ( [AuditDate], [AuditUserName], [TableName], [OldContent], [NewContent])
    SELECT
    GETDATE(),
    SUSER_NAME(),
    [TableName]=object_name([parent_obj]),
    [OldContent]=CAST((SELECT TOP 1 * FROM #AuditDeleted D FOR XML RAW) AS XML),
    [NewContent]=CAST((SELECT TOP 1 * FROM #AuditInserted I FOR XML RAW) AS XML)
    FROM sysobjects
    WHERE
    [xtype] = 'tr'
    and [name] = OBJECT_NAME(@@PROCID)
    Set @v_AuditID = SCOPE_IDENTITY()
    Delete from AutoAudit
    Where AuditID = @v_AuditID
    AND Convert(varchar(max),oldContent) = Convert(varchar(max),NewContent)
    Delete top(1) from #AuditDeleted
    Delete top(1) from #AuditInserted
    End
    END

  • Reg:Table name require

    Hi ,
    Can you pls tell me what is the table name for open and closed items.

    Please check BSID for Open items  and BSAD for Cleared items.
    Regards,
    Sash

  • Field and table names requested for BAPI_INCOMINGINVOICE_CREATE

    Hi all,
    The following data is being hardcoded in BAPI_INCOMINGINVOICE_CREATE functional module for testing the functioning of this bapi.  Now kindly suggest me how to make this BAPI useful for all PO's.  the following data is being passed into BAPI for generation of invoice.  Kindly provide technical names along with table names for the following fields. 
    HEADERDATA
            INVOICE_IND                    X
            DOC_TYPE                       RE
            DOC_DATE                       24.07.2007
            PSTNG_DATE                   24.07.2007
            REF_DOC_NO                   5000000940
            COMP_CODE                    ACW
            CURRENCY                       INR
            GROSS_AMOUNT             33,750.0000
            CALC_TAX_IND                  X
            BLINE_DATE                     24.07.2007
    iTEM DATA
         INVOICE_DOC_ITEM               000001
         PO_NUMBER                         10070100
         PO_ITEM                                00001
         TAX_CODE                             V0
         ITEM_AMOUNT                       33,750.0000
         SHEET_NO                             1000002022
         ITEM_TEXT                              SDFDS
         SHEET_ITEM                           0000000001
    Thanx in advance.
    Krishna

    Hi I have taken particular PO and Executed the code. It is generating the Invoice Document No. Now it want to remove all the Hardcoding. Code i have used is as follows. How do i remove the hardcoding ?? send meif sample code is available???
    Internal table declaration *
    DATA: gt_headerdata TYPE STANDARD TABLE OF bapi_incinv_create_header
    INITIAL SIZE 0,
    gt_itemdata TYPE STANDARD TABLE OF bapi_incinv_create_item
    INITIAL SIZE 0,
    gt_accountingdata TYPE STANDARD TABLE OF bapi_incinv_create_account
    INITIAL SIZE 0,
    gt_return TYPE STANDARD TABLE OF bapiret2
    INITIAL SIZE 0.
    DATA: gs_headerdata LIKE bapi_incinv_create_header.
    DATA: gs_itemdata LIKE bapi_incinv_create_item.
    DATA: gs_accountingdata TYPE bapi_incinv_create_account.
    DATA: gs_return TYPE bapiret2.
    DATA: l_date TYPE sy-datum.
    l_date = sy-datum - 15.
    Error flag *
    DATA: l_errflag(1) TYPE c.
    Build Invoice header
    Document Type (Invoice)
    gs_headerdata-invoice_ind = 'X'.
    gs_headerdata-doc_type = 51.
    Document Date
    gs_headerdata-doc_date = l_date.
    Posting Date
    gs_headerdata-pstng_date = l_date.
    Reference Document No
    gs_headerdata-ref_doc_no = 323348.
    gs_headerdata-gross_amount = 31.
    Currency
    gs_headerdata-currency = 'USD'.
    Company Code
    gs_headerdata-comp_code = 'D3'.
    Baseline Date
    gs_headerdata-bline_date = l_date.
    **Tax Indicator
    *gs_headerdata-calc_tax_ind = 'X'.
    Build order item(s) - Only 1 is used in this example
    Document Item
    gs_itemdata-invoice_doc_item = 000001.
    Purchase Order Number
    gs_itemdata-po_number = 3700000011.
    Purchase Order Item
    gs_itemdata-po_item = 00010.
    Quantity
    gs_itemdata-quantity = 31.
    gs_itemdata-po_unit = 'Z00'.
    Item Amount
    gs_itemdata-item_amount = 31.
    gs_itemdata-tax_code = 'O0'.
    gs_itemdata-taxjurcode = '0100000000'.
    APPEND gs_itemdata TO gt_itemdata.
    Document Item
    *gs_itemdata-invoice_doc_item = '00002'.
    Purchase Order Number
    *gs_itemdata-po_number = '4700000158'.
    Purchase Order Item
    *gs_itemdata-po_item ='00020' .
    Quantity
    *gs_itemdata-quantity = '5'.
    *gs_itemdata-po_unit = 'Z00'.
    Item Amount
    *gs_itemdata-item_amount = '5'.
    *gs_itemdata-tax_code = 'O0'.
    *gs_itemdata-taxjurcode = '0100000000'.
    *APPEND gs_itemdata TO gt_itemdata.
    Accounting Data
    ***gs_accountingdata-costcenter = 'DUMMY CCTR'.
    *gs_accountingdata-invoice_doc_item = '00001'.
    *gs_accountingdata-xunpl = 'X'.
    *gs_accountingdata-tax_code = 'O0'.
    *gs_accountingdata-taxjurcode = '0100000000'.
    *gs_accountingdata-ITEM_AMOUNT = 100.
    *gs_accountingdata-gl_account = '0003805101'.
    *APPEND gs_accountingdata TO gt_accountingdata.
    *CLEAR :gs_accountingdata.
    *Call the BAPI to Create the Return Order
    data: gv_INVOICE type BAPI_INCINV_FLD-INV_DOC_NO,
    gv_YEAR type BAPI_INCINV_FLD-FISC_YEAR.
    CALL FUNCTION 'BAPI_INCOMINGINVOICE_CREATE'
    EXPORTING
    headerdata = gs_headerdata
    IMPORTING
    INVOICEDOCNUMBER = gv_INVOICE
    FISCALYEAR = gv_YEAR
    TABLES
    return = gt_return
    itemdata = gt_itemdata.
    accountingdata = gt_accountingdata.
    PERFORM error.
    Check and write Return table
    FORM error.
    LEAVE TO LIST-PROCESSING.
    CLEAR l_errflag.
    LOOP AT gt_return INTO gs_return.
    WRITE: / gs_return-type, gs_return-message(200).
    IF gs_return-type = 'E'.
    l_errflag = 'X'.
    ENDIF.
    ENDLOOP.
    PERFORM commit.
    ENDFORM. " ERROR INPUT
    No errors - Commit
    FORM commit.
    IF l_errflag IS INITIAL.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.
    ENDFORM. " COMMIT INPUT
    Thanks in advance
    Krishnasri

  • Custom Approval Screen required for workflow to be executed via CRM Web UI

    My requirement is to create a custom approval screen for workflow. I am Not aware as to how to create a custom approval screen for workflow that could view via CRM Web UI and Execute the workitem as well.
    Experts please help me with the creation of a task with custom approval screen.

    Hi Surjith, thanks for your answer but is not the right one.
    This is an standard method and is working fine, I think the problems must be in some setup I have to do but I'm missing.
    Thanks a lot.
    Regards
    Felipe

  • Tables name required

    dear Friends
    Please let me know in which tables the following Datas are stored
    1. PO
    2. PR
    3. GR
    4. Invoice
    5. FBL1N
    Sakthi.K

    Hi, here are all the tables U asked for - even more:
    MM-PUR (Purchasing)
    EBAN           Purchase Requisition                            
    EBKN           Purchase Requisition Account Assignment         
    EBUB           Index for Stock Transport Requisitions for Materi
    EINA           Purchasing Info Record: General Data            
    EINE           Purchasing Info Record: Purchasing Organization D
    EIPA           Order Price History: Info Record                
    EKAB           Release Documentation                           
    EKAN           Vendor Address: Purchasing Document             
    EKBE           History per Purchasing Document                 
    EKBEH          Removed PO History Records                      
    EKBZ           History per Purchasing Document: Delivery Costs 
    EKBZH          History per Purchasing Document: Delivery Costs 
    EKEH           Scheduling Agreement Release Documentation      
    EKEK           Header Data for Scheduling Agreement Releases   
    EKES           Vendor Confirmations                            
    EKET           Scheduling Agreement Schedule Lines             
    EKETH          Scheduling Agreement Schedules: History Tables  
    EKKI           Purchasing Condition Index                      
    EKKN           Account Assignment in Purchasing Document
    EKKO           Purchasing Document Header                       
    EKPA           Partner Roles in Purchasing                      
    EKPB           "Material Provided" Item in Purchasing Document  
    EKPO           Purchasing Document Item                         
    EKPV           Shipping-Specific Data on Stock Tfr. for Purch. D
    EKRS           ERS Procedure: Goods (Merchandise) Movements to b
    EKUB           Index for Stock Transport Orders for Material    
    EORD           Purchasing Source List                           
    EQUK           Quota File: Header                               
    EQUP           Quota File: Item                                 
    T024           Purchasing Groups                                
    T024E          Purchasing Organizations                         
    T024W          Valid Purchasing Organizations for Plant         
    T024Z          Purchasing Organizations                         
    T027A          Shipping Instructions, Purchasing                
    T027B          Texts: Shipping Instructions                     
    T027C          Codes for Compliance with Shipping Instructions  
    T027D          Compliance with Shipping Instructions: Texts     
    T069           Certificate Categories                           
    T069Q          Control Data for Source Determination and Checkin
    T069T          Certificate Categories: Text Description         
    T160           SAP Transaction Control, Purchasing              
    T160B          SAP Transaction Control, List Displays, Purchasin
    T160C          SAP Transaction Control for List Displays in CALL
    T160D          Function Authorizations: Purchase Order          
    T160E          Function Authorizations: Purchasing: Descriptions
    T160I          Control of Intrastat Reports                    
    T160J          Text Table for Intrastat Reports                
    T160L          Scope of Purchasing Lists                       
    T160M          Message Control: Purchasing (System Messages)   
    T160O          Description of Scope of List                    
    T160P          Entities Table Routines                         
    T160Q          Scope of List: Buyer's Negotiation Sheet: Routine
    T160R          Routines for Buyer's Negotiation Sheet          
    T160S          Selection Parameters for Purchasing Lists       
    T160T          Description of Selection Parameters             
    T160V          Default Values for Purchasing                   
    T160W          Description for Default Values for Purchasing Ope
    T160X          Scope of List: Buyer's Negotiation Sheet        
    T160Y          Scope of List: Buyer's Negotiation Sheet: Descrip
    T161           Purchasing Document Types                       
    T161A          Linkage of Requisition Doc. Type to Purchasing Do
    T161B          Default Business Transaction Type for Import    
    T161E          Release Codes                                   
    T161F          Release Point Assignment for Purchase Requisition
    T161G          Release Prerequisite, Purchase Requisition      
    T161H          Fields for Release Procedure, Purchase Requisitio
    T161I          Determination of Release Strategy               
    T161M          Fine-Tuned Control: Message Types               
    T161N          Message Determination Schemas: Assignment       
    T161P          Check of Document Type, Document Category, Item C
    T161R          REORG Control, Purchasing                       
    T161S          Release Indicator, Purchase Requisition         
    T161T          Texts for Purchasing Document Types             
    T161U          Texts for Release Indicator                     
    T161V          Shipping-Specific Data for Stock Tfr. for Purch.
    T161W          Order Types for Stock Transfer                  
    T161Z          Additional Checks for Outline Agreements on Reorg
    T162           Field Selection, Purchasing Document            
    T162K          Field Selection, Account Assignment Fields, Purch
    T162T          Description of Field Selection Reference Key    
    T162X          Description of Field Groups from T162/T162K     
    T162Y          Groups: Field Selection                         
    T163           Item Categories in Purchasing Document          
    T163A          Check Item Category/Account Assignment Category 
    T163B          Purchase Order History Categories               
    T163C          Texts for Purchase Order History Categories     
    T163D          Assignment Internal/External Confirmation Categor
    T163E          Confirmation Categories                         
    T163F          Confirmation Categories: Descriptions           
    T163G          Confirmation Control                            
    T163I          Texts for Account Assignment Categories         
    T163K          Account Assignment Categories in Purchasing Docum
    T163KS         Assignment of Tax Indicator to Account Assignment
    T163L          Confirmation Control Keys                       
    T163M          Confirmation Control Keys: Description           
    T163P          Release Creation Profile                         
    T163S          Description for Release Creation Profile         
    T163X          "Zombie" T163X                                   
    T163Y          Texts for Item Categories                        
    T165K          Copying Options: Header Texts                    
    T165P          Copying Options: Item texts                      
    T166A          Supplement Text in Purchasing Document Printouts 
    T166C          Print-Relevant Purchasing Document Changes       
    T166K          Header Texts in Purchasing Document Printouts    
    T166P          Item Texts in Purchasing Document Printouts      
    T166T          Change Texts in Purchasing Document Printouts    
    T166U          Headings in Purchasing Document Printout         
    T167           Number Range Management for Purchasing Master Dat
    T167T          Transaction Description                          
    T168           Screen Control, Purchasing                       
    T168F          Function Codes, Purchasing                       
    T168T          Screen Titles                                    
    T16FB          Release Indicators: Purchasing Document          
    T16FC          Release Codes                                    
    T16FD          Description of Release Codes                     
    T16FE          Descriptions of Release Indicators: Purchasing Do
    T16FG          Release Groups                                   
    T16FH          Descriptions of Release Groups                   
    T16FK          Release Statuses                                 
    T16FS          Release Strategies                               
    MM-IM (Inventory Mmgt):
    CHVW            Table CHVW for Batch Where-Used List            
    CHVW_IDX        Batch Where-Used Index Table for Selection of Da
    IKPF            Header: Physical Inventory Document             
    ISEG            Physical Inventory Document Items               
    MARI            Short document: material movement               
    MIGO_INIT       Control Table for Operation in Transaction MIGO 
    MKPF            Header: Material Document                       
    MKPF_ARIDX      Index table for single doc. access to archive MM
    MMIM_PRED       MM-IM Temporary Data                            
    MMIM_PREDOC_ORG Parked Material Documents, Organizational Data  
    MMIM_REP_PRINT  Print Settings, Reporting MM-IM                 
    MSEG            Document Segment: Material                      
    RESB            Reservation/dependent requirements              
    RKPF            Document Header: Reservation                    
    MM-MR (Incoming Invoices)
    BSIM  Secondary Index, Documents for Material
    K003  Sales Tax, Germany                                       
    RKWA  Consignment Withdrawals                                  
    T066  Screen Selection, Invoice Verification                   
    T066K Window Coordinates, Invoice Verification/Valuation       
    T169  SAP Transaction Control, Invoice Verification/Valuation  
    T169A Posting String for Invoice Verification                  
    T169B Notifiable PO Supplement Types                           
    T169D Invoice Verification: Amount Check                       
    T169E Tolerance Limit Keys                                     
    T169F Transaction-Dependent Defaults: Invoice Verification     
    T169G Tolerance Limits, Invoice Verification                   
    T169K Default Values, Account Maintenance                      
    T169O Account Assignment Block: Fields To Be Excluded from IV  
    T169P Parameters, Invoice Verification                         
    T169R MR Document Reorganization - Document Validity Period    
    T169S Tolerance Limit Keys                                     
    T169T Text Table for Tolerance Limits                          
    T169V Default Values, Invoice Verification                     
    T169W Posting Strings (Values) for SAPMM08R                    
    T169X Transaction Texts: Invoice Verification                  
    MM-MRM    
    RBCO         Document Item, Incoming Invoice, Account Assignment
    RBDIFFKO     Invoice Verification - Conditions                  
    RBDIFFME     Batch Invoice Verification - Quantity Differences  
    RBDRSEG      Batch IV: Invoice Document Items                   
    RBKP         Document Header: Invoice Receipt                   
    RBKPB        Invoice Document Header (Batch Invoice Verification
    RBKP_BLOCKED Logistics Invoice Verification: Blocked Invoices   
    RBSELBEST    Invoice Receipt, Purchasing Documents Selection    
    RBSELERFB    Invoice Receipt, Service Entry Sheet Selection     
    RBSELFRBR    Invoice Receipt, Bills of Lading Selection         
    RBSELLBLN    Invoice Receipt, Bills of Lading Selection         
    RBSELLIFS    Invoice Receipt, Delivery Notes Selection          
    RBSELWERK    Invoice Receipt, Plants Selection                  
    RBTX         Taxes: Incoming Invoice                            
    RBVD         Invoice Document - Aggregation Data                
    RBVDMAT      Invoice Verification - Aggregation Data, Material  
    RBVS         Invoice Verification: Split Invoice Amount         
    RBWS         Withholding Tax Data, Incoming Invoice             
    RBWT         Withholding Tax Data, Incoming Invoice             
    RSEG         Document Item: Incoming Invoice                    
    T003R        Number Ranges RE_BELEG (Logistics Invoice Verificat
    T003S        Document Types for Storing Documents (Log. IV)     
    How to get these? - Call SE16 and Press <F4> and seelect in the Pop-Up
    "SAP Applications" and then browse through "MM" . . .
    Hope this helps - plse reward if helpful.

Maybe you are looking for