Reg:Tables for Workflow

Hi All,
My requirement is as follows...
I need to create one new program based on contract number when I executed that program it should show the status of approval where itu2019s pending whether rejected or approved and comment of approved / rejected . If he regenerated same contract   we have to pick current status with comments and old status with comments.
Workflow is full developed from Scratch.I can say it is zworkflow.
This is very urgent plz help me.

OK, with function SAP_WAPI_WORKITEMS_TO_OBJECT and BUS2032 you can get the work items that are connected to the contract. That is the first step. Now you have the work items.
Now you can read the container values of the work items with SAP_WAPI_READ_CONTAINER.
The status of the contract you will hopefully get from the contract table (if the contracts have this kind of information). If not, then you probably need to read it from the container.
Just take a look into a technical workflow log of one contract workflow instance and check the container values there. Then play around with SAP_WAPI_READ_CONTAINER in SE37 and see what it returns. You should get pretty good idea how the function work. Also check other SAP_WAPI* functions - there are plenty of useful stuff.
It is impossible to give detailed instructions since we don't see your custom workflow and you don't provide too much information.
Regards,
Karri

Similar Messages

  • Reg:Table for Custom Messages and custom Messaege Classes

    Hi ,
    My requirement is to find out all custom messages . so can any one tell in which tables all custom messages and custom message classes are stored .
    Thanks & Regards,
    Lakshmi.

    hi,
    You can checkthese tables listed below,
      T100                             Messages
      T100A                            Message IDs for T100
      T100C                            Message Control by User
      T100O                            Assignment of message to object
      T100S                            Configurable system messages
      T100SA                           Application Areas for Configurable Messages
      T100T                            Table T100A text
      T100U                            Last person to change messages
      T100V                            Assignment of messages to tables/views
      T100W                            Assign Messages to Workflow
      T100X                            Error Messages: Supplements
      T100ARBGB                    Application Area
    But The main table for storing all the message classes and their numbers are stored in table
    T100

  • Tables for workflow process

    Hi ACE,
    Can you please provide me table where we can find about the workflow, gives following information
    1. Workflow need to determine where exactly is the request pending.
    2. On what date and time were the workflow requests submitted / Approved / Maintained.
    3. Whether the workflow request is Completed or In-Progress.
    Thank you so much for helping me in advance.
    K@$TURI

    Hi,
    Using the FM You can get the Agent & Workflow Details SAP_WAPI_GET_WORKITEM_DETAIL and SAP_WAPI_WORKITEM_RECIPIENTS.
    Check this Tables 
    SWWORGTASK - Assignment of WIs to Org.Units and Tasks
    SWWUSERWI - Current Work Items Assigned to a User
    Other Tables for Workfow
    SWWWIHEAD - Header Table for all Work Item Types
    SWW_OUTBOX - Lists Workflows in outbox together with status
    SWW_CONT - Container Contents for Work Item Data Container
    SWW_CONTOB - Container Cont. for Work Item Data Container (Only Objects)
    SWWLOGHIST - History of a work item
    Regards,
    Surjith

  • Database table for Workflow Container values

    hi,
    I am on SAP ECC 6.0
    I am trying to find workflow id number starting from document number
    I try to find database table which has containe values of the workflow instances so that I can get workflow/workitem instance numbers for the document
    this is custom workflow and it is not based on business object type. so checking container values is the onlyway I can get the workflows
    but I am not able to find any table for it
    I have checked following
    SWW_CONT
    SWW_CONTOB
    SWWVCONTWI
    SWXML_CONT
    SWJ_CONT
    SWJPCONT
    SWJSCONT
    SWPCMPCONT
    SWU_CONT1
    SWUOCONT1
    almost all the SWCONT tables
    Morever I put St05 trace to see all the tables in database operations while triggering the workflow
    but the only tables seen here are
    SWWHRINDEX
    SWD_CONT  
    SWWWIHEAD
    SWWCNTP0  
    SWWLOGHIST
    SWWWIRET  
    SWWCNTP0  is Workflow Container: XML Database (P0)
    but it is XML structure data. so its of new use to query container fields.
    is this reason because of any workflow design or system config ?
    how to read container values from database tables in such case?
    thanks
    bhakti

    Hi,
    >i need to display an ALV list with list of invoices and whether the workflow is awaiting / approved / rejected for review / approval. and who did the approval / rejection action
    This you should be able to read from container now, if you have FIPP instance.
    >the workflow has two steps - review and approve and so i would query table swwwihead for the parent id of workflow and then based on task number see which is ready status task and find if its awaiting approval or rejection
    Don't do any selects to SWWWIHEAD unless you have some really specific reason. Just use SAP_WAPI* functions. You should be able to get each depended work item etc. easily with the standard functions.
    >apart from this, several data like amount values, reference document, creation date and whole lot of invoice item and header level data is required which needs to be taken from workflow container
    Why would you read this data from container? This data is in the SAP tables VBKPF, etc. There should be even functions to get all data related to an invoice - try to search for example with READPRELIMINARY* (read preliminary invoice).
    In general:
    1) if you have invoice number, get all related work items with a SAP_WAPI* function
    2) if you have only the top WI ID, use SAP_WAPIDEPEND function to get the depended work items
    3) with above function you probably will get also the status of the tasks / work items, so you don't need select in SWWWIHEAD
    4) Now you have the "status" and the workflow data for the invoice
    5) read the invoice data from standard FI tables (unless there is some specific reason to get it from WF container, and if there is, then I think that you might be having some fundamental problems in your design)
    Regards,
    Karri

  • Reg: Tables for Catalog Area

    Hi Friends,
    Can anyone get me the Tables for Catalog, bcz when i am adding a product in a catalog, i want to know which table it is getting update for catalog, so that i can get a link b/w catalog area and product for my requirement.
    Venki

    hi Venkatesh Muthan,
    based on experience building customized web product catalog, there is several tables is used in product catalogs
    here the list of them :
    CRMM_ISA_SHOP_H -> list of web shop for internet sales
    CRMM_ISA_SHOP_HT -> list of web shop description for internet sales
    COMM_PCAT_HDR -> product catalog
    COMM_PCAT_HDR_T -> product catalog description
    COMM_PCAT_CTY -> Product Catalog Area
    COMM_PCAT_CTY_T -> Product Catalog Area Description
    COMM_PCAT_CTV -> Product Catalog Area - Version
    COMM_PCAT_VRT -> Product Catalog Variant
    COMM_PCAT_VRT_T -> Description of Product Catalog Variant
    COMM_PCAT_VRT_IP -> Price Determination of Product Catalog Variants
    COMM_PCAT_VRT_PU -> Product Catalog Variant-Publication Status
    COMM_PCAT_VIEW -> Product Catalog View
    COMM_PCAT_VIEW_T -> Product Catalog View Description
    COMM_PCAT_VITM -> Product Catalog View-Item
    COMM_PCAT_ITM -> Product Catalog Item
    COMM_PCAT_ITV -> Product Catalog Item- Version
    COMM_PRODUCT -> Product
    COMM_PRSHTEXT -> Product Description
    COMM_PCAT_VPRP -> Product Catalog View-Partner Product Selection
    CRMM_PRP_BUPA_I -> Partner/Product Range Item-Partner Assignment
    please award points if helps
    regards
    eddhie

  • Reg: Tables for Batchman jobs

    Hi Experts ,
    Is there any table which gives the information about scheduling of batchman jobs i.e. table should give the list of the batchman jobs that are scheduled daily, weekly, monthly.
    I found some tables but these tables(J_5H1_RUNTIME, J_5H1_BWAAPL) but these tables gives the information about the batchman jobs that are already started, but i need the table that gives the information about the batchman jobs that yet to be start but already scheduled.
    Please help me, points will be given.
    Thanks in advance
    naga
    Edited by: Nagaraj Gumatimath on Aug 9, 2011 12:28 PM

    Hi srinivas, Subash,
    Thnks for your info.  as I mentioned the question after finding the status of the BATCHMAN JOBS I need to mail that status to an external mail, so for this I need to fetch status data from  STANDARD TABLE into internal table and pass this internal table to function module to send a mail.  But I am not able to find the STANDARD TABLE that gives the status of the BATCHMAN JOBS, I have gone through tables TBTCO, TBTCS but these tables does not contain information about Batchman jobs( Eg: B1_STAGING_SAP_PC_COS,  B1_OTIF_EMEA_LOAD), so please help me in finding the appropriate Standard Table.

  • Reg; Table for link between plan and sales organization for a material

    Hi,
    I created a material for two plants and maintained one sales org, now i wnt to know the table to find the link betwen plants and sales organization wtih respective materials.
    Pls Help me......
    Thanks,
    Anto.

    hi,
    check tables MVKE, MARC and MARC...
    You can view them in SE16/SE11 tcode...
    Regards
    Priyanka.P

  • Runtime Tables for Workflow Builder

    Hi,
    Once the process flow is designed in workflow, I need to execute the jobs through OEM. To know the status of execution (whether completed, how many records are extracted, how many records are inserted, how many records are rejected, any errors) in which runtime table can I get the information.
    Regards
    Kishan

    Hi,
    If you know your item key, you could get those informations in WF_ITEM_ACTIVITY_STATUSES table.
    Regards,
    Luiz.

  • Tables for Work flow levels in IMA11

    Dear Experts,
    Can any one help me out in finding the tables for WORK FLOW Approval Levels and where these tables(standard tables in SAP) are stored in? or can anyone give me the list of tables for workflow in Investment management in IMA11 for approval levels?
    Thanks,
    sanju..

    Hi Sanju,
    For IMA11, please refer the table IMAK.
    Hope it will be useful.  Appreciate with point if it is useful.
    thanks
    Vetrivelan

  • Table to update the substitutes for workflows

    Hello, as it is the table to update the substitutes for workflows?

    Hi,
    Yes - HRUS_D2
    Try using function module RH_SUBSTITUTES_LIST or RH_SUBSTITUTION_MAINTAIN to do the maintenance of substitutes.
    If this is done in the background then there is an RFC function module (don't know this off by heart though)
    Regards
    Robin

  • Difference in workflow tables for the versions 4.6C and ECC

    Hello,
    Could someone please let me know as to what changes have been made by SAP in the workflow tables from 4.6c to ECC version?
    Thanks,
    Samson

    Hi
    Check these Tables
    SWW_OUTBOX - Lists Workflows in outbox together with status
    SWW_CONT - Container Contents for Work Item Data Container
    SWW_CONTOB - Container Cont. for Work Item Data Container (Only Objects)
    SWWLOGHIST - History of a work item
    SWWORGTASK - Assignment of WIs to Org.Units and Tasks
    SWWUSERWI - Current Work Items Assigned to a User
    SWWWIHEAD - Header Table for all Work Item Types
    SWW_WI2OBJ - Workflow Runtime: Relation of Work Item to Object
    Regards,
    Surjith

  • 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

  • MRP list out put tables for header and item -reg

    Hi ,
    What is the table to be used for MRP out put
    header is MDKP
    for item what is the table ?
    regards,
    madhu kiran

    Dear,
    Tthe MRP item data is stored in a data cluster. The database
    table is MDTC, and the data cluster area is ar. Use the following command to
    import the data from the data cluster:
    Import <structure> from database mdtc(ar) ID <key>.
    The ID key value comes from the field dtnum (Number of the material
    requirements planning table) in table MDKP
    MDKP MDTB MDKP
    Please refer this also,
    [Table for MRP item|table for MRP item]
    Regards,
    R.Brahmankar

  • Table for storing the substitutes in workflows.

    Hi ,
    I would like to know the table in which all the sustitute reletionship is stored i.e for which user who is the substitute.
    Regards
    Aditya

    Hi Aditya,
                  The table for the entry you specified in the question is HRUS_D2.I hope your query resolves soon.Have a best day ahead.

  • Table for Customer and vendor open balance on a key date

    Dear All,
    Can anyone please let me know Table for Customer and vendor open balance on a key date. We are developing one customized report.
    I have checked with the below table :
    Customer-KNC1, KNC3,BSID, BSAD
    Vendor-LFC1, LFC3, BSIK, BSAK.
    But these are not working properly for all customers and vedors. Also, in open items, there are items with clearing documents.
    Plesae let me know, how to go for it.
    Please suggest.

    Hi
    Use BSID and BSIK for open items
    And pass company code, year and from date and to date range in Posting date selection option
    Reg
    Vishnu

Maybe you are looking for

  • How to delete the requests in DTP?

    hi all, here i am unable to delete the requests in DTP... when i am going to delete the request in DTP it simply showing the error: *cannot lock request DTPR_488BDVJVHQPUUTT3R383DJ55Q OF TABLE 0MATERIAL for deletion* could you plz help me on this....

  • Very-urgent----ALV as email

    Hai Gurus ,             What is the short key to run a program in background .. ?              I want to run a program (ALV report)in background to get a spool number .after this I want to send this report in email as PDF format ..            very ur

  • OS 9 not booting after Norton disk fix

    Background -> I am a Mac nub. I am considering switching from pc to Mac at home because I hate windows stability. Question -> I was given a G3 Beige with OS 9.0. Norton utilities software was installed and while running the disk checker (I don't reme

  • KSB1 report

    hello, is there a way i can see only open items when i run ksb1 report for cost centers. Thanks

  • Do we need Oracle HTTP server to host Oracle Apex ?

    We are completely new to this Oracle Apex. Wanted to know the licensing part of it , before we get into it. I guess Oracle Apex is free as it comes with the Oracle database license. 1) Do we need some kind of HTTP server to host the Apex on the brows