Send process chain in error by abap

Hi all,
I want to send in error my process chain by abap code, because i've a routine in transfer structure and on the particular conditions this code must stop the load.
How to send in error my process chain by abap?
The following code send in error the infopackage but not the routine in trasfer roule.
l_s_errorlog-msgid = 'Z_my_message_class'.
l_s_errorlog-msgty = 'E'.
l_s_errorlog-msgno = '001'.
APPEND l_s_errorlog TO g_t_errorlog.
thanks,
Alessandro

Alessandro
Check this link. It may give some info.
Thnaks
Sat
https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/ee14e25d-0501-0010-11ad-8eb2861a7ec0 [original link is broken]

Similar Messages

  • Process chain - After error ABAP - trigger a metachain start does not work.

    Hi,
    I have a process chain, where after an ABAP runs into red (ERROR MESSAGE triggered), another process type, like start a new meta-chain, or start an infopackage starts.... But is does not work. After i go to logs, it asks me whether i want to trigger the following jobs, if i choose yes, it works. But i need to start it automatically, when the ABAP Routine has an error message (RED) in the chain.
    Any idea, because I tried to solve it all the day, but i did not manage to get itwork...
    Many Thanks,
    L.

    Hi,
    the problem is not the ABAP Program.
    I have the following situation:
    A Metachain contains as second step a call of local chain. After the local chain, according to the status of it (green o red), we have other different steps. So we have two different link (red and green) starting from the local process chain step.
    Inside the local process chain there is the ABAP program that check several parameters and if something is not as expected fails with status red. if this situation happens, the local process chain becomes red and in SM37 inside the job i see the error that i forced, but the status is not triggered to the first metachain , so the corresponding following steps are not triggered.
    This issue happens only if fails the ABAP program because, for example, a Infopackages loading fails every thing works and the corresponding steps in the metachain are executed.
    In the ABAP program in order to force the status red we have the following code:
    MESSAGE e162(00) WITH 'Status' 'Red'.
    Any idea?
    Thanks,
    Veronica

  • Process Chain Activation Error

    Hi Experts,
                    We are Transferring  Data from Flat file to Infocube using PROCESS CHAIN..
    Process chain Formation:
    Start -
    >> Infopackage----->>Delete Index--->>DTP--
    >>Create Index
    While Connecting START Variant with Infopackage i am getting following Error....
    Access via 'NULL' object reference not possible.                    
    A Short Dumb Created Contains Following Messages
    Error in the ABAP Application Program                                   
    The current ABAP program "CL_RSPC_FRONTEND==============CP" had to be                     terminated because it has come across a statement that unfortunately cannot be executed.
    Note :
    1. we are also  try to drag the start variant with Infopackage it is not connected .
    2. Datasource and Infopackage are Delta Enabled.
    Need Solution?
    Thanks

    Hi ,
              We are allready  give our file  in Transaction Code :  AL11 ==> DIR_HOME , But Same Error Coming ?
    What is the Problem?
    Thanks

  • URGENT-Process Chain - transport error

    Hi
    I am facing a problem in process chains
    when I tranport to quality system my chains are not activated after importing it is raising the error as
    Error in remote call of destination ABAP Connection
    Message no. RSPC051
    Diagnosis
    The following error occurred during the remote function call for destination ABAP Connection:
    Name or password is incorrect (repeat logon)
    System Response
    A short dump has probably been written in the other system.
    Procedure
    Look at the short-dump overview in the other system.
    I am unable to get the solution!!!!! how to activate the chains in Quality.........It sreally urgent

    hi,
    chk the start variant of ur process chain whether an start immediate is choosen, if so change it to some date in future and try to transport.
    Ramesh

  • Process chain scheduling error( Job BI_PROCESS_DROPINDEX could not schedule

    Hi,
    I am scheduling the process chain but it was throwing an error.
    Job BI_PROCESS_DROPINDEX could not be scheduled. Termination with returncode 8
    Message no. RSPC065
    Diagnosis
    Program RSPROCESS is to be scheduled as job BI_PROCESS_DROPINDEX under user ALEREMOTE.
    System Response
    Scheduling terminated with return code 8. The meanings of the return codes are as follows:
    SY-SUBRC = 4:
    Scheduling terminated by user
    SY-SUBRC = 8:
    Error when scheduling job (JOB_SUBMIT)
    SY-SUBRC = 12:
    Error in internal number assignment
    Procedure
    Check the system log for more detailed information.
    Execute Function
    for this i have already checked
    in RSPC menu tab
    Process Chain >> Attributes >> Execution User
    Choose "BW Background User" which should be ALEREMOTE.
    above settings i have done.
    even though when i am scheduling the process chain  i am getting the same error
    thanks
    suman

    Suman,
    You are not able to schedule it b'coz it is getting scheduled from user RFCUSER whereas the background user should be ALEREMOTE.
    There is an option somewhere in the Menu bar in RSPC to change the Execution user. Please change that to ALEREMOTE,
    Please check whether your BW user has enough authorization to run this job. The above post tell you how to do it.

  • Process chain Transport error in BI7

    Hello All,
                  We are facing an error while importing a transport request in the BI7 system. The objects collected  in the transport request are
    InfoPackage
    Process chain
    Process variants
    Table Contents
    The error which we are facing is as follows,
    Start of the after-import method RS_RSPC_AFTER_IMPORT for object type(s) RSPC (Activation Mode)
    Version 'M' of chain LAP_ROM_CS_LOAD_DAILY was saved without checking
    Results of check for process     in chain  :
    Results of check for process     in chain  :
    Results of check for process LOADING ZPAK_3GBB2YPFIQL01BW1IDLUNON45 in chain LAP_ROM_CS_LOAD_DAILY:
    Kindly let us know if you had faced similar problem before.
    regards,
    Chandran

    Hi Chandran,
    I think that if you expand the transport/import log further there will be a more detailed error message. Can you
    check this? If yes can you let us know what the error message text and error code is? It might be the case that
    the note 659160 is relevant for the problem.
    Best Regards,
    Des.

  • Process chain activation error in BI7...

    hi gurus,
    we are creating process chain for master data for
    0PROMOTION_ATTR
    0PROMOTION_TEXT
    0SALESORG_ATTR
    0SALESORG_TEXT
    0CUSTOMER_ATTR
    0CUSTOMER_TEXT
    0VTYPE_TEXT
    0DIVISION_TEXT
    0SALES_GRP_TEXT
    0DISTR_CHAN_TEXT
    0CUST_GROUP_TEXT
    0SALES_OFF_TEXT
    0MATL_GROUP_TEXT.
    we have created 1 start process and then execute info packages and DTP'S and used 'OR' conditions to connect to Attribute change run.
    while i try to save my process chain its giving warning that 'Add at least one process to the chain before saving' and when i try to activate the chain its giving below error
    Chain has no starter. Add a starter.
    Message no. RSPC020
    Diagnosis
    The process chain has no start-process. A process chain always requires exactly one general starter.
    System Response
    The system is unable to activate the process chain.
    Procedure
    Add a general starter to the chain, and schedule it as the first process in the chain.
    please suggest me how to rectify the problem.
    regards

    Hi Harish,
    Will you please goto process chain start varint and give the new varint for that and try to execute it once again..it will work for you...
    If you could check once the check button all will be green and you can able to activate the process chain...I hope you are maintained the infoobjects in attr bute change run...problem might be with the start varint ionly...change the start varint and if you could not able to activate please let me know....
    Regards
    Srini

  • Process chain creation: error:

    Hi,
    i am creating process chain for the data upload of three info packages!
    Two are master data IPs and one is transactional data IP. ( Requirement is to make single process chain for the master data and transactional data ).
    Before transactional data upload, i had included the process delete indexes.
    When i check the process chain, it says:
    "process DROPCUBE variant is referenced but not in the chain "
    May i know what is wrong with this process flow? i had actually done similarly in dev system it was not giving any error:
    Please suggest me
    Thanks,
    Ravi

    Hi Ravi,
    Did you go for Meta chain, if not please try that. Be a bit clear on the question.
    regards,
    ashok.

  • First DTP in Process chain giving Error "CX_RSB_WRITE_ERROR"

    Hi All,
    I am facing a problem when I execute a process chain.
    I have a master process chain and 3 sub process chains. Each of these sub process chains are having some DTP in it in a sequential order. These DTP's are Independent of each other, so even if the first one gives you errors, the remaining ones will get executed.
    These DTP's are used to put some files in to the Open Hub Destination, which is the application server, using logical files names.
    now the problem is that, when i execute the master Process Chain, the first DTP in each of the sub Process chains are getting failed by giving an error. the error is as follows.
    Error : Uncaught_exception.
    Exception : CX_RSB_WRITE_ERROR
    Any idea in how to correct this? Any help in this regard will be highly appreciated.
    Thanks
    Ajith

    You might have missed some parameters in the FILE transaction.
    Check the below links so that u may get idea wht u missed out.
    Re: Can any one tell me how to write open hubs to application server?
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/content.htm
    This might not be an security or authorization issue if u did not face such issue earlier. if so check with BASIS and add security roles to the generic user.

  • Process Chain Authorisation Error.

    Hi All,
    While i am executing process chain i am getting error message " You don't have the authorization for  infosource...........".
    Can anybody tell ,what i have to do to resolve this issue.
    Thanks in Advance...
    Points assigned.

    hi,
    Looks like an authorization issue.Please check if you have authorizations for all the objects used in the process chains like execute infopackages, infosources and data targets where you are trying to load data.
    hope it helps,
    regards,
    Parth.

  • Process Chain : Communication error

    Hi, i have DataSource from UDConnect and working good loading data, but when use the InfoPackage in Process Chain then have the Error :
    <b>Communication error: Incoming call is not authorized</b>
    Any idea for help me in detect the problem ?

    Hi any can help in tris problem, only happen in data from UDConnect, the user is BWREMOTE, i test using user by SAP_ALL and not working.
    Any idea the Autorization for UDConnect when using Process Chain ?

  • Process chain / DM error in 'Modify dynamically' process

    Hello experts,
    I try to run the following how to : "move date between applications using Data Manager ..."
    Yon can find the pdf here : http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0480970-894f-2d10-f9a5-d4b1160be203
    I'm looking after someone who used it successfully, on my side after implementing all steps and running the package I get the message "IMMEDIATE RUN: Request to run the package on the server was successful The package is now running"
    When I look the log for the process chain, overall status of the process chain is yellow, and steps "modify dynamically" and "clear BPC Tables" are in error.
    I can't get any usefull error messages.
    Thx....D

    Hi Deepak,
    We are experiencing a similar issue while trying to Light optimize one Application.  The step "Clear BPC Tables" stays in red status, in addition to "Plan mode on" process.  The Application Set has three applications, but this issue only happens regarding one of them.
    Have you found a solution from SAP to this problem or any workaround?
    Regards,
    Maximiliano

  • Process chain gives error when activating

    Hi,
    I created a process chain, nothing spectacular. I am going to fill a Cube using an infopackage, this is a delta update infopackage.
    Anyway, so my process chain is done and I activate it, and I get the following error message:
    "InfoPackage ZPAK_EY32OUHBC7FOBBX70AUJWSVE3 is generated; NOT able to be used as loading variant"
    So what is this? I am not allowed to use this infopackage? I have to create a new one?
    In the production system the cube has already had a delta-init and some delta updates, using the above mentioned info package. The updates are scheduled in jobs, but we are setting up process chains for this. So does this mean I cannot use that infopackage, have to create a new one, do a new init and then run deltas with a different infopackage?
    On the test system there was no problem, though I should note that there was no delta info package yet and I created one myself.
    Has anybody seen this before?
    Kind regards
    Ina

    Hi Erik/Ina,
    When you are including InfoPackage in a process chain, make sure that these are not the ones generated by the system in the datamart process. Please create you own InfoPackages for full and delta load as reqd (like for when loading from ODS to cube, or cube to cube, or ODS to ODS: all data mart scenarios), and then include these in your process chain. It should be fine.
    Hope this helps...

  • Process chain load error

    HI Experts,
              We have process chain in that somany proceses are running i got error at one of the load process which is in the middile..what sghal i do now.suggestions please

    What error it is showing?

  • Process chain error_  error in update programm

    hi friends,
    How to solve the update rule error in process chains.\ plz have step to step plz.
    regards,
    siddhu

    Hi,
    You know that the error is in Update rules, so goto that update ruls and check the error(See the complete error message in RSMO tcode for perticular infoPackage), correct it and reload once again manually.Don't distrub the settings while running the infopack manually.
    Thanks
    Reddy

Maybe you are looking for

  • Thread problem in swings

    I have made an application in swings i have stored the class files in a system and call that class files by a batfile shortcut in two diff. pcs .and i am tring to get an value of a Jtextarea in an event When I tried to run this application at the sam

  • How do you center a Text Anchor Point?

    I want all my text anchor points to center in the middle of my words. By default they stay in the lower left corner. Do I have to manually reposition each one with the Transform > Anchor Point adjustment every single time? TEDIOUS. Is there no other

  • Css positioning

    More css dumbness on my part: I have two DIVs on a page that both have a table inside it. The intention is that both tables should center within their DIV. In IE on the PC, the content table centers, but the footer table aligns left. In Mozilla, it's

  • Sap batch process

    may i know what is SAP BATCH PROCESS in BW, thank you.

  • Reconstruction of request scoped backing beans

    Hi, I have a jsp which contains the following code: <h:commandButton action="go_someplace" actionListener="#{bean1.update}" value="submit"/>bean1 is this form's backing bean and it is request scoped. bean1 is passed some parameters from the former pa