Work Manager 6.2 (CS) - Longtext not set for multiplie Notification Activities
Hi all,
I am trying to post multiple activities, each with its own long text from the work manager. The thing is that only the first activity will have the long text. While debugging /SYCLO/IF_CORE_DO_HANDLER~CREATE (/SMERP/CL_CS_NOTIFICATION_DO), I found a curious piece of code, that basically does the following:
Loop over activities (outer loop)
Get a fresh sort number
Loop over long texts (inner loop)if the long text sort number matches the activity sort number (the activity from the outer loop)
then replace the long text sort number by the fresh sort number and remove the long text from the list of long texts and copy its values to another list
else remove the long text from the list of long texts and copy its values to another list
replace the activity sort number (the activity from the outer loop) with the fresh sort number
What happens with multiple activities is that in the inner loop, all the long texts are removed from the list of long texts (even those that are matching the second, third, ... activity in the activity list). Therefore, only for the first activity, long texts are added. Did anyone else encounter this problem (if this is working for anyone, could you provide me with your BAPI parameters)? Any idea on what SAPWM-911 is about (would it be safe to get rid of that part)?
LOOP AT me->tab_notif_activity ASSIGNING <notif_activity>.
ADD 1 TO lv_sort_no.
LOOP AT lt_notif_longtext INTO ls_notif_longtext WHERE objtype = lc_ltext_notif_activity.
lv_index = sy-tabix.
IF ls_notif_longtext-objkey+4(4) = <notif_activity>-act_sort_no.
ls_notif_longtext-objkey+4(4) = lv_sort_no.
APPEND INITIAL LINE TO me->tab_notif_longtext ASSIGNING <notif_longtext>.
MOVE-CORRESPONDING ls_notif_longtext TO <notif_longtext>.
DELETE lt_notif_longtext INDEX lv_index.
"<--Ins 332_700 SP1 - SAPWM-911 - Start
ELSE.
"Check for remaining longtext rows not matching with parent table
"is considered as update to the existing activity notes
APPEND INITIAL LINE TO me->tab_notif_longtext ASSIGNING <notif_longtext>.
MOVE-CORRESPONDING ls_notif_longtext TO <notif_longtext>.
DELETE lt_notif_longtext INDEX lv_index.
"<--Ins 332_700 SP1 - SAPWM-911 - End
ENDIF.
ENDLOOP.
<notif_activity>-act_sort_no = lv_sort_no.
ENDLOOP.
Thanks in advance for any contribution to this problem.
Regards, Daniel
Hi Daniel,
I would suggest you raise an OSS message to get this fixed if you believe its bug.
With Regards
Murali
Similar Messages
-
Temp folder was not set for RTFStringbuffer Error
Hi,
We are using CR XI 11.0.0.895 and CR XI JRC is been used to generate the reports in PDF and RTF format.
While generating report of more than 1000 pages in RTF format throws the below mentioned exception
temp folder was not set for RTFStringbuffer
However, Generating reports in PDF format generates the report.
Find below the environment details which would helpful for the analysis.
CR XI 11.0.0.895
IE 6.0
MS-office 2003
Windows XP SP2
Reports JRC application deployed on Weblogic 8.1.4
Please suggest us a solution for this problem.
Thanks in advance.If you run [Process Monitor|http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx], do you see any file access errors when the JRC tries creating a temp RTF file?
I think I've recommended this before, but have you tried the newest version of the JRC?
[https://boc.sdn.sap.com/node/19020]
The XI Release 1 keycode will work with it.
Sincerely,
Ted Ueda -
Lock NOT set for: Archiving the data from a data target
Dear Expert,
I try to archive one of my info cube, when i start to write the Archive file the Free Space in the Archive folder not enough and it make the process error.
Then i try to changes the Archive folder to another path with enough free space. But when i start to write the archive file with new variant this error message came up :
==============================================================
An archiving run locks InfoProvider ZICCPS810 (archivation object BWCZICCP~0)
Lock NOT set for: Archiving the data from a data target
InfoProvider ZICCPS810 could not be locked for an archiving session
Job cancelled after system exception ERROR_MESSAGE
==============================================================
Please Help Me.
Wawan SHi Wawan,
If the earlier archive session resulted in error, please try to invalidate the earlier session in archive management and try running archive job again.
Hope this helps,
Naveen -
DTP error: Lock NOT set for: Loading master data attributes
Hi,
I have a custom datasource from ECC which loads into 0CUST_SALES. I'm using DTP & transformation which has worked for loading data in the past for this infoobject. The infopackage loads with a green status but when i try to load data, the DTP fails with an error message at "Updating attributes for InfoObject 0CUST_SALES Processing Terminated" & the job log says: "Lock NOT set for: Loading master data attributes". I've tried reactivating everything but it didn't help. Does anyone know what this error means? We're on SP7. Thanks in advance!Hello Catherine
I have had this problem in the past (3.0B) --> the reason is that our system was too slow and could not crunch the data fast enough, therefore packets where loacking each other.
The fix: load the data into the PSA only, and then send it in background from the PSA to the info object. By doing this, only a background process will run, therefore locks cannot happen.
Fix#2: by a faster server (by faster, I mean more CPU power)
Now, maybe you have another issue with NW2004s, this was only my 2 cents quick thought
Good luck!
Ioan -
after I entered the password of my iCloud ID, it prompted out asking me to check email from an emai address that I did not set for rescure? and then I cannot login.
Try going to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID. Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change. Then edit the name of the account to change it back to your old email address. You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud). Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was. Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
-
Using a Variable in SSIS - Error - "Command text was not set for the command object.".
Hi All,
I am using a OLE DB Source in my dataflow component and want to select SQL Query from the master table I have created variables v_Archivequery
String packageLevel (to store the query).
<Variable Name="V_Archivequery" DataType="String">
SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)
</Variable>
I am assigning this query to the v_Archivequery variable, "SELECT a.*, b.BBxKey as Archive_BBxKey, b.RowChecksum as Archive_RowChecksum
FROM dbo.ImportBBxFbcci a LEFT OUTER JOIN Archive.dbo.ArchiveBBxFbcci b
ON (SUBSTRING(a.Col001,1,4) + SUBSTRING(a.Col002,1,10)) = b.BBxKey
Where (b.LatestVersion = 1 OR b.LatestVersion IS NULL)"
Now in the OLE Db source, I have selected as Sql Command from Variable, and I am getting the variable, v_Archivequery .
But when I am generating the package and when running I am getting bewlo errror
Error at Data Flow Task [OLE DB Source [1]]: An OLE DB error has occurred. Error code: 0x80040E0C.
An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E0C Description: "Command text was not set for the command object.".
Can Someone guide me whr am going wrong?
Please let me know where am going wrong?
Thanks in advance.
Thankx & regards, Vipin jha MCPWhat happens if you hit Preview button in OLE DB Source Editor? Also you can use the same query by selecting SQL Command option and test.
Could you try set the Delay Validation = True at Package and re-run ?
If set the query in variable expression (not in value), then Set Evaluate As Expression = True.
-Vaibhav Chaudhari -
Error "Lead selection not set for context node"
Hi everyone,
I've got a Tree control in WebDynpro ABAP and I've implemented an "expand all" button.
Here's the coding:
METHOD expand_node_rec.
DATA lo_el_child TYPE REF TO if_wd_context_element.
DATA lo_node_children TYPE wdr_context_child_map.
DATA wa_lo_node_children LIKE LINE OF lo_node_children.
DATA lo_nd_child TYPE REF TO if_wd_context_node.
DATA lo_kschl TYPE klschl.
DATA lv_has_children TYPE boolean.
lo_el_child = node->get_element( ).
lo_node_children = node->get_child_nodes( ).
node->get_attribute( EXPORTING name = 'KSCHL' IMPORTING value = lo_kschl ).
node->get_attribute( EXPORTING name = 'HAS_CHILDREN' IMPORTING value = lv_has_children ).
IF lv_has_children = abap_true.
node->set_attribute( name = 'IS_EXPANDED' value = abap_true ).
ENDIF.
LOOP AT lo_node_children INTO wa_lo_node_children.
lo_nd_child = wa_lo_node_children-node.
me->expand_node_rec( node = lo_nd_child ).
ENDLOOP.
ENDMETHOD.
However I'm getting the error above: "Lead selection not set for context node".
Any suggestions?
Edited by: DEVELOPMENT THEMIS on Jul 7, 2011 6:34 PMhi developement Themis,
I think u didn't diclare "node" as context node. So declare it as a context node before using as a context node..as below
DATA node TYPE REF TO if_wd_context_node.
or u can use "lo_nd_child " as ur context node in ur program in place of "node"
then I think this error will be removed.
thanks,
simadri -
i am not able to find the Subscription / manage part. It is not available for me in the "view apple id" screen
ok . i am I try to managed cycleops app for tablet
https://www.cycleops.com/virtualtraining/apps-pricing -
i have recently changed by email login password for my emails i have managed to change them in my setting for my iPad but need to change the settings for my MAC computer but i cannot seem to do it help please?
Mail/Preferences/Accounts
Use the - and + signs to delete or add your new Accounts
see
http://support.apple.com/kb/PH4928
Mac 101
http://support.apple.com/kb/index?page=search&src=support_site.kbase.search&loca le=en_US&q=deleting%20mail%20accounts -
SVM state database replica Master flag not set for any replica
Hi guys,
Recently i have done root mirroring. After creating svm volumes, i ran the metadb command to create state database replicas on the replaced disk. I created only one replica that time. I tried creating additional replicas but it said like replica already exist on the slice. So i deleted the replica on the slice. Thn i created 3 replicas again & ran metadb. Output of metadb command is below. I found there is not master flag not set for any replica. I like to know whether it would create any issue or it is fine.
flags first blk block count
a u 16 8192 /dev/dsk/c1t0d0s7
a u 8208 8192 /dev/dsk/c1t0d0s7
a u 16400 8192 /dev/dsk/c1t0d0s7
a p luo 16 8192 /dev/dsk/c1t1d0s7
a p luo 8208 8192 /dev/dsk/c1t1d0s7
a p luo 16400 8192 /dev/dsk/c1t1d0s7That shouldn't be any problem, i think the metadb's are just read at boot, and at boot one of the replicas will be choosen as the master, and will then get the m-flag.
I suspect that you deleted the replica which was used as the master during the last boot, which is why none of your replicas have the m-flag at the moment, which is not a problem as it will be choosing a new replica during the next boot.
.7/M. -
Sales order creation is not possible for this notification type
Hello,
I want to create Sales Order through following menu:
Notification -- Functions - Sales order - CreateSelection of Order Type.
But I get following message:
'Sales order creation is not possible for this notification type'
The message says: No sales order type is assigned to the notification type.
But I did not find any such configuration where I can assign notification type to Sales Order document type.
Please help.
regardsTransaction OIM9
Menu Path
Customizing > Plant Maintenance and Customer Service > Maintenance and Service Processing > Maintenance and Service Notifications > Notification Creation > Notification Types > Define Order Types and Special Notification Parameters
Nomally CS (customer service) area use this function.
Regards
Luke -
How do I get Calendar to work? It keeps saying year not set?
Calendar will not accept appointments since 11/21 software upgrade. It keeps saying year not set yet the year appears as it always has. How do I get my appointment calender to work?
The built in [[Form autocomplete]] is rather basic, if you want enhanced form autofill capability you can use the [https://addons.mozilla.org/firefox/addon/4775/ Autofill Forms] add-on.
-
Error "Lock not set for: Generate index" while running process chain
SAP BI 7.0
SP 17
I am attempting to run a new process chain and the generate index steps are failing with the below errors:
"Lock NOT set forGenerate index"
"RSSM PROCESS INDEX terminated, because InfoCube/DSO object could not be locked."
The process chain just pauses. I let it finish once and it took 2 hours and then it gave the failure messages. I have looked in sm12 and can see the lock records when the process chain is running - unfortunately I can't make much of what's there - everything looks good to me. I also tried creating the indexes manually inside the cube and then re-ran, but still get the same error. Before running the process chain, I can get the indexes to check to green, but then after running the process chain they go back to red. I have attempted many things (including looking at other forum posts), but I still have the error. Please help. Thanks
Edited by: Brett Hutchinson on Feb 10, 2009 7:50 PMHello,
So Create index is getting failed in you PS right?
1)check if any other loads are running to the same CUBE(May be from other PC's also)
Goto Manage of the cube and check, some times it may happen if any Loads are running into cube I mean Load/DTP & roll up may be running.. if so wait till the others Loads(Jobs) get complete then Repeat the failed index
2) If the Create index is running for long time, then got RSDDV--> Select the CUBE then click on BIA index(Maintenance wizard), you can see a message if indexes are running , this will happen only when some one would have tried to generate the indexes manually and it may got failed due to some reason , since u are running it manually u couldn't identify whether it got failed or not unless you got to RSDDV and check. So delete the index here and then rebuild them through PC
Hope it helps! -
Goods receipt indicator is PO is not set for Stock -item
Hi Gurus,
I have created PO for a raw material but it is so strange that the Goods receipt indicator in Delivery tab is not set (it is greyed out also). Then, I cannot do Goods receipt for PO anymore.
Normally, this Goods receipt indicator is set automatically if material is stock-item.
Can anyone help me find out the reason?
Thanks,
HongHi,
For the material type RAW MATERIAL , aganist your plant ( Which is given in the PO) have you activated QTY UPDATE check box?
Check in the transcation OMS2
Select your material type and click on the Qty update / Value update ( Which is in the left hand side window).
Check QTY UPDATE check box aganist ur plant code. If not activated, check / activate check box.
If this check box is activated, then only GR checkbox is activated in the PO - Delivery screen
Regards
KRK -
Hi,
I am facing a probleme where in a step of workflow is not getting executed properly. If i check the container for that step, the import parameter for it 'Guid' shows as '<not set>'. I am new to workflows, so I may not be aware of the basics or details and might have missed out. Please guide what could be the possible reasons for it.
Thanks and Regards,
RadhikaMy WF's previous step is getting executed properly which is also using the
Object id. Gor guid,
i am using Structure:SYSUUID Field: C.
As you stated that the previous step is also using the same guid, so just open the workflow in change mode and copy the binding entry from the previous step and paste it in the step where the guid is not getting set, make sure the target container has the same element name as it is in the previous step target container.
Maybe you are looking for
-
Getting admin role in solaris 11
Hi, As shown below, I am unable to execute certain commands on our Solaris 11 machine. I think that it is an issue with my privileges. I know the root password. Could someone tell me what are the privileges I should assign to my user and how? For exa
-
Remove "Personalize Link" from context menu of iViews.
HI, We have to disable / hide the "Personalize Link" from context menu of all iViews in the portal. we do not want to go to Properties of individual iViews and change that. Is their any global setting for that? _vishal
-
I'm trying to get the address of kernel symbols using nlist() function and this is not working on my machine (Solaris 10, 06/01, SPARC/64 bit): I used the following program to test nlist: #include <stdio.h> #include <stdlib.h> #include <nlist.h> #inc
-
How to import lens corrections into Lightroom?
I have downloaded some lens corrections from the Adobe Lens Profile Downloader for lenses that didn't exist in my LR5. I do not know how to import these into LR5.
-
Repository owner installation failed OWB10.2
Hello OWB 10.2.0.1.31 successfully installed in 10.2.0.1.0 database on Windows Server 2003. Installation of Warehouse Builer Runtime Repository fails at 5% with following exception: "The Warehouse Builder repository owner installation failed on user