Process chain - cut-off-date

Hi guys,
in the process chain I have to check if today is cut-off-date. If it is the case process should continue if not it should be canceled. How can I do it. At first I wanted to use decision, but I think I should use ABAP in this case.
Thank you in advance
Regards
Erwin

Hi,
Just write small ABAP Code and check the Date and then based on that Raise Event, you schedukle this program everyday, so it will check the Date and then it will trigger Event, if condition is not satisfied then EXIT.
And give this event in Process Chain.
Check similar kind of thread, but you need to change the logic.
Re: Stopping one process chain when another is running
Thanks
Reddy

Similar Messages

  • Export to text file cuts off data...

    I have a report that contains fixed width formuals that are in a text box.  The data is 496 char wide.  It will preview fine in a small font - but when I export to a text file it re-sizes the font to courer new 10 and cuts off data after 80 char.  Any ideas?

    hi
    as per my experience crystal has got some weird limitation in export.
    AG

  • How to cut off data use on a line in a family share plan?

    Is there a way to cut off data useage on one line in a family share plan? I have one person that is going over and want to simply cut off the data use after she reaches say 110% of her use in the billing cycle.

    I agree get Family Base and charge then the extra $5 it will cost since that person doesn't seem to understand the concept of SHARING. Or up the data plan and charge the extra to them and tell them since you had to increase the data plan because them they can pay the extra mount.

  • Separate month end cut-off date

    Hi,
    I have 2 companies in a same clients.
    These 2 companies would like to have separate month end cut-off date.
    Please advice how to do it in OB29.

    Hi,
    You can do so.
    You need to define two different posting period variant, where in the first one, for each month define the end date.
    SAy if you define month 01 date 28 as period 01 and month 02 date 26 as period 02
    Then period 02 will be from 29 jan to 26 feb.
    Then assign these posting period variants to your company code in OBY6.
    In that way you can differ the period end for two company codes.
    Regard,
    Gaurav

  • Query to get the a/r receivables based on a cut-off date

    I would like to ask assistance on how to create a query to display a/r receivables using a cut-off date. Example, today is 05/07/2014, I want to display  a/r posted from Jan. 1 2013 up to Dec. 31, 2013 that are still unpaid  as of April 30, 2014.

    Hi,
    Try this:
    eclare @Cust as nvarchar(20)
    Declare @FromDate Datetime
    Declare @ToDate Datetime
    declare @Group as nvarchar(20)
    set @cust = (select max(t0.cardcode) from OINV t0 where t0.cardcode = '[%0]')
    Set @FromDate = (Select min(t0.Docdate) from dbo.OINV t0 where t0.Docdate >='[%1]')
    Set @ToDate = (Select max(t0.Docdate) from dbo.OINV t0 where t0.Docdate <='[%2]')
    set @group = (select max(t2.groupname) from OCRG t2 where t2.groupname = '[%3]')
    SELECT [CustName] as CustName, [G] as CustGroup,[1] as Jan,[2] as Feb,[3] as Mar,[4] as April,[5] as May,[6] as June,[7] as July,[8] as Aug,[9] as Sept,[10] as Oct,[11] as Nov,[12] as Dec
    from
    (SELECT T0.[CardName] as CustName, sum(T0.[DocTotal]) as Total, datepart(mm,T0.[DocDate]) as week, t2.groupname as G  FROM OINV T0   left JOIN OCRD T1 ON T0.CardCode = T1.CardCode left JOIN OCRG T2 ON T1.GroupCode = T2.GroupCode   WHERE year(T0.[DocDate]) = 2013 and T0.[CardCode] = @Cust and  T0.[DocStatus]  ='o' and T0.[DocDate] between @fromdate and @todate and t2.groupname = @group GROUP BY T0.[CardName],T0.[DocDate],t2.groupname
    union all
    (SELECT T0.[CardName] as CustName, -sum(T0.[DocTotal]) as Total, datepart(mm,T0.[DocDate]) as week,t2.groupname as G  from ORIN T0  left JOIN OCRD T1 ON T0.CardCode = T1.CardCode left JOIN OCRG T2 ON T1.GroupCode = T2.GroupCode   WHERE year(T0.[DocDate]) = 2013 and T0.[CardCode] = @Cust and  T0.[DocStatus]  ='o' and T0.[DocDate] between @fromdate and @todate and t2.groupname = @group  GROUP BY T0.[CardName],T0.[DocDate],t2.groupname )) S
    Pivot
    (sum(S.total) For WEEK IN ([1],[2],[3],[4],[5],[6],[7],[8],[9],[10],[11],[12])) P
    Thanks & Regards,
    Nagarajan

  • How to create process chains for Master Data?

    I need information on " how we can create process Chains for Master Data"

    Hi Sachin,
      http://help.sap.com/saphelp_bw33/helpdata/en/ad/6b023b6069d22ee10000000a11402f/frameset.htm
    and also Modelling aspects in process chains (ppt)
    https://websmp109.sap-ag.de/~sapidb/011000358700002337702003
    Hope this helps.
    Srini

  • Process chains for loading data to target is not functioning

    Hi SAPians,
    Recently, we have upgraded the firmware on IBM P590 with the help of IBM on Saturday i.e. 06/12/2008 (The firmware of P5-590 was SF235_209. It was upgraded to SF240_XXX) and since then the process chains for loading data to targets are not functioning properly.  We have stopped all the SAP services, database services & OS services from our end and services have been rebooted after firmware upgrade.
    However, the problem with the process chains that load transaction data and hierarchies is solved but the chains that load master data are still not working as scheduled.
    We tried to load the master data manually, by running DTP to load data to an object analysis code (attributes) the request remained YELLOW. After refreshing it several times, the request turned into RED. The error message was - PROCESSING TERMINATED (screenshot 1 attached).
    To mitigate this we tried deleting the bad request and it prompted with the below message:
    "Cannot lock request DTPR_4C37TCZGDUDX1PXL38LVD9CLJ of table ZANLYSIS for deletion (Message no. RSMPC178)" (screenshot 2 attached)
    Please advise us how the bad request should be deleted?
    Regards,
    Soujanya

    Hi Sowjanya,
    Follow the below procedure to make yellow request to RED:
    Use SE37, to execute the function module RSBM_GUI_CHANGE_USTATE
    From the next screen, for I_REQUID enter that request ID and execute.
    From the next screen, select 'Status Erroneous' radiobutton and continue.
    This Function Module, change the status of request from Green / Yellow to RED.
    Once it is RED, you can manually delete that request...
    Releasing LocK
    Gott Transaction Code SM12 and release the lock.
    Hope It helps you.
    Regardss,
    Nagaraju.V

  • Need FM or Tables to see Process Chain scheduled(future) date and time

    Hello Gurus!
             Can anybody tell me where/How i can get the Process Chain scheduled(future) date and time..?
       I mean, I want to see at what date and time is the PC scheduled for tomarrow/next month etc... Like TBTCO-SDLSTRTDT / TBTCO-SDLSTRTTM along with its Process chain name or PC's Start varient?
    I will give the points for all the answers
              Bye.. Happy New Year

    Hi Anil,
    You can check in SM37 by giving the job name.then you can see when that particular chain is scheduled.
    Goto SM37,
    Give Job name = *
           User name = *
    and select job status - ready,scheduled. then F8 (Execute).
    Then you can see which job is schduled at what time and date.
    Regards,
    Lakshman.G

  • Process Chain which loads data to a cube

    Hi All
    Please help me create a process chain in BI 7.0. I have to load the data in to a cube and before that i need to delete the existing request in the Cube. I think i should use " Delete overlapping requests from Infocube".  In the maintain variant for this process type what object types i need to add. Do i need to add both Execute infopackage and Data transfer process objects.
    Regards
    Naga

    Hi Ravi
    I am loading the data from PSA to Cube using DTP. Actually my data source is export datasource (8ZHYP- prefix 8). So accroding to your answer i should use DTP object type in the process type delete overlapping request. But when i create a variant for that process type it is getting Indexs > Create Index > Data Transfer Process > Request to delete data in the infocube.
    I just want to delete the data in the infocube before i load the data. So can i delete all the remaining processes.
    Regards
    Naga

  • Error in Process Chain while extracting data from source system

    Hi All,
    Dail we are facing problem while retrieving the data from source system for the data source 0TB_AMOUNT1 in the process chain, it is giving error "Function module BANK_TMC_API_SIM_GET does not exist Furnction module". when I repeat the step than it is going fine.
    Please let me know why this error is coming for first why it is not coming after repeating the step?
    Thanks & Regards,
    Murali.

    Hi Murali,
    Hope you are doing good..
    Is it a full or Delta load on a daily basis? Did you check if the FM exists in your system?
    Did you try debugging the load in source system and check if the extractor is trying to call FM you mention.
    If possible please post the exact error message you are receiving so that we could get an idea whats the error and why you are encountering it.
    As of now what i can suggest is, go to RSA2 in source system, give the datasource name and check if the extractor code has FM in it.
    Regards,
    Anil Pragada.

  • Creation of Decision in Process Chain to load data to a SPO

    Hi,
    I have a question regarding adding a Decision type to my Process chain.
    I want to load data to a SPO that contains 12 InfoCubes (Jan - Dec) from a DSO, but I do not want to start all 12 DTP's.
    Want I am looking for is a way to only start the DTP's that load to the InfoCubes that contain current month, last month and all other data should be loaded to a Infocube (nr 13) that is not a part of the SPO so I would only have 3 DTP's running at the same time and not 13.
    E.g. A delta load to the DSO contains 3 records; 1 for 2014.09, 1 for 2014.08 and 1 for 05.2013 triggers the DTP to the January InfoCube, the DTP to the August InfoCube and the DTP to the 13 Infocube.
    Is this possible by using a Decision and if so how?
    Kind Regards
    Steffen

    I haven't worked with SPOs yet, but I do work frequently with decisions, so here's my 5 cents...
    In your case you wish to have your decision based on the data contained in "a delta load to the DSO". I'm assuming you're talking InfoPackage here, because you wish to execute the DTP's afterwards.
    So basically you need to determine which "months" are in your incoming data packages. The only way I see that possible is via start/end routine. In your example, you would look the data package and find 3 records each with a different month, being 08.2014, 09.2014 & 05.2013. You could then "convert" these to just numbers ranging from 1 to 13. That makes it relatively "easy" to link the right DTP to the right "number".
    Now, how to pass that info (those numbers) back to the "decision" process? By default you base your formula on a "system" field (see basic how to link below). I don't see how this would work in your case. You'll need to somehow export your "numbers" (most likely an internal table or a "range") to memory (or fill it in a [z-]table) and then read it back in with custom code. I haven't done that yet (at least not in the context of decision steps), but I would recommend to have a look at the "experienced" way of working document below. It won't be easy, but I think it could work.
    Cheers,
    Raf
    The official documentation can be found here.
    For a "basic" how to on decision step, click here.
    For a more "experienced" way of working, click here.

  • How to create process chain for this data flow

    Hi experts,
    My data flow is:
    ======================================
    2lis_11_vahdr->Transfer rules->2lis_11_vahdr->Update rules->DSO1->Transformation->DTP->Cube1.
    2lis_11_vaitm->Transfer rules->2lis_11_vaitm->Update rules->DSO1->Transformation->DTP->Cube1.
    ======================================
    2lis_12_vchdr->Transfer rules->2lis_12_vchdr->Update rules->DSO2->Transformation->DTP->Cube1.
    2lis_12_vcitm->Transfer rules->2lis_12_vcitm->Update rules->DSO2->Transformation->DTP->Cube1.
    ======================================
    2lis_13_vdhdr->Transfer rules->2lis_13_vdhdr->Update rules->DSO3->Transformation->DTP->Cube1.
    2lis_13_vditm->Transfer rules->2lis_13_vditm->Update rules->DSO3->Transformation->DTP->Cube1.
    ======================================
    Here for each datasource info package brings data upto dso and then from dso dtp fetches the data.
    For deltas i want to keep this data flow in process chain.
    Anyone please guide me how to keep this in a process chain.
    Full points will be assigned.
    Regards,
    Bhadri m.
    Edited by: Bhadri M on Sep 2, 2008 7:20 PM
    Edited by: Bhadri M on Sep 2, 2008 7:21 PM

    Hello,
    Sure it is possible to maintain that dataflow.
    Start here:
    This is a very good document about process chains:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8da0cd90-0201-0010-2d9a-abab69f10045
    Let me know if you have any doubts.
    Regards,
    Jorge Diogo

  • Process chain while loading data into DataStoreObject

    Hai
    Im trying to load the data in DataStoreObject by using the process chain . I build the process chain like below
    Start Process -> InfoPackage -> DataTransferProcess -> Activate DataStoreobject Data .
    When i try to schedule the proces chain then job is going to be cancelled.
    Then i looked in St22 . There i got the error says that <b>MESSAGE_TYPE_X</b> .
    how can i solve this error . Please let me know
    i ll assing the points
    kumar

    Hi,
    try to activate again the ODS, also try to activate manually by executing the following report from SE38:
    RS_TRANSTRU_ACTIVATE_ALL
    Insert just the infosource of the ODS and execute it. After this, replicate the datasource and try again to execute the chain.,
    Rgs
    Antonino

  • Appleworks Database cut off data on right side of field?

    Help!! I am working with Appleworks 6.2.9 on a G4 PowerBook running OS 10.3.4. I have created a database that prints a 5-6 sentence summary of each of my lessons. When I print this layout, it cuts off the right hand side of the field. The last 2 letter on each line are missing. The layout looks fine on the computer. It is not the end of the page. It prints other things to the right of the field. It just cuts off the text in a particular field.

    Hello
    Have you tried to replace the font as written in my late post ?
    You may also try to check the checkbox:
    AppleWorks > Preferences > General > Text > Fractional Characters Widths
    This may have an impact on the way characters are displayed.
    Remember, since the delivery of Tiger, some details are odd in the way AppleWorks items are displaye because internal treatment is always based on Quickdraw rendering but it is really done with Quartz. It seems that this may give odd results for strings's lengths.
    Differences are quite invisible with many fonts but are visible with some ones.
    Yvan KOENIG (from FRANCE mercredi 23 novembre 2005 14:59:58)

  • Process chains - turn off Popup about statuschange

    Since we have a new hardware for our BW-system we have problems with process chains.
    We have a main process chain with few metachains. Most of the links about chains are 'ever'. The Problem is, when one process is RED turn up a popup: Statuschange about Request ... Do you want the process chain run to be continued?
    The Process runs over night and should automatically running for this reason the processes are linked 'ever'. There are no Events about Datchange in this process chains.
    Can me somebody help, please? I don't know where is the problem.

    Hi,
    this forum is for the SAP BusinessObjects BI Solution Architecture. I would suggest you post the question as part of the SAP BW forum.
    regards
    Ingo Hilgefort

Maybe you are looking for