How the workflow determine if a job is finished ?

Hi ,
Sombody told me , the workflow can't determine the job finish, if job be triggered at background mode ?
Is that ture ? or we can have some functions to determine the job finish ?
Thanks !

Hi,
Follow this links
http://www.coe.org/EventsEducation/COENewsNet/JulyAugust2007/TechnologyUpdate/tabid/605/Default.aspx
http://www.cadinfo.net/editorial/dct.htm
For Creation
http://help.sap.com/saphelp_ides/helpdata/en/0a/857463c87611d1a7760000e8a5f6c8/content.htm
http://big4guy.com/index.php/2006/01/29/sap_interview_faqs_what_is_a_bill_of_mat

Similar Messages

  • How the stock determination process works

    Hi All
    Can any one tell me how the stock determination process works in inventory management?
    if possible give me the steps involved in stock determination process .
    Regards
    M S K

    Hi
    i hope this helps
    http://help.sap.com/saphelp_47x200/helpdata/en/d8/2f3746996611d1b5480000e82de955/frameset.htm
    regards
    maniraj

  • How the account determination takes place for cost center

    Hai
    Can any one explain me in detail (as i am  new to this topic) how the account determination takes place when i raise a P.O for cost centre and do G.R for the same? If possible pl send me links also related the above.
    Thanks

    Hi,
    Once u have given account assignment category 'K', then system will pick automatically G/L account from the OBYC settings for the combination of Valuation modification code, account modifier (VBR) & Valuation class.
    From the OME9 transcation, system will pick transcation key for the respective account assignment category.
    For the account assignment category 'K', account modifier is 'VBR'.
    Here masterial master record (MMR) is optional. If you are giving MMR in the PO, system will pick valuation class from the MMR.
    If MMR is not giving, then system will pick valuation class from the transcation OMQW. Here you need to maintain valuation class aganist material group, which is u r giving in the PO. ( This is optional)
    In the OBYC transcation, for the transcation key GBB you need to maintain G/L account for the combination Valuation modification code, account modifier (VBR) & Valuation class.
    Also maintain one more entry in the transcation key GBB, maintain G/L account for the combination Valuation modification code, account modifier (VBR) & Valuation class field is blank.
    Once you have given account assignment category 'K' in the PO, system will pick G/L for the combination Valuation modification code, account modifier (VBR) & Valuation class. This is happening before giving the cost centre.
    If you are not maintaining MMR in the PO and not maintaining valuation class aganist material group in the transcation OMQW, the system will pick G/L account for the combination of Valuation modification code, account modifier (VBR) & Valuation class field is blank.
    So in your case, check valuation class aganist material group in the transcation OMQW and maintain G/L in the OBYC for the respective combination. If valuation class is not maintained aganist material group in the transcation OMQW and maintain one more entry in the OBYC with the blank valuation calss field.
    Regards
    KRK

  • How the system determines the Requirement type  for one sales order

    Hi,
    SAP-SD Gurus,
    Please tell me how the system determines the Requirement type  for one sales order?
    Thanks & Regards,
    Sreenivas.P

    Hi,
    System follows some search criterial to determine the requirement type
    1. First, an attempt is made to find a requirements type using the strategy group in the material master.
    2. If the strategy group has not been maintained, the system will determine it using the MRP group.
    3. If the MRP group has not been defined, the system uses the material type instead of the MRP group when accessing the corresponding control tables.
    4. If no requirements type is found here, the system assumes a special rule and attempts to find a requirements type with the aid of the item category and the MRP type.
    5. If this is not possible, a last attempt is made to find a requirements type with the item category only.
    6. If the last attempt fails, the system declares the transaction as not relevant for the availability check or transfer of requirements.
    Please check the path
    SPRO->SALES & DISTRIBUTIONS->BASIC FUNCTIONS>AVAILABILITY CHECK AND TOR->TRANSFER OF REQUIREMENTS--->DETERMINATION OF REQUIREMENT TYPE USING TRANSACTION.
    Hope it will clarify
    regards,
    santosh

  • How the Workflow container is being filled up

    Hi,
    There is a customized Workflow is already maintain in the system which is responsible for triggering when The Personal data has been changed from the ESS portal and it will send to the manager for approval.In the workflow the first step is an activity step (Personal data) which is importing the values and exporting the status and reason for the same.
    I am not able to understand how the values is coming in the the above activity step...After modify the personal data in ESS will it be stored in the database table or from where is it coming?

    Hi
    As you are saying that when ever there is a change in the infotype PA0002 which is personal data of the employee then IN that case the workflow is triggered and you want to know from where this data is getting passed and workflow is triggered right,
    You can check in the Transaction SWEHR2 or SWEHR3 where they might have maintained some kind of event linkage between the workflow which is getting triggered.
    Or some kind of RFC might have been configured in the portal so that when ever you click on Save button then this RFC is called from portal and directly by making use of SAP_WAPI_START_WORKFLOW. they might be starting the workflow.
    Regards
    Pavan

  • Find how the Workflow OTA_LNR_TRNG_CANCEL_JSP_PRC is getting triggered

    Hi all,
    Hi I am new to workflows.
    I have been trying to find out like crazy, how exactly the following Workflow is being triggered?
    Workflow Process Internal name: OTA_LNR_TRNG_CANCEL_JSP_PRC
    Workflow Process Display name : Cancel Learning Enrollment
    The following is what exactly happens:
    Using the Responsibility Learner Self-Service-->Learner Home
    In the Home Tab, under enrollments, a list of all the courses that the user has enrolled for is displayed.
    now i un-enroll, using the Un-Enroll button.
    Now you come to the Unenroll: Pre Assessment page, where you select the New Status and Reason. Then press Finish.
    You will get a confirmation and also a notification will be sent to you and your supervisor.
    I need to customize this workflow, buti am unable to find out how is this workflow getting triggered.
    I found out in the OAF page that when the un-enroll button is being pressed a form function OTA_LEARNER_CATALOG_ENROLL_DTL is being callled and this does has Form parameters:
    pCancelProcessName=*OTA_LNR_TRNG_CANCEL_JSP_PRC*&pCancelCalledFrom=OTA_LEARNER_CATALOG_ENROLL_DTL&pItemType=HRSSA
    But when i change the value of the pCancelProcessName to my custom process name, it still is refering to the seeded WF process.
    Can anyone help me figure out where exactly is this workflow being triggered. Am really going nuts now? :S

    I think that the WF is being called from an API
    OTA_DELEGATE_BOOKING_API.UPDATE_DELEGATE_BOOKING
    AND IN THAT THIS PARTICULAR CONDITION:
    IF l_type ='C' and l_delegate_contact_id is null and l_contact_id IS NULL
    and nvl(p_source_cancel,'-1') <> 'AME'
         and l_event_rec.event_type in ('SCHEDULED','SELFPACED') then
    OTA_LRNR_ENROLL_UNENROLL_WF.learner_unenrollment(p_process => 'OTA_LNR_TRNG_CANCEL_JSP_PRC',
    p_itemtype => 'HRSSA',
    p_person_id => l_person_id,
    p_eventid => p_event_id);

  • How does workflow retrieve users under an org. unit when sending email

    Dear All:
    Workflow supports sending email activity where you can specify the receipt type and receipt ID. For example, the email is supposed to send to the users within an organizational unit.
    I am just wondering how SAP workflow determines the users within an organizational unit? Does it use HR-ORG evaluation path to get objects under an org. unit?
    Many Thanks in advance!
    Haifeng

    Hi,
    For example, the email is supposed to send to the users
    within an organizational unit.
    Yes workflow template and standard task are also part of organizational unit. As you mentioned that the if the recipient type is choosen as Organizational Object then the workflow system will try to fetch the data from the organizational unit based on the recipient ID you provided in the mail step let say if you are using the recipient id as position Id then workflow system will try to get the data from the organizational unit
    Org object types supported by the workflow system are US, C, S, O....
    If at all the you choose the workflow recipient type as email address which can be a external address then in that case it just simply makes use of BCS communication methods and and in this case your SCOT settings must be configured properly.
    The difference between the first and second  is, in the first case the work items or mails/documents will be sent to sap inbox (SBWP) in the second case it depends on the mail ID you mention for example a outlook mail ID.
    Regards
    Pavan

  • Error Occured when trying to progress through the workflow

    Tried to move a project from one stage to the next in the workflow and an error popped up saying,
    Workflow: Workflow Terminated
    An error has occurred in the workflow.
    Now when you open the project in PWA instead of seeing the image of the workflow there is a message that reads,
    Stage Status image - There is no workflow status to communicate because the project is not yet created
    Any thoughts....

    EPM Admin
    Try restarting the workflow.  If that doesn't work, then you need to provide a whole lot of details on how the workflow is built, what version you are running, was it working before etc.
    CHeers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • How the system picks BED,SED and CESS

    Hi Gurus,
    I want to know how the system picks the BED,SED  and CESS while doing the J1IIN. Actuvally i maintained the condition records in VK11. But upto Billing document all the excise duties are coming right. But in J1IIN these values are not coming. Is there any place to mention the BED ,AED, SED other than VK11?
    Reegards,
    jyothi.

    Hi Friend,
    Please check all these settings and find out what are you missing,
    IMG > Logistics - General > Tax On Goods Movement > India > Basic Settings > Determination of Excise Duty >
    Condition-Based Excise Determination 
    When you enter a purchasing document, for example, a purchase order, the R/3 System automatically calculates the applicable excise duties using the condition technique.
    Features : The standard system comes with two tax calculation procedures. TAXINN is only supports condition-based excise determination, whereas TAXINJ supports condition-based excise determination and formula-based excise  determination. Both tax procedures contain condition types that cover all of the excise duties and sales taxes applicable.
    Since the exact rates of excise duty can vary on a large number of factors, such as which vendor you purchase a material from, or which chapter ID the vendor stocks the material under, you create condition records for every sort of excise duty.
    When you come to enter a purchasing document, the system applies the excise duty at the rates you have entered in the condition records.
    Customizing : Make the settings in Customizing Basic -> India -> for Logistics – General, by choosing Taxes on Goods Movements Account -> Excise Duties Using Condition Technique and …-> Settings Determination. 
    These activities include one activity where you define a tax code for condition-based excise determination.
    Master Data - Create condition records for all excise duties that apply, and enter the tax code for condition-based excise determination in each. 
    Day-to-Day Activities -  When you enter a purchase order or other purchasing document, enter the tax code for condition-based excise determination in each line item. The system then calculates the excise duties using the condition records you have created.
    When the ordered materials arrive, you post the goods receipt and the excise invoice. The system posts the excise duty to the appropriate accounts for deductible input taxes when you enter the excise invoice. 
    Creating Condition Records for Excise Duty 
    1. In the command field, enter FV11 and choose . 
    2. Enter the condition type that you want to create a condition record for and choose . 
    The Key Combination dialog box appears.
    3. Select the combination of objects that you want to create the condition record for.   On the dialog box, Control Code means "chapter ID." So, for example, to create a condition record for a tax that applies to a combination of country, plant, and chapter ID, select Country/Plant/Control Code.
    4. Choose . 
    5. Enter data as required.  - In the Tax Code field, enter the dummy tax code that you have defined. 
    6. Save the condition record. 
    Formula-Based Excise Determination  -  When you execute a business transaction involving materials that are subject to excise duty, the system automatically calculates the duty for you.
    In order for the system to be able to determine which rate of excise duty to apply, you must have maintained all the data on the Excise Rate Maintenance screen, which you can Master Data®access from the SAP Easy Access screen by choosing Indirect Taxes Excise Rate Maintenance. 
    You maintain the following types of data:
    - Plant master data
    You assign each of your plants an excise duty indicator. You can use the same indicator for all the plants with the same excise status from a legal point of view, such as all those that are in an exempt zone. See also the information about manufacturers that are only entitled to deduct a certain portion of the duty (see Partial CENVAT Credit).
    - Vendor master data
    For each of your vendors with the same excise status from a legal perspective, you define an excise duty indicator. You must also specify the vendor type – for example, whether the vendor is a manufacturer, a depot, or a first-stage dealer. You must also stipulate if the vendor qualifies as a small-scale industry.  For each permutation of plant indicator and vendor indicator, you then create a final excise duty indicator.
    - Customer master data
    Similarly, you assign the same excise duty indicator to each of your customers that share the same legal excise status.
    Again, for each permutation of plant indicator and customer indicator, you then create a final excise duty indicator.
    - Material master data
    Each material is assigned a chapter ID. 
    - Excise tax rate
    For every chapter ID and final excise duty indicator, you maintain the rate of excise duty.
    If your business only qualifies for partial CENVAT credit, you must customize your system accordingly. 
    Let us consider an example to illustrate how the system determines which rate of excise duty to apply to a material. Assume you are posting a sale of ball bearings to a customer. The system automatically determines the rate of excise duty as follows:
    1. Looks up the customer master data to see what status you have assigned the customer. 
    Let's assume you've assigned the customer status 3. 
    2. Looks up the plant master data to see what status you have assigned the plant. Similarly, your plant has status 2.
    3. The system looks up the table under Excise Indicator for Plant and Customer to see what the final excise duty indicator is for customer status 3 and plant status 2: It is 7. 
    4. The system determines the chapter ID of the ball bearing for the plant. 
    Let’s assume the chapter ID at plant for the ball bearings is 1000.01.
    5. Finally, the system looks up the table under Excise Tax Rate to see what rate of duty applies to chapter ID 1000.01 under 
    status 7. 
    Define Tax Code for Purchasing Documents -  In this IMG activity, you define a tax code for the purposes of calculating excise duty when you enter purchasing documents. Only carry out this activity if you use condition-based excise
    determination. 
    - Create a new tax code, and set the tax code type to V (input tax). Do not make any other settings for it.
    - Assign Tax Code to Company Codes
    In this IMG activity, assign the tax code for purchasing documents to the company codes where it will be used.
    Only carry out this activity if you use condition-based excise determination.
    Classify Condition Types - In this IMG activity, you specify which condition types you use for which sort of tax. Note that this only applies to condition types that you use with the new excise determination method. The system uses this information when you create a document from  another one. For example, when you enter an incoming excise invoice from a
    purchase order, or when you create an outgoing excise invoice from a sales order, the system determines the various excise duties in the excise invoice using the information that you have entered here. In addition, when you create a purchasing document, the system only uses the condition types that you enter here.
    - For taxes on purchases, use the condition types contained in the tax procedure.
    - For taxes on sales, use the condition types contained in the pricing procedures.
    The standard system comes with sample settings for the tax calculation procedures and pricing procedures.
    Use these settings as a basis for your own.
    IMG > Logistics - General > Tax On Goods Movement > India > Account Determination
    Define G/L Accounts for Taxes - In this IMG activity, you specify which G/L accounts you will use to record which taxes.
    Requirements - You have set up G/L accounts for each of the processing keys listed below.
    - Assign an account to each of the following posting keys. The accounts for VS1, VS2, and VS3 are used as clearing accounts during excise  invoice verification.
    - VS1 (basic excise duty)
    - VS2 (additional excise duty)
    - VS3 (special excise duty)
    - VS5 (sales tax setoff)
    - MWS (central sales tax)
    - MW3 (local sales tax)
    - ESA (service tax)
    - ESE (service tax expense)

  • Hi,How the work flow link to Webform

    How the workflow link to webform?
    How the workflow start from step by step?
    is there any standered methdos for webforms?

    Hi,
    Check this link if you are looking for Webflows.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9b/9f9138d380f50fe10000009b38f8cf/frameset.htm
    If not, let us know your requirement more clearly. Do you want a form in Web? If so, you want an HTML form or Adobe form?
    Regards
    <i><b>Raja Sekhar</b></i>

  • How to determine the time duration of each job for a particular report

    Hi guys,
    I am facing a very interesting problem which I want to share with all of you-hoping to get some input from you
    enlightened fellas :).
    I have vendor and vendor sub-range maintained in one custom table. For each vendor I have got article site combination maintained in another table. The thing is I have to execute this program in background. Now for each vendor I may have only 1 article or multiple articles. So if I schedule the job for 60 min. say then for 1 article the time alloted will be too big and for multiple articles the time alloted may prove to be too small. Another thing from a functional point of view is a vendor which has 1 article today may have more articles added to his name tomorrow (if the customer likes his product the company may buy more from him). So the point is we have to dynamically adjust the time alloted for each job.
    I could not find any utility in ABAP which can do this.
    Can any of you please help me?
    Thanks a lot !
    Hasso.
    Edited by: Hasso14 on Apr 28, 2011 3:06 PM

    Exaactly-only I want to find the best time needed to finish for an article or multiple articles i.e I do not know how many articles will be available for each vendor beforehand before doing a select on the 2 tables. But once I know the number (maybe 1 or more than 1) I want to allot the best time for that article/lot of articles(maybe JOB_OPEN  technique ?).Also the number of articles may vary over time so the algorithm should take care of that too.-quite a tricky prob :)-I would request the others to see this reply which I think will clarify their doubts.
    Edited by: Hasso14 on Apr 28, 2011 9:03 PM

  • How do we determine if the BW system is running  slow?

    Dear BWers,
    How do we determine if the BW system is running slow? I have a situation where it is taking about 1 hr 30 min to load 700,000 records from the application server with direct mapping and no major transformations. How do i conclude if my BW system is running slow? Is there any documentation on this or benchmarks to analyze this? All and any help is appreciated.
    Thanks
    Raj

    The time taken to load depends on a few factors like the following:
    1. network bandwidth
    2. system memory on the application server.
    3. available processes in the application server to start the job
    Make sure to load the master data, activate them and also apply change run before you load the transaction data. If you have secondary indexes, make sure you delete them before laoding data. I will suggest to have sequential load and put all the processes in a process chain. Where ever you can, try to split the package size. But in your case, the no of records is not that much and so you should be fine with one info package.
    Ravi Thothadri

  • Urgent:How to get the Sqltext for Oracle Sumbitted Jobs in 10g

    Dear All,
    Could you help me out in sorting the below problem.
    I use to get the current running sql's with following below query in 9i.
    SELECT A.SID,B.HASH_VALUE, OSUSER, USERNAME, SQL_TEXT
    FROM V$SESSION A, V$SQLTEXT B
    WHERE B.HASH_VALUE = A.SQL_HASH_VALUE
    AND USERNAME LIKE upper('%SCHEMA%')
    ORDER BY B.HASH_VALUE, B.PIECE;
    This is will work in 10g also for user-triggered sqls,stored procedures etc.
    But when oracle submits job i'm not able find which qurery is running.
    Seems For oracle jobs in 10g for V$session contain column SQL_HASH_VALUE as Zero and hence i'm not able find the any sql's running.
    Could you please any of you help me out how to get the Sqltext for Orcle submited Jobs in 10g.
    Please revert asap as this is very urgent for me.
    Thanks in Advance
    Anil.

    Have you tried to query WF_ITEMS? -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=WF_ITEMS&c_owner=APPLSYS&c_type=TABLE
    bde_wf_item.sql - Runtime Data of a Single Workflow Item [ID 187071.1]
    Thanks,
    Hussein

  • How to change the workflow agent manually ?

    Hi,
    We encountered a situation where the workflow was received in error by a person. We are unable to determine the root cause of the problem as it was the first and last time we encountered this situation and we are unable to replicate the same error again.
    I want to remove this workflow from that person's inbox manually and assign it to the intended recipient, how do I do this ? Could someone help me out with this situation, thanks.

    Yes i agree with rick,
    Dont think that WF log can be deactivated also if this is the case then how can you see workitem, may be the case that you dont have auth to view wf log (or if are using latest ECC versions then when u execute transaction SWi1 and open any workitem then type ctrl+p this will lead you to workfow log).
    Try using SWI1, as workaroung you can use transaction SWIA to forward workitem to desired agent.
    -Swapnil

  • How does workflow retrieve users under position/job when sending email

    Dear All:
    This question is after my thread before: 'How does workflow retrieve users under an org. unit when sending email", my further question would be how to get users under a position/job.
    I find the evaluation path 'WF_ORGUS' that is delivered by SAP, and I am wondering whether it will cover all my cases: to retrieve users under an org. type including org. unit, position and job.
    Thanks in advance!
    Haifeng Hu

    Hello,
    Okay, I misunderstood. You don't get to specify the evaluation path - if you fill in a Position then SAP fetches the users in that position. It works, so I haven't thought about it any further. Any reason you want to know exactly how it is done?
    regards
    Rick Bakker
    hanabi technology

