Process chain transaction RSPC
Hi, in the process chain (RSCP) is it possible to intercept an abap error run-tine ? For example, to send a message .
thanks
Hello Refer,
http://help.sap.com/saphelp_nw70/helpdata/EN/8f/c08b3baaa59649e10000000a11402f/content.htm
br,
Pushkar
Similar Messages
-
Process Chain Maintenance: RSPC and RSPCM
Good morning
We have created, scheduled and activated a process chain in RSPC. How do we get it to display on the RSPCM txn?
Thanks for your time.
Cornelius FaurieHow do I add it to RSPCM?
thanks
Cornelius -
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,
RaghuHi 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 find a process chain in RSPC if u know the Chain ID?
Hi,
is there any way to know the process chain if u cud know the chainid fro the same?
i had find the option "find" that does not have the finding PC by its ID
by description it is taking ages to find one PC
RajDear Raj Karan ,
Go to RSPC
Just try to widen the window ,by moving ur cursor to the part where blue screen and greyish screen meets ..
Once you widen ,you could see the
Obj name ,no and description of PC
Also you can try giving ur description in
RSPC1.
Hope it helps
Regards
Bala -
Hi All,
I am trying to find out a way to change the technical name of my Process Chain. I didn't find any option for deletion too. Can any one of you advise on this. Thank You.Hello Troy,
I don't think you can change the technical name of a process chain. Copy the existing process chain into a new one and delete the old one.
Copy process chain
Transaction RSPC -> Double click on process chain-> type "COPY" in transaction area
Delete Process chain
Transaction RSPC -> Double click on process chain-> Shift-F2 ( or from menu -> Process chain -> Delete).
Regards,
Praveen -
All Process Types not visible in RSPC ( process chain)
Hi,
When I go to create a new process chain in RSPC & look for process types to choose from I am not able to see all the process types.
when I go to table RSPROCESSTYPES or setting-->maintain process types , it shows all the enteries.
Am I suppose to do some steps before I start seeing all the process types in the left panel of my RSPC--process types.
looking forward to your help.
regards
VikashHi Agarwal
check the table RSPCCATEGORY ..In this table check whether there is an entry for the following..
General services
Load Process and Post-Processing
Data Target Administration
Reporting Agent
Other BW Processes
if not there maintain them..
bye
Shu Moh.. -
Process chains in red(errors occurred), monitoring in green
Hi friends,I have same problems with the monitoring / process chains.
For exemples in the Monitor for OMAT_SALES in the tab Status I have green for Total and Technical with the message:
Data successfully updated
Diagnosis
The request has been updated successfully.
InfoSource : 0MAT_SALES
Data type : Texts
Source system: PRD-600
In the tab Details I have:
-the Overall status in red, error occures or missing messages
-the requests, extractions,transfers,processing-everything is Ok-green
-the Process Chains-errors occurred-red
In the transaction RSPC the infopackage for load data OMAT_SALES is red,the next infopackage in the chain is green.
What can I do to fix this problem for Process Chain in RSPC and also in Monitoring (tab Details)?
I will apreciate any answer,
Thanks,
ClaudiaThe next connected infopackage must be connected with Always link that's why its processed even after the failure node. Go and cross check what errors you got for the failed process, and reload it manually.
-
Process chain issue in production server
hAI
I created the process chain to load the transaction data . Then i transported to Quality and Production server.
1) When i try to open the my process chain in RSPC in Production System. Then im not getting the process chain . But im getting black just.
But when i press 'change' button in Production Server then it says that "changes are carried out in original system" and then im getting my process chain .
2) When i try to schedule my process chain in production server then it asking for new transport request . Why it is like that . Once i transport the process chain from development server to production server. Then it shouldn't ask for new request.
Pls help in these secarios. I need urgent help .
kumarHi Kumar,
I don't know what the problem is but you can copy in PRODUCTION environment the process chain to a new one.
Please follow the steps:
1. Open the problematic process chain (display or change mode).
2. In the command line write the word "copy" .
3. A popup will appear, insert a new name for the new process chain and confirm.
4. The new process chain is now opened but it is not active yet.
5. Delete the "old" START event and insert a new one.
6. Activate and schedule the chain.
While activating the new chain, no transport request should appear in PRODUCTION.
Hope it helps, Amir. -
Hello Gurus,
I am working in Process chain and I am new to this.
I am having some basic doubts.Can any one of them,clarify my doubts.
1.Whats the difference between event and job.
2.How,we can find out the particular chain is a meta chain or local chain.
3.Incase,If the chain is failed,how we can start the process.whats the step.
4.Where,we can findout the process chain status..(i.e,its successfully running or unsucessfull. like this)..any transaction code is there to know the status
5.Tell me,what are the things,i shouldnt do.(as a precautionary steps)
Thanks in advance and It will be great help,if somebody clarify my doubts and forward docs to my email id...if u r having any realtime doc.
I will assign points.
email id - [email protected]
Brgds
Kumarhi,
1. an event can trigger a job. After a job has finished, an event is raised and a new job is triggered (or not)
2. check for the starter. locla chains have the option "strated by other chain" an can only be started directly whe having changed the starter.
3. depends: in NW2004 process the chain manually or restert the chain completely. only few processtypes are able to be repaired. to recall the setting where the chain crashed is not possible (with the standard types ...)
In NW2004s with BW7.0 its possible to start a chain from where it failed.
4. you have 3 views for process chains in rspc: create, check and protocol (this paperlike button) here you can see the protocols for your chain. even when it has been activated, if it runs etc. you can also go to trc SLG1 to look for ProcessChain protocols.
5.
Transportiation fails in most cases. allow maintenance in
Production.
Never set a processchain live, untested. Especially monitor the number of processes allocated.
(only basic rules)
hth
cheers
sven -
Process chain - ODS Activation error
Hello All,
I have a process chain which has the following data load sequences:
Load data to ODS
Activate ODS
Load data to ODS2
Activate data ODS2
Load data to ODS3
Activate ODS3.
Used the Program to RSPC_SYNCHRONOUS_RUN to schedule the process chain in Background.
When the process chain is executed in background it loads the data to ODS1 and Activation process is not happening. It registers short dump like shown below at the end. But when i execute the same process chain in RSPC, Schedule option with Start variant set to immediate, it is activating the ODS Data and completes the process chain Succesfully.
Help me to solve this problem.
ABAP Short dump information:
Invalid interruption of a database selection.
t happened?
Error in ABAP application program.
The current ABAP program "GP4BRKGANFKJY5K2A3ACVGAPTN4" had to be terminated
because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
Unable to perform database selection fully.
record.
t can you do?
If the error occurs in debugging mode, you should first run the process
without debugging activated.
If the error persists outside debugging, you must check the application
program more closely.
No error requiring recovery has occurred.
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletiondate.
is especially useful if you want to keep a particular message
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', was
neither
caught nor passed along using a RAISING clause, in the procedure "ACTIVATE_ODS"
"(FORM)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
One of the database selections included a database commit.
The selection was then supposed to continue. Before a
database commit, however, all outstanding database selections must be
concluded.
Possible causes in the application program:
Within a loop (SELECT/LOOP/EXEC SQL), one of the following
statements is used:
- MESSAGE (apart from MESSAGE S...)
- COMMIT WORK
- ROLLBACK WORK
- CALL SCREEN
- CALL DIALOG
- CALL TRANSACTION
- SUBMIT
- BREAK-POINT
- WAIT
In debugging mode, a program sometimes triggers
a "COMMIT WORK" during the database selection. As a result
this termination may also occur in debugging mode with a correct
program.
A "COMMIT WORK" during debugging may be due to the following reasons:
1. A program or screen was regenerated
and updated in the database.
2. Each user needs a private process in debugging mode, but
the number of available processes is restricted. If this
limit is exceeded, each debugging step then requires a
"COMMIT WORK".
The error occurred in a statement that accesses the table "/BIC/AZXOQMATR40 ".
Thanks in Advance.
Points will be assigned.
Regards
M.AHi,
If it is a daily process chain u define it on a periodic basis in the variant and it'll run successfully.
I guess the DUMP may be due to less processes at the time u run...It is gving the same in the dump also..
So when u run the chain immediate in the BKGD the ODS will be automatically getting the required processes dailog and bkgd to run according to ur settings and it was successful..
U try to execute the chain using FM: RSPC_API_CHAIN_START and give the tecnical name of the chain under I_CHAIN filed and conitinue...It'll scedule the chain in the BKGD only and if it is a periodic one the chain will be automatically ready for the next run also...
rgds, -
Using Alert Framework to send email notifications when Process Chain fails
Hi Everyone,
I've configured ALRTCATDEF in Solution Manager, selected the alerting option for Process Chains in - RSPC > Attributes > Alerting, but it looks like whenever any process chain fails, an email notification will be sent to the same recipients.
Is there anyway to have an ALRCATDEF - alert category for different process chains, so that different recipients receive notifications for different Process Chains.
Thanks,
KenInteresting....I was actually hoping for different recipients for different process chains.
E.g. for our
CRM process chain - Support Team 1
FI process chain - Support Team 2
and so on and so on.
I think the only way may be creating a custom process type and implementing a class for this process type that calls function SALRT_CREATE_API. Then adding this process type to the process chain, with a different variant for each.
However if anyone knows a way to do this in a SAP standard way using the Alert Framework, that would be great.
Cheers,
Ken -
Error in process chain :hierarchy
Hi,
I am working in BI 7.0..i am getting the following error in DTP Process of process chain
Error Message:Node ID 1 occurs more than once in the hierarchy table.
Please guide me how to solve.
Regards,
Visali.GHi Vaisali,
Your question is not clear, can you please tell us at what level the you are getting this perticular error in the Process chain.
To the extent that i understood is that when you try to put the DTP while you create the process chain.
If this is correct then i feel like that you are trying to insert the same DTP twice in creation of the process chain.
And more over change the display to Graphical mode rather that the Netwok mode while you display the Process chain in RSPC T-code.
Best Regards,
VNK. -
Info Spoke - Process Chain - OS Command usage help
I am new to BW. My requirement is to extract the master data off of BW data targets on a weekly basis and ftp the files onto a different server.
To meet this requirement, I am planning to create InfoSpoke(s), put it in a Process chain and using the OS Command ftp the files to different server.
Is this the right way to do it or are there any better ways? If it is, I need help on where to give the target server name, user_id and PSW in the OS Command variant of Process Chain.
Also, is it possible to schedule a Infospoke directly from the scheduler (Auotsys...) and still execute weekly/monthly?
Thanks for your help in advance
RKThat's correct. You'll define the command under the general services tab in the process chain transaction (It's labeled OS Command and is a silver circle thing with a blue dot in it).
When you drag it into the process chain it will ask for a varient. In the System Command field for this varient is where you'll define the actual command. (little pencil button next to it). At this point you can call a script that does the copy or call an actual command that does the copy.
Might be easier to control with a script that does the work but if you want to call rcp/scp, the os command will be rcp and parameters will be the filename, etc. If it's a script then you'll just enter the name of the script in the os command field.
Hope this helps.
-bill -
Process chain colour: active/scheduled?
Hi there,
Can i see from just looking at a process chain in RSPC whether or not it is scheduled and active?
Hope you can help
Cheers
NeilHi Neil Aldum,
1) Go to particular chain which u r going to monitor in RSPC.
2) In planned view u will be knowing whether the chain is in scheduled or Descheduled & also first of all check logs.
3) If the chain is green,it means that chain is Scheduled.
4) If the chain is in Grey colour,it indicates that the chain is descheduled
or If u want to run the chain ,in status bar u will find an option to "Schedule & Activate"
Thanks & Regards,
Madhusudhan Reddy.K -
Process Chain Status is Red even though all processes are successful.
I implement ABAP Code by using standard function module "RSPC_CHAIN_START" for execute process chain and return status of process chain after execute completely as following code:
Execute Process Chain
CALL FUNCTION 'RSPC_CHAIN_START'
EXPORTING
I_CHAIN = I_CHAIN
I_SYNCHRONOUS = I_SYNCHRONOUS
IMPORTING
E_LOGID = P_LOGID.
If sy-subrc = 0.
gt_status = 's'.
WHILE gt_status = 's'.
Get Status of Process Chain
CALL FUNCTION 'RSPC_API_CHAIN_GET_STATUS'
EXPORTING
i_chain = I_CHAIN
i_logid = P_LOGID
IMPORTING
E_STATUS = gt_status
E_MESSAGE = P_MESSAGE.
Status G or F - Report that the Chain is Successfully Completed.
Status A - The chain is Currently running
Status R or X - Report that the chain has ended with Errors.
CASE gt_status.
WHEN 'A'.
Process chain is running
gt_status = 's'.
P_MESSAGE = ''.
WHEN OTHERS.
Process chain is completed
exit.
ENDCASE.
IF gt_status = 's'.
WAIT UP TO 2 SECONDS.
ENDIF.
ENDWHILE.
Display Message
IF gt_status = 'G' or gt_status = 'F'.
MESSAGE i162(00) WITH P_MESSAGE.
Else.
MESSAGE e162(00) WITH P_MESSAGE.
ENDIF.
ENDIF.
From above code, when execute this function module, sometimes status of process chain is shown as canceled 'X', therefore, output of this function module is shown as "The process chain is canceled". When monitor process chain in RSPC log view, the process chain status is also shown as canceled 'X' and status of all process in process is green, however, after wait for a while, the status changed from canceled 'X' to successful 'G'.
Why did the status of process chain show as canceled 'X' even though finally process chain status is successful ? If I want to check status of process chain after execute completely, which status should to check in ABAP code?
Regards,
PuiUsing that FM.. u will be providing the Instance and Variant of the failed process.. and hence the reload will start from the failed process but not the entire chain...
In general the process status shud finish then or based on the link combination the change from one process to other will happen...
try to maintain a wait time between the process atleast 2 to 4 secs..
thanks
hope this helps..
Maybe you are looking for
-
Best Practice for creating Excel report from SSIS.
I have a requirement to create an Excel report on a daily basis which pulls data from SQL. I have attempted to resolve this by creating a stored procedure to save the results in SQL, a template in Excel to hold the graphs & pivot tables and an SSIS p
-
EBS 12.1.3 & OCM: few questions
Hi, I would need some clarification when using Oracle Configuration Manager (OCM) with EBS 12.1.3. I have multi-node (app node + db node in separate servers) EBS 12.1.3 environment where I've configured OCM as follows. Installed OCM (setupCCR) and ex
-
Dynamic configuration with a target ZIP file
Hi, I have an scenario file to file. Source is a ZIP file, so CC is a FILE NFS Binary. XI acts as a FTP mover and there aren't message mapping nor Integration directory definition . Target and source filename it's the same. But target directory must
-
No Business Partner name in the general note of a DSWP-issue
End user has been created within a CUA-sytem and distributed to the SSM-system. Subsequently the Business Partner BP has been generated in the SSM-system succesfully with the tcode bp_gen. The BP has been attached in the organization model succesfull
-
Writeable pdf online or on ipad
We have SAP generate a writeable PDF that we want to use online or on ipad. Ipad is currently (also when using Adobe Acrobat Reader) not opening the document .. need some help