Process chain status message in the custom screen.
HI All,
We have created a custom screen for hierarchy upload in BW once the file has been uploaded it will trigger an event which is triggering a process chain. The process happen like
Upload the file from desktop it will go and sit in al11 folder
Trigger an event which will trigger the process chain
Infopackge routine has been written which will download the file for al11.Please find the attached screenshot is for your reference.
Once the DTP has been completed we need to trigger a message which will tell us the status of the DTP like finished successfully or not. This message should have to show in the custom screen which we have provided to the customer.
We are aware of mail recipient list option. Please suggest further options
Many thank sin advance.
Regards,
Sakthivel S
Hi Appana,
Yes, we can identify any screen changes from sy-datar. It is set when I make any changes in the custom screen also. But I dont want to give a pop up every time I leave the custom screen. I want to give raise a pop up for saving the delivery document just like any other SAP screen (For eg. SAP Screens do not give a pop up when we move from one screen to another screen, but it gives a pop up if we try to do a subsequent functions like picking without saving the changes in delivery).
Thanks
Anil
Similar Messages
-
Display error message as as status message on the screen
Hi all,
How to display error message as as status message on the screen
The requirement is if I call the screen, it should get with the error message in the status bar. If I write with error message 'E' error mesage information displays and when I click on exit, it leave the current transaction.
if i display success message and use display like 'E' it display the error message but if i save it save the transaction.
i cannot use leave to screen also because of subscreen. if i use leave to screen system display set screen not allowed in subscreen.
so i want to stop the processing or do not allow the transaction to complete on the message.Hi
displaying error message like status message will help u?
try the below code
MESSAGE 'Error' TYPE 'E' DISPLAY LIKE 'S'.
cheers
shibu -
Error message at the selection screen while processing screen logic
Hi All,
I need to show error message at the selection screen.
I am calling the screen inside the START-OF-SELECTION, and processing the calculation and putting the data into i_final internal table. If internal table I_FINAL is empty I have to show error message saying ' DATA is empty' , this error message should be shown at the SELECTION SCREEN (Report input screen 1000) and provide the user to enter the input values once again.
But whenever I am populating error message, I am getting a pop up to chose exit, and process is terminating.
Since I am in the middle of the screen processing whenever I am giving a error message.
Please let me know how can I populate error message without terminating the process while I was in the middle of the screen processing logic.
Regards,
Maheshhi
If u are trying to validate a field use
AT SELECTION_SCREEN ON <field>
if want to validate a block
AT SELECTION SCREEN ON <block>
If Universal Validation
AT SELECTION SCREEN
and display a 'E' Message inside the block.
You can Enter Correct Value and start processing Forward.
hope this will help.
Regards
Sumit Agarwal -
Process Chain Status Red, DTP status yellow, DTP is green from inside
Hello All,
I have a problem where the Process Chain status is red, but the process(DTP) status is yellow.
When I right click on the yellow process there is no error message and the DTP is green in Process Monitor.
But the chain did not complete and the rest of the process steps are grey.
After 20 minutes the Process Chain ran again(automatically after new data arrived) and this time without errors and it went green.
My question is, how to proceed with the red Process chain and complete the further process and make it green.
Regards
Alexhi,
There are scenarios where you need to change status of a process chain or a particular step in process chain.
You might need to change the status in the cases where we need mark these steps successful so that dependent steps get processed. There are other scenarios where one needs to change the status of a single step in the process chain or status of whole process chain.
Step by step instructions on change process chain status
1. Right click on the failed step in the process chain monitor and go to displaying messages
2. Go to u2018Chainu2019 tab and note down variant, instance and start date
3. Go to SE16 and the table RSPCPROCESSLOG and enter variant, instance and start dates from step 2 and note down log_id, type, variant, instance.
4. Go to SE37 transaction and execute the function module RSPC_PROCESS_FINISH and enter the values from step 3 and enter the new status u2018Gu2019 in status field and execute the FM
5. This sets the status of the process chain (PC)
After you set the status using the FM, go to the monitor screen of the process chain, you will notice the changed status. Now dependent steps in the process chain will start running
Thanks -
Hi All,
Most of our Process chains trigger at midnight and all are meta chains,and these all are European loads and 24 hours clock and 2 hours late than Indian timings, my question is
for example, there is a process chain A, it should trigger at midnight say 22 that is in our timing at 12,It has been triggerd and next day morning i checked in log view selecting the option ,yesterday and today, and one of its local chain showing red status.Then i went to that particular local chain and checked in logview by selecting the option yesterday and today,then it is showing yesterday's status ,and on the left side today's date also displayed but while clicked on the todays date, some screen is coming and not showing process chains status today. and when i check the option Today in the logview it is giving the message,no logs were found.what does that mean.is it triggered in correct time .or do we need to trigger it.if it is triggered ,then why it is showing red status.please clarify my doubt.
Thankyou.Hi,
Your meta chain failed yesterday, for this reason today it haven't triggered..
If you want to execute todays load check the reason for failure and rectify it first than start the chain with immediate option for todays load...
Regards
Prasad Nannuri -
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.. -
Identifying changes in the custom screen added to Delivery
Hello,
I have added a custom screen in delivery transaction(VL02n) at header level. I used BADI LE_SHP_TAB_CUST_HEAD to do that. Now if user comes and enters some data on the custom screen, then goes to menu option Subsequent processing-->Create Transfer Order, user is not prompted with a pop up screen to save changes.
It happens with SAP Standard screens for any data changes. How do we achieve the same functionality to prompt a popup message for any changes in the custom screen and save the data?
Thanks
AnilHi Appana,
Yes, we can identify any screen changes from sy-datar. It is set when I make any changes in the custom screen also. But I dont want to give a pop up every time I leave the custom screen. I want to give raise a pop up for saving the delivery document just like any other SAP screen (For eg. SAP Screens do not give a pop up when we move from one screen to another screen, but it gives a pop up if we try to do a subsequent functions like picking without saving the changes in delivery).
Thanks
Anil -
Process Chain - status Undefined
Hi Guys
Recently we updated the patch and after that the process chains are going into the undefined status(They are not failing). If we manually load it works fine. not sure where to start search from as I donu2019t have any error in hand and the warning states something like this
u201CProcess Activate DataStore Object Data, variant Activate Data ZXX_DS04 has status Undefined (instance)u201D
We are on SAP NetWeaver BI 7.0 - SP 15 Patch 17...
Any resolution on this problem. cos we are having this problem everyday and need to run the steps manually.
We have the same problem in DEV and QA too... is there anything to do with the patch (just a guess as things were working fine till the day before the patch)
regards
Shalin ShahMost of the time we don't get any error message and the process chain will just stop. And some times we get following error message:
Process Execute InfoPackage, variant 0ACCOUNT_ATTR has status Framework Error Upon Completion (e.g. follow-on jo (instance REQU_D3XE1WKYG8BLZOXF7TGF7R4TF)
Message no. RSPC009
Error message during processing in BI
Diagnosis
An error occurred in BI while processing the data. The error is documented in an error message.
System Response
A caller 01, 02 or equal to or greater than 20 contains an error meesage.
Further analysis:
The error message(s) was (were) sent by:
PSA Table
Procedure
Check the error message (pushbutton below the text).
Select the message in the message dialog box, and look at the long text for further information.
Follow the instructions in the message.
Error message:
Error when writing in PSA
Message no. RSM2851
Error 5 when adding to PSA
Message no. RSAR130
Thanks,
Shalin Shah -
Adding the customer screen to enhance the header for Enjoy PO
Dear Expert's,
My requirement is to add a new tab on Header for Enjoy PO by enhancing ME21N/ME22N and ME23N.
I have already implemented the BADI's ME_GUI_PO_CUST and ME_PROCESS_PO_CUST.
Actions Taken:
I have created a custom Function group and subscreen '9000'.
I have created a 'Z' structure as per the screen layout on the Header Tab
I have appended the custom fields in EKKO custom include CI_EKKO.
Reactions:
1. I am able to successfully display the screen on additional tab at header level.
2. The Display & Change is working perfectly for screen '9000' on ME21N/ME22N and ME23N header.
Problem:
I am unable to read the 'Z' fields from EKKO to populate the TAB Screen '9000' and neither able to save the 'Z' fields from '9000' TAb screen for header data.
I am not using any EXIT for this and have to use only BADI for this solution. Please help me to implement this solution using BADI only.
Also i have tried implementaing the transport Data object -> Model + Model -> Dynpro + Dynpro -> Model + Model -> Data object methods, but these methods are not getting triggered.
Please let me know if i can use EVENT_PBO & EVENT_PAI if yes , than how to trigger these events and where..?Hi ,
try to enhance PO header using SAP Note 407975
Summary
Symptom
You are using SAP customer enhancement MM06E005. There is no sample source
code for this enhancement.
More Terms
User exit, customer enhancement, MM06E005, example, sample
Cause and Prerequisites
You want to activate user exit MM06E005. Note that this is a consulting
note and not a correction of the user exit.
Solution
You can use the sample source code attached here to recognize the basic
functions of the exit. This example is, however, only one of many options
that are offered by the customer enhancement.
The sample source code includes the following functions:
o Supply of an additional field on header level
o Supply of an additional field on item level
o Derivation of a field on item level from the copied reference
document
Now, in order to be able to use the sample source code, you must create
field ZZFLAG on the header level of the document and field ZZFIELD on the
item level.
Double-click on Include table CI_EKKODB
Enter the following values:
- Name Component type DType Length DecPlace Short text
- ZZFLAG CHAR1 CHAR 1 0 1-digit indicator
Save and activate the include table.
Double-click on Include table CI_EKPODB
Enter the following values:
- Name Component type DType Length DecPlace Short Text
- ZZFIELD CHAR1 CHAR 1 0 1-digit indicator
Save and activate the include table.
In order to activate the sample source code, you additionally have to carry
out the following changes on screens 0101 and 0111.
1. Screen 0101: Create the following fields:
2010.02.05 Page 2 of 3
SAP Note 407975 - MM06E005: Collective note: Examples for
implementation
"Checkbox" Name: EKKO_CI-ZZFLAG
2. Screen 0111: Create the following fields:
"Input/output field" Name: EKPO_CI-ZZFIELD
"Pushbutton" Name: BUTTON
FctCode: ZZDETERMINE
The following assignments apply to the sample source code:
EXIT_SAPMM06E_006 --> LXM06F36
EXIT_SAPMM06E_007 --> LXM06F38
EXIT_SAPMM06E_008 --> LXM06F37
EXIT_SAPMM06E_009 --> LXM06F39
EXIT_SAPMM06E_016 --> LXM06F41
EXIT_SAPMM06E_017 --> LXM06F42
EXIT_SAPMM06E_018 --> LXM06F40
Copy the source code from the attachment and insert it into the
corresponding function modules. Save and activate the function modules.
Create the following variables in the corresponding TOP include in order
not to get any syntax errors:
INCLUDE ZXM06TOP
data: gl_aktyp type c,
gl_no_screen type c,
gl_rekko like ekko,
gl_ekko_ci like ekko_ci,
gl_ekpo_ci like ekpo_ci,
gl_ekpo like ekpo,
gl_ucomm like sy-ucomm.
types: begin of ekpo_tab,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
ekpo like ekpo,
end of ekpo_tab.
data: gt_ref_ekpo_tab type table of ekpo_tab.
Save and activate the TOP include.
On header level, you can now store a character, X or space, via field
ZZFLAG on the database with the document and read it also again.
On item level, you can fill field ZZFIELD with a one-digit value and save
it with the document. If you copy this document, the system displays an
additional function button on tab page "Customer data". If you press this
button, the value of the reference document is copied to field ZZFIELD.
If you want to store the source code as sample source code in your system,
start Transaction SMOD. Enter MM06E005 as an enhancement. Select
"Components". Press "Change". Position the cursor on the corresponding
module and choose "Sample code". Create the corresponding include and copy
2010.02.05 Page 3 of 3
SAP Note 407975 - MM06E005: Collective note: Examples for
implementation
the source code from the note. Save the include. Note that, of course,
syntax errors may occur when you check components. This is because the
includes of the sample code are not integrated into a program but rather
are completely independent and, therefore, do not have any relationship to
each other either. For this reason, only save the include and do not
activate or check it. The sample code has to be copied into the
corresponding function modules in order to become active.
If you use the user exit in the new purchase order, it is not guaranteed
that the customer screen is always processed. To make sure that possible
required fields are checked, include a corresponding message into the
EXIT_SAPMM06E_012. This screen is always processed. -
Hi,
We have various process chains for daily loads. Among those some of the process chain shows the status as red, but the data loaded successfully in the targets. And subsequent chains are not getting triggered.
Can someone let me know the solution for this please?
Regards,
Sarath.Hi Sarath,
May be some of the process type got failed in the process chain, and it might got sucessfull only after manually resolving or may be after repeating from the Process chain, In these cases some times the process chain entire status turns to RED.
You can forcefully change the process chain to Green.
copy the variant and Instance of the process chain(or select the last process type in the process chain)
goto SE11-->Enter the table RSPCPROCESSLOG and execute --> now enter the copied variant and instance here and execute, It'll give you a new pop up with a LOG id, copy this log id as well.
Now gto se37>Functional module>RSPC_PROCESS_FINISH execute and the enter the copied vaiant, instance and logid, and also enter G (sucesfully completed) in I_State and now execute. -
Email notification for Process Chain Status
Hi Experts
Can any one suggest me how to setup Email Notification for the Process Chain status
For eg If there is any error in the process chain is there any way that we get an Email notifications.
Thankshttp://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=64389689
This can be perfectely done using Tcode ALRTCATDEF.
1. go to ALRTCATDEF
2. select classification "Process Chains"
3. click on display/change
4. double-click on "error in a process of a process chain"
5. click on "fixed recipients"
6. write in your username (you have to maintain your e-mail address in SU01 for that to work)
7. save
8. go to your process chain (rspc)
9. go into edit mode
10. from the menu, select Process chain -> attributes -> alerting
11. check "send alerts if errors occur". -
When I upgraded my iPhone 4s to IOS7, I lost all my app icons. Where did they go? Interestingly they are still listed in notifications and I could play words with friends when I got a message on the home screen that it was my turn (but still no icon)
Hey linfrommi,
Thanks for the question. I understand that you are having trouble locating some application after the update to iOS 7. To troubleshoot this issue, let’s reset the home screen layout of your iPhone, which should move all of your applications to the second “page”:
Reset iPhone settings - iPhone
http://help.apple.com/iphone/7/#/iph7a2a9399b
Reset Home Screen Layout: Returns the built-in apps to their original layout on the Home screen.
Thanks,
Matt M. -
How to give out a status message indicating the number of fields selected
Hi experts,
I hope some one might have done what I'm trying to do. Could some one please show me how to give out a status message saying for example how many fields have been give out(or selected) in the t_ouput in an alv grid? Is there a FM that could do this? I mean like giving the FM the t_output and it will show a status message with the number of fields selected?
Thank you for your input.
Nadin
Message was edited by:
nadin ramHi Ram,
Write this code,
Message 'Select Only Ten Fields' type 'I'.
It displays The Message in Message Box.
Or if you want the Error Message means,
Message 'Select Only Ten Fields' type 'E'.
Thanks,
reward If Helpful. -
How to open a Excel file and display on the custom screen
Guys, I am new to screen programming. In my first screen (SCREEN #9000) I want to put a field, where I must be able to select a file from my desktop and when I click the DISPLAY button, it should suck all the data from the spread sheet in to an internal table, and should display the next screen (SCREEN #9001), displaying the data from the internal table along with a button called LOAD. Now when I click the LOAD button after reviewing the data, it must load the data to my custom table in R/3. I know how to load an Excel spreadsheet to R/3 without the custom screens. But my requirement now is to do from custom screens like I mentioned above. Any ideas how to do this? Thanks.
DanHi Dan,
In my first screen (SCREEN #9000) I want to put a field, where I must be able to select a file from my desktop and when I click the DISPLAY button, it should suck all the data from the spread sheet in to an internal table, and should display the next screen (SCREEN #9001)
For this create a MPP program and create a Push button. Write the code for this to open a file like use f4_filename.From here you are able to select a file.
+ displaying the data from the internal table along with a button called LOAD. Now when I click the LOAD button after reviewing the data, it must load the data to my custom table in R/3.+
With the above you are able to open a file and now you have to load that data into internal table. Select the file from the desktop.
Totally you have to create 1) Screen 2) Push button( Open File) 3) Load data ( From file) .
[Create Push Buttons|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba9a635c111d1829f0000e829fbfe/content.htm]
Check this if there is any please post.
Regards,
Madhu. -
Can we stop the process chain in middle of the process ?
hi experts,
Can we stop the process chain in middle of the process after scheduled.
my process chain is like start--->load>psa>ods1-->further updates--->ods2. In this case I have already scheduled but i want to stop the process how can i. After rectifying the error I want to restart again.
if it is possible what are the steps we fallow pl give me step by step procedure.
thanks & regards.
venkatstopping the process chain is pretty simple. you just need to kill the jobs associated to them as mentioned by other folks.
for restarting, have a look at this blog.
Restarting Processchains
there he explains how to restart a stopped process chain.
Raghav
Maybe you are looking for
-
V9 installed and now no Library Pane
I upgraded to v9 on Vista Ultimate and not Itunes displays with a virgin Library Pane on left. Though my library is known via Edit...Preferences...Advanced, none of my special folders or play lists or Purchases or Muscic shows in teh Librarypane. Wha
-
Pixelated PSD Images in FCE what do I do??
Hi I've imported some images as 720x576 @ 72dpi flattened PSDs into FCE however the images appear very pixellated on canvas. What do I do??
-
How to decrease photo frame width in photoshop?
hi guys i have a small question to ask to the experts....i want to decrease the width of a wooden frame psd file to suit my design "the frame is so thick" simply scaling it down wont do the trick beacuase i will have only small version of it and i wa
-
"Error: PLL is not configured on Oracle server." appears on some computers
Hello, We configured the custom.pll file so that we can capture UPK with context IDs. We can capture UPKs just fine and it records all available context IDs on MOST computers. However, we have a couple of people that get the custom.pll error (Error:
-
Installing Lion fails on MacBook Air?
I just tried to install Lion and it seemed to going well but at the end said it could not install and referred my to apple support no recovery. My MacBook Air is running 10.6.8 and it is the earlier version with a 1.6 GHz Intel Core 2 Duo. It says it