Maybe you are looking for

  • Function Code can not be selected

    Dear expert, Please help me, there is a uploader For MIGO, USer is uploading data using this uploader, Sometimes when user try to upload data, he gets a message on status BAR: Function cannot be selected, When i Double Click on that Message i Get Fol

  • Adobe Camera Raw 5.3 vs. 4.2

    Just noticed (Adobe website) that there is a new version of Adobe Camera Raw available.  I am using Photoshop Elements 6 which comes with Adobe Camera Raw 4.2.  The latest version is ACR5.3.  Does anyone know if there are any new features or capabili

  • Where or how can we input the Intermediary Bank info in Vendor Master?

    Hi I would like to know if there are specific fields were we can include information of an Intermediary Bank when we are creating the Vendors Account Information. For instance, if we have the following information, how and where should we input the I

  • Java.lang.UnsatisfiedLinkError: running tomcat on java headless?

    Dear all, I'm using the iText library to generate pdfs from a database on the fly. Whenever I use some of it's features that require simple things like java.awt.Color, I get an java.lang.UnsatisfiedLinkError as shown: java.lang.UnsatisfiedLinkError:

  • Podcasts in iTunes v7

    In iTunes 6.0.5, whenever a new podcast was downloaded from my subscribed podcasts, there was a 'Podcast' section in my browser under Genre, and whenever I had listened to the Podcast I could delete it from there to remove it from my iPod. Now, with