Batch program to replicate DataSources in process chains

Hi everybody,
I am looking for a batch program to replicate DataSoruces in a BW 3.5 system. I would like to use this program at the beginning of process chains, in order to avoid any potential problems from transports into productive environment.
I found the following program already but it seems not to work: RSAOS_METADATA_UPLOAD_BATCH
thanks in advance for any help
Ulrich

Hi John
thanks for the hint. Of course you are right. I would expect to have also a transport in BW. It happend unfortunately several times, that not only the involved DataSource got inactivated in our complex data model, but also other ones.
That's why I look simply for the program that replicates DataSources. I tried already with tracing in via SM30 - unfortunately no useful results
regards,
Ulrich

Similar Messages

  • ABAP program to add in the process chain before the attribute change run

    Hi
    I need a ABAP program to add in the process chain before the attribute change run(process) to avoid the locks, can any one send me the program
    Regards,
    Satish

    I am not sure of any standard program .... but you can write your own... should be a small one..
    you can check if the table RSDMDENQ has entry for your InfoObject... if yes, then its locked.. if not.. its not locked

  • ABAP Program using Selection Screen in Process Chain

    Hi,
    I have included an ABAP Program in the Process Chain.
    The ABAP Program takes a selection screen value from user before execution.
    I have created a variant for both the ABAP Process (YPV_ABC) and a variant for the Selection Screen (YPV_XYZ).
    The ABAP Program executes perfectly well in SE 38.
    I get the following message when I execute the Process Chain.
    "Status Change of Process ABAP YPV_ABC.
    Save Status and Trigger Events if Appropriate "
    When I click Yes, the ABAP Process becomes red.
    These are error messages in the log
    516 -  Job started     
    550 -  Step 001 started (program RSPROCESS, variant &0000000012961, user ID ALEREMOTE)
    25 -    Could not ascertain code page     
    546 -  Job cancelled after system exception ERROR_MESSAGE     
    My questions are:
    1) Is it possible to use an  ABAP Program which has a user input screen in Process Chain?
    2) Could you please help  with the above error?

    1) Is it possible to use an ABAP Program which has a user input screen in Process Chain?
    ABAP programs, with variants established for selection screens, are possible. We use them quite extensively for setting triggers to allow Process Chain to continue after an Interrupt Process has been hit.
    2) Could you please help with the above error?
    I'm not quite sure what could be causing this. When you tested this program in SE38, did you test it with the same variant for the selection screen and did you execute it in background?

  • Program to run ARCHIVFILE_CLIENT_TO_SERVER in Process Chain

    Hi experts;
    I had created one program that run ARCHIVFILE_CLIENT_TO_SERVER function module with path and target path defined.
    REPORT  ZTEST.
    DATA:W_FILEPATH TYPE SAPB-SAPPFAD,
    W_SPATH TYPE SAPB-SAPPFAD.
    break-point.
    W_SPATH = '
    pclis02\consult\Equipa_EM\Line_TEXT.csv'.
    W_FILEPATH = '
    debtdc00\sapmnt\trans_DEB\LINE '.
    CALL FUNCTION 'ARCHIVFILE_CLIENT_TO_SERVER'
    EXPORTING
    PATH = W_SPATH
    TARGETPATH = W_FILEPATH
    EXCEPTIONS
    ERROR_FILE = 1
    OTHERS = 2.
    I run it in se38 and it works fine.
    However, if I add it to one process chain to run it but it doesnu2019t work.
    I had tried both calling modes and assigning the program name u201CZTESTu201D. No variant was created.
    Can anyone help me?
    Best regards;
    Ricardo

    Hi Meiyappan;
    The only messages that appear in the job are these:
    1. Job started
    2. Step 001 started (program RSPROCESS, variant &0000000003888, user ID BI_RFC)
    3. Job finished
    No errors occur.
    Best regards;
    Ricardo

  • Error in Transport of ABAP Program in Process Chain

    Hi All,
    I am trying to transport a process chain that contains ABAP programs.
    I have transported the programs along with the other process chain variants
    There is an error that occurs when I transport - "Errors occurred during post-handling RS_AFTER_IMPORT for EVEN L" 
    The Process chain in the target system is fine except that I am not able to see the ABAP programs in the process chain.
    I am not able to locate the error.
    Your help will be appreciated
    Thanks,
    Shruti

    If a Process Variant (in this case; 'ABAP Program with success/failed' ) does not exist in the succeeding systems, it is very likely that this Process Variant has been created as a customized variant by a user. Unless the user transports this variant to further systems, this variant cannot be used in the process chain.
    Therefore it is better to use general Process Variants (those delivered by SAP) in the process chains. The General Variant here can be 'ABAP Program'.
    - Shruti Kulkarni

  • Trigger an ABAP program through a Process Chain

    Hi,
    I have an ABAP program as part of my Process Chain that updates the BW Hierarchy OREGH. 
    However I can't get the program to execute through the chain, even the though chains goes all green. without any REDS anywhere along the chain. 
    When I check if the program has made the desired changes in the tables it hasn't.
    If I run the program using SE38 it works fine and in seconds.
    Is there a parameter setting I have to set in the process chain or within the program itself.Tthe program is active.
    Ive checked many of the  posts about this issue but couldn't find a someone experiencing a similar problem.
    Please Help
    Thanks
    Amir

    Remove that ABAP program from the Process Chain and activate. Leave RSPC screen.
    Re-enter to RSPC, and add that program by creating a new variant with following options:
    Call Mode : Synchronous
    Call From : Local
    Check and Activate process chain.

  • Short dump in program to trigger process chain

    Hi all,
    We have an ABAP program written to trigger a process chain...When we execute the ABAP program it goes on for a long time and then returns a short dump.It dosent even trigger the process chain.
    What could be the reason for this?
    Can someone please help...
    Regards,
    Suchitra

    Following is the error
    An exception occurred. This exception is dealt with in more detail bel
    . The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', w
      neither
    caught nor passed along using a RAISING clause, in the procedure
      "Z_BPS_FIELDS_SET_REMOTE_C35" "(FUNCTION)"
    Since the caller of the procedure could not have expected this excepti
      to occur, the running program was terminated.
    The reason for the exception is:
    If you use an ABAP/4 Open SQL array insert to insert a record in
    the database and that record already exists with the same key,
    this results in a termination.
    (With an ABAP/4 Open SQL single record insert in the same error
    situation, processing does not terminate, but SY-SUBRC is set to 4.)

  • Call ABAP program from a process chain

    Hi ,
    Can anyone tell me how do we call an ABAP program in R3 from a process chain in BW.
    Its real urgent please help.
    Thanks
    Ankit

    Hi,
    Create ABAP program in BI/BW system with name like ZFILL_CALL.
    Create RFC enabled function module(eg: ZRFCFM) in R/3 system, in this function module call your program which fills the ZTABLE from application server.
    Call RFC function module ZRFCFM from your program ZFILL_CALL in BW system.(u need to RFC connections to these systems).
    Create process of type "ABAP program" which u will find in General sevices in RSPC. Attach this process befor u r inpackage process chain.
    Hope it will work.
    Sree

  • Urgent : Download file from Application Server via Process Chain.

    Hi Experts,
    My requirement is to download the file from Application Server to local work station using an ABAP Program .
    I want including the above ABAP program in a process chain to execute  the program daily,
    I tried to use ARCHIVFILE_SERVER_TO_CLIENT and GUI_DOWNLOAD but unfortunately both the above FM doesn't support to run through Process chain.
    Can any one of you help me to send the code which selects a file from application server, downloads to local system and deletes it.
    Thank you very much for spending your precious time in this regard.

    Hi Sailekha,
    Regarding your case ..
    I suggest you to create the program where it run this function: WS_DOWNLOAD.
    After it, the program is run by your process chain.
    Hopefully it can help you a lot.
    Regards,
    Niel.
    thanks for the points you choose to assign.

  • ABAP Code not getting executed through process chain

    Hi Friends,
      I have program which when executed with respective varient Popup system message (SM02 Messages).  This program work fine when executed in forground or in background.
       However same program when i added in process chain with respective varient. The output is not genertaed as expected (i.e the program is not populating SM02 message)
      The process chain work's fine without giving any error.
    Does any setting we need to do ???
    i have followed the procedure given in "How to…
    Integrate an ABAP program in a process chain" document from OSS.
    Regards,
    Jayant.

    Hi,
    you will not see in the log of the process chain if your program failed or not. You only receive a message that the programm has been triggered successfully.
    Your program is then started in a new background process with a new log - try to find it via the job overview (transaction SM37) via date and time selection. (Of course you can only find there what your program writes to the log).
    Another idea would be to check the profile of user ALEREMOTE (Transaction SU01 or SU01D) if there is an authorization for transaction SM02.
    Stephan

  • How to include Query extractor in process chain

    Hi All,
    According to th requirement I have created Query Extractor using RSCRM_BAPI to upload Query data to application server. 
    Now it has to be included in PROCESS CHAIN.
    Is there any way to include Query Extractor in process chain.
    Or is there any ABAP program which can be used to trigger the my Query Extractor and later this program can be used in process chain.
    Quick reply is much appreciable.
    Thanks,
    Uday.

    s

  • How to search for a process chain in RSPC ?

    Hi,
    Is there any way that i can find a process chain by giving the name of the variant.
    I know that i can click on the DTP and from there i can go to the process chain if i know the DTP.
    But here my problem is that i have a program which is calling a process chain now i what to what this process chain is doing.
    Is there any way to find it?
    Thanks in advance.
    Reagrds,
    Raghu

    Hi Surendra,
    Thanks for the inputs. Thanks for sharing some useful table names.
    But this haven't solved my issue.
    I have the below mentioned code in a program.
    CALL FUNCTION 'RSPC_CHAIN_START'
           EXPORTING
             I_CHAIN             = 'YPC_VARIANT_FOODS'
           I_T_VARIABLES       =
           I_SYNCHRONOUS       =
           I_SIMULATE          =
           I_NOPLAN            =
          IMPORTING
            E_LOGID             = LOGID.
    Now i want to see the Process chain ( 'YPC_VARIANT_FOODS' ) in RSPC.
    Actually 'YPC_VARIANT_FOODS' is a variant.
    Any way to achieve this?
    Thanks,
    Raghu

  • How to capture event in process chain....Please help...

    Hi All,
    Please tell me how can I capture any event triggred by ABAP program in process chain...The ABAP program is there in the process chain...ABAP prog is triggering one event based on some condition..Please tell me how can I capture that event in the process chain...
    Thanks in Advance...

    Also check this link...
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=/help/sdn_nw04/saphelp_nw04/helpdata/en/8f/c08b3baaa59649e10000000a11402f/content.htm
    Hope this helps...
    Thanks,
    Raj

  • Process chain failing with error 8 in BI 7.0

    Hi ,
    we have upgrade the dev to BI 7.0 and I am trying to execute the process chains but it is failing with a error 8 due to the step of the job BI_PROCESS is in the name of a old user. So i have changed in process chain -Attrbutes--Execution user --- current user.So the chain has started but it has so many chains inside the Meta chain it looks i need to go to each of them and change as cyurrent user.
    But is there some place where I can change globally to a Batch user/current user for these process chain in BI 7.0.If so pl let me know.

    Hi,
    user SM37 to identify all BI_PROCESS jobs and change the User of the step in the jobs (they all should only have one step).
    bye
    Frank

  • ABAP in Process Chains

    I am trying to run an ABAP from a process chain and need some of the information from the process chain itself.  The documentation on ABAPs in process chains includes the following:
    Using the Program variant you can transfer the Process variant to the program at the time of scheduling. Input the Process variant as a value for the Program variant and add the following lines to your program:
    PARAMETERS variant TYPE rspc_variant.
    The system exports the technical name of the latest process chain, as well as the dynamic parameter Instance and Log ID in the shared buffer.To receive this parameter, add the following lines to your program:
    DATA: l_instance TYPE rspc_instance,
          l_logid    TYPE rspc_logid,
          l_chainid  TYPE rspc_chain.
    IMPORT instance TO l_instance
           log_id   TO l_logid
           chain_id TO l_chainid
           FROM DATABASE BUFFER rspc_buffer(ab)
           ID variant.
    Can anyone explain how to "Using the Program variant you can transfer the Process variant to the program at the time of scheduling. Input the Process variant as a value for the Program variant"
    Thanks very much,

    Hi,
    We have a similar requirement where we want to pass the  values of a program into an ABAP program being used in a process chain. For e.g the Program 1 has values entered by the user and we want to make use of those values in Program 2.Program 2 is used in the process chain. Program 1 triggers a process chain. We wanted to make use of following program and we got a syntax error for the "DATABASE BUFFER" statement.
    PARAMETERS variant TYPE rspc_variant.
    DATA: l_instance TYPE rspc_instance,
    l_logid TYPE rspc_logid,
    l_chainid TYPE rspc_chain.
    IMPORT instance TO l_instance
    log_id TO l_logid
    chain_id TO l_chainid
    FROM DATABASE BUFFER rspc_buffer(ab)
    ID variant.
    Any help is appreciated.
    Thanks.

Maybe you are looking for

  • ABAP dump when user login in to PRD system

    Hi Experts, From today morning our users are facing one severe issue.The users when ever they login into the system the ABAP dump is occuring like "Database inconsistency: Start transaction SICK ",when i execute the SICK t-code it is showing errors.

  • How to configure mail in XI

    Hi Can anybody show me a step by step configuration for sending mail notification in XI My scenario is (Legacy)File->XI->File(SAP) Thanks Debraj Roy

  • My iPhone only has "headphone" volume, no "speaker" volume.How do I fix this so I can hear phone calls?

    My iPhone only has "headphone" volume, no "speaker" volume.How do I fix this so I can hear phone calls?

  • Beeping noise when using script to move to new field

    I have a PDF form with multiple text fields and check boxes.  For each of the text fields I have a custom keystroke script that sets the focus to the next text field if the Enter key is pressed or if the field is full.  Below is part of that script:

  • Final Cut Pro 5.1.4 Update

    Final Cut Pro 5.1.4 provides important bug fixes to resolve plugin issues . This update is recommended for all Final Cut Pro 5.1, 5.1.1, 5.1.2 and 5.1.3 customers. FXplug fixed? Remember to backup your current working version first. NO new info about