CcBPM - ParForEack block not processed in parallel

Hi Experts,
I am using a par for each block in my integration process.
Within the block I send several synchronous calls to a JDBC adapter to execute stored procedure calls.
The stored procedure calls need to be executed in parallel.
In the process list ( Transaction SWF_XI_SWI1 ) I can see, that all the workitems are creat at the same time.
However they stay in status READY and are getting processed by PE runtime only sequentially.
Any idea, what is the reason of this system behaviour? Are there any workflow setting missing?
thanks
Barbara

Hi,
in case of ParForEach, the workflow log ( view with technical details ), my the node strucure of my block looks like this.
-->Block1
         --> Branch 1
       --> Block1 
        --> <my synchronous send step>
   --> Branch 2
       --> Block1
        --> <my synchronous send step>
   --> Branch 3
       --> Block1
        --> <my synchronous send step>
   --> Branch 4
       --> Block1
        --> <my synchronous send step>
   --> Branch 5
       --> Block1
        --> <my synchronous send step>
   --> Branch 6
       --> Block1
        --> <my synchronous send step>
The nodes printed bold are the nodes, where a workitem is created. So I have 6 different workitems created in my example.
All these workitems have the same creation timestamp. But the nodes below ( send steps ) have different ( ascending)  timestamps, which means, that these nodes are processed sequentially.
In case I change the mode to ForEach, the workflow log looks like this:
-->Block1
--> Block1
--> Loop 1
   --> my synchronous send step
--> Loop 2
--> my synchronous send step
--> Loop 3
--> my synchronous send step
--> Loop 4
--> my synchronous send step
--> Loop 5
--> my synchronous send step
Barbara

Similar Messages

  • Block the processing of payroll for employees who do not have IT0185 ST01

    Hi People.
    I have a client requirement that payroll should be processed only for those persons for whom ID number (IT0185-ST01) is available. I am trying to do it for Portugal Payroll.
    I activated P0185 function in PE04 for Portugal and created 2 rules:
    *ZH01 Verifica existência do IT0185*
    *TABLEP0185 Ler campos de tabela*
    *" VARGBSUBTY Campo tab.VVVVV ArgV*
    *" 01*
    *NUM=1 Definir*
    *ADDWT&0185 VAR tab.variáveis*
    and...
    *ZH02 Verifica existência do IT0185 Subtipo 01*
    *NUM=& 0185 Definir*
    *" NUM?0 Comparação*
    *ZERO=&0185 Definir VVVV p/zero*
    *" =*
    *ERROR Cancel.processamento*
    And I put the rules in sequence in the scheme. But the function P0185 doesn't accept rules.
    How do I block the processing of payroll for employees who do not have infotype 0185 subtype 01?
    Thanks,
    Helio Rabello

    if you are not sure about the linking i suggest to just show all roles associated to all the employees,
    group by employee
    create true/false formula for the role_ids  where ONLY your 20 role is TRUE per employee
    then exclude all false - that should give you only the employees that are missing that particular role.

  • User exit U935 in Mod. Pool RGGBS000 not executing in Parallel Processing

    Hi,
    Settlement of IO (KO88) is not successful in parallel processing mode.
    While doing Settlement of IOs (KO88) in parallel processing mode, I am getting an error on account assignment object. CO account assignment in OKC9, an user exit U935 is maintained and this user exit is used in Mod.Pool RGGBS000.
    When running the settlement in normal mode, the program is running through this user exit and settlement is successful. But in prallel processing mode, looks like the settlement program is not executing / by passing the user exit and errs out with CO object assignment.
    How can we make the settlement execute through the user exit in parallel processing mode?
    Thanks

    Hi,
    If the user exit supposed to trigger thru substitution (GGB1), then check whether active status is 1 in OKC9.  Just a wild guess....
    Best Regards,
    Madhu

  • Massive Query blocking other Processes

    Hi 
    We are having a Sharepoint 2010 server and we have deployed a dot net custom application on it. Recently the application was working slow and the same was observed on out of box created lists using the out of box UI. 
    We found that it was originating from a SQL query which was blocking other processes. 
    Now this problem, occurs intermittently and goes away on its own in some time(~10 minutes). The query responsible is : 
    SELECT TOP(@NUMROWS) t1.[Type] AS c0, UserData.[ntext2], UserData.[datetime1], UserData.[nvarchar10], t6.[nvarchar5] AS c14c15, UserData.[float2], UserData.[int8], UserData.[tp_ItemOrder], UserData.[nvarchar1], t15.[nvarchar6] AS c36c34, UserData.[ntext1], UserData.[int7], UserData.[float1], UserData.[nvarchar19], UserData.[tp_ID], UserData.[nvarchar5], t5.[nvarchar4] AS c12c13, UserData.[bit1], t11.[nvarchar3] AS c24c25, UserData.[int11], t14.[nvarchar6] AS c30c34, t15.[tp_ID] AS c36c32, UserData.[tp_GUID], t1.[ProgId] AS c42, t1.[SortBehavior] AS c1, UserData.[tp_Author], UserData.[tp_Editor], UserData.[int1], UserData.[int6], UserData.[nvarchar13], UserData.[ntext5], UserData.[datetime4], UserData.[nvarchar18], UserData.[tp_ContentTypeId], t8.[nvarchar3] AS c18c19, UserData.[int10], t15.[tp_Created] AS c36c35, UserData.[tp_WorkflowVersion], t1.[LeafName] AS c37, UserData.[tp_Version], t1.[Id] AS c4, UserData.[nvarchar4], UserData.[nvarchar9], t14.[tp_ID] AS c30c32, t1.[TimeLastModified] AS c40, UserData.[tp_IsCurrentVersion], UserData.[tp_HasCopyDestinations], UserData.[tp_Level], t4.[nvarchar3] AS c10c11, UserData.[int5], t10.[nvarchar3] AS c22c23, UserData.[nvarchar12], UserData.[ntext4], UserData.[datetime3], UserData.[nvarchar17], t2.[nvarchar3] AS c6c7, UserData.[nvarchar20], UserData.[datetime8], UserData.[tp_HasAttachment], UserData.[tp_Modified], CASE WHEN DATALENGTH(t1.DirName) = 0 THEN t1.LeafName WHEN DATALENGTH(t1.LeafName) = 0 THEN t1.DirName ELSE t1.DirName + N'/' + t1.LeafName END AS c2, UserData.[nvarchar3], UserData.[nvarchar8], t7.[nvarchar3] AS c16c17, t13.[Status1] AS c28c29, t14.[tp_Created] AS c30c35, t15.[nvarchar4] AS c36c33, UserData.[tp_UIVersion], t1.[ItemChildCount] AS c43, UserData.[tp_CopySource], UserData.[nvarchar11], UserData.[ntext3], UserData.[datetime2], UserData.[nvarchar16], UserData.[tp_InstanceID], t3.[nvarchar3] AS c8c9, UserData.[int4], t9.[nvarchar3] AS c20c21, UserData.[int9], UserData.[float3], UserData.[datetime7], UserData.[tp_UIVersionString], t1.[TimeCreated] AS c38, t1.[ScopeId] AS c5, UserData.[nvarchar2], UserData.[nvarchar7], t14.[nvarchar4] AS c30c33, t15.[nvarchar1] AS c36c31, t1.[ClientId] AS c41, UserData.[int3], t12.[nvarchar3] AS c26c27, UserData.[datetime6], UserData.[tp_Created], UserData.[tp_ModerationStatus], UserData.[nvarchar6], UserData.[tp_WorkflowInstanceID], t1.[FolderChildCount] AS c44, t1.[MetaInfo] AS c3, UserData.[nvarchar14], t14.[nvarchar1] AS c30c31, UserData.[int2], UserData.[datetime5], t1.[DirName] AS c39 FROM AllUserData AS UserData WITH(INDEX=AllUserData_PK) INNER JOIN Docs AS t1 WITH(NOLOCK) ON (UserData.[tp_RowOrdinal] = 0) AND (t1.SiteId=UserData.tp_SiteId) AND (t1.SiteId = @SITEID) AND (t1.ParentId = UserData.tp_ParentId) AND (t1.Id = UserData.tp_DocId) AND ( (UserData.tp_Level = 1) ) AND (t1.Level = UserData.tp_Level) AND (t1.IsCurrentVersion = 1) AND (t1.Level = 1 OR t1.Level = 2) AND (UserData.[tp_ListID] =@LISTID) AND (UserData.[tp_CalculatedVersion] = 0 ) AND (UserData.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (UserData.[tp_DeleteTransactionId] = 0x ) LEFT OUTER LOOP JOIN AllUserData AS t2 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int1]=t2.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t2.[tp_RowOrdinal] = 0) AND ( (t2.tp_Level = 1) ) AND (t2.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t2.[tp_CalculatedVersion] = 0 ) AND (t2.[tp_DeleteTransactionId] = 0x ) AND (t2.tp_ListId = @L2) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t3 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int2]=t3.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t3.[tp_RowOrdinal] = 0) AND ( (t3.tp_Level = 1) ) AND (t3.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t3.[tp_CalculatedVersion] = 0 ) AND (t3.[tp_DeleteTransactionId] = 0x ) AND (t3.tp_ListId = @L4) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t4 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int3]=t4.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t4.[tp_RowOrdinal] = 0) AND ( (t4.tp_Level = 1) ) AND (t4.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t4.[tp_CalculatedVersion] = 0 ) AND (t4.[tp_DeleteTransactionId] = 0x ) AND (t4.tp_ListId = @L5) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t5 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int4]=t5.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t5.[tp_RowOrdinal] = 0) AND ( (t5.tp_Level = 1) ) AND (t5.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t5.[tp_CalculatedVersion] = 0 ) AND (t5.[tp_DeleteTransactionId] = 0x ) AND (t5.tp_ListId = @L5) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t6 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int5]=t6.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t6.[tp_RowOrdinal] = 0) AND ( (t6.tp_Level = 1) ) AND (t6.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t6.[tp_CalculatedVersion] = 0 ) AND (t6.[tp_DeleteTransactionId] = 0x ) AND (t6.tp_ListId = @L6) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t7 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int6]=t7.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t7.[tp_RowOrdinal] = 0) AND ( (t7.tp_Level = 1) ) AND (t7.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t7.[tp_CalculatedVersion] = 0 ) AND (t7.[tp_DeleteTransactionId] = 0x ) AND (t7.tp_ListId = @L7) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t8 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int7]=t8.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t8.[tp_RowOrdinal] = 0) AND ( (t8.tp_Level = 1) ) AND (t8.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t8.[tp_CalculatedVersion] = 0 ) AND (t8.[tp_DeleteTransactionId] = 0x ) AND (t8.tp_ListId = @L8) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t9 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int8]=t9.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t9.[tp_RowOrdinal] = 0) AND ( (t9.tp_Level = 1) ) AND (t9.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t9.[tp_CalculatedVersion] = 0 ) AND (t9.[tp_DeleteTransactionId] = 0x ) AND (t9.tp_ListId = @L9) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t10 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int9]=t10.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t10.[tp_RowOrdinal] = 0) AND ( (t10.tp_Level = 1) ) AND (t10.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t10.[tp_CalculatedVersion] = 0 ) AND (t10.[tp_DeleteTransactionId] = 0x ) AND (t10.tp_ListId = @L10) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t11 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int10]=t11.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t11.[tp_RowOrdinal] = 0) AND ( (t11.tp_Level = 1) ) AND (t11.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t11.[tp_CalculatedVersion] = 0 ) AND (t11.[tp_DeleteTransactionId] = 0x ) AND (t11.tp_ListId = @L11) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t12 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[int11]=t12.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t12.[tp_RowOrdinal] = 0) AND ( (t12.tp_Level = 1) ) AND (t12.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t12.[tp_CalculatedVersion] = 0 ) AND (t12.[tp_DeleteTransactionId] = 0x ) AND (t12.tp_ListId = @L12) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN Workflow AS t13 WITH(NOLOCK) ON ( CAST ( CAST (UserData.[nvarchar18]AS VARBINARY) AS UNIQUEIDENTIFIER)=t13.[ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t13.SiteId = @SITEID) AND (t13.WebId = @WEBID) AND (t13.ListId = UserData.tp_ListId) AND (t13.ItemId = UserData.tp_Id) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t14 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[tp_Author]=t14.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t14.[tp_RowOrdinal] = 0) AND ( (t14.tp_Level = 1) ) AND (t14.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t14.[tp_CalculatedVersion] = 0 ) AND (t14.[tp_DeleteTransactionId] = 0x ) AND (t14.tp_ListId = @L14) AND (UserData.tp_ListId = @L3) LEFT OUTER LOOP JOIN AllUserData AS t15 WITH(NOLOCK,INDEX=AllUserData_PK) ON (UserData.[tp_Editor]=t15.[tp_ID]) AND (UserData.[tp_RowOrdinal] = 0) AND (t15.[tp_RowOrdinal] = 0) AND ( (t15.tp_Level = 1) ) AND (t15.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (t15.[tp_CalculatedVersion] = 0 ) AND (t15.[tp_DeleteTransactionId] = 0x ) AND (t15.tp_ListId = @L14) AND (UserData.tp_ListId = @L3) WHERE (UserData.[tp_CalculatedVersion] = 0 ) AND (UserData.[tp_IsCurrentVersion] = CONVERT(bit,1) ) AND (UserData.[tp_DeleteTransactionId] = 0x ) AND (UserData.tp_ListID=@LISTID) AND ( (UserData.tp_Level = 1) ) AND (UserData.tp_SiteId=@SITEID) AND (UserData.tp_RowOrdinal=0) AND (t1.SiteId=@SITEID AND (t1.DirName=@DN OR t1.DirName LIKE @DNEL+N'/%') AND t1.SortBehavior=0) ORDER BY UserData.[tp_ID] ASC OPTION (FORCE ORDER, MAXDOP 1
    Any ideas what is causing this? Any background process or the custom code.
    Thanks
    Akshay

    This looks like a standard List query (could be any list).
    Make sure your List View Threshold is 5000 or less (this is set on the Web Application, primarily). Lists that are queried for >5000 rows will introduce a table locking read.
    Make sure your SQL Server is set to a Max Degree of Parallelism of 1, as well.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Select-option in Module Pool-Error-Include block not specified .........

    Hi,
    I am trying to define a select-option at Module Pool level.
    In the program
    SELECTION-SCREEN BEGIN OF SCREEN 1010 AS SUBSCREEN.
    SELECT-OPTIONS: V_BWTAR FOR MSEG-BWTAR.
    SELECTION-SCREEN END OF SCREEN 1010.
    In the Screen flow logic it is as follows
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0600.
    CALL SUBSCREEN sub_1010 INCLUDING sy-repid '1010'.
    PROCESS AFTER INPUT.
    CALL SUBSCREEN sub_1010.
    MODULE USER_COMMAND_0600.
    At SE51 it is showing an error
    "Include block not specified,not defined or spelt incorrectly.".
    Please let me know how to correct this.
    Thanks,
    K.Kiran.

    HI Emre
    I am having the same issue.  there is not possible to create a subscreen by se51 since I already define the subscreen by selection-screen begin of screen *** as subscreen.
    regards TP

  • Import Server detects file in Ready folder but does not process

    I have a problem where MDIS detects a file in the ready folder, but it does not launch the import:
    2772 2008/10/22 23:37:52.240   1.xml
    Source file retrieval: Delta: 0.001451 seconds.  
    2772 2008/10/22 23:38:23.428   1.xml
    Source file retrieval: Delta: 0.001151 seconds.  
    2772 2008/10/22 23:38:54.678   1.xml
    Source file retrieval: Delta: 0.006335 seconds.  
    2772 2008/10/22 23:39:25.897   1.xml
    Source file retrieval: Delta: 0.011595 seconds.  
    2772 2008/10/22 23:39:57.272   1.xml
    Source file retrieval: Delta: 0.003268 seconds.  
    2772 2008/10/22 23:40:28.507   1.xml
    Source file retrieval: Delta: 0.006276 seconds.
    The log file shows the above.  You can see it detects the file is there, but since it does not launch the import it does not process the file or even move it to the exception or archive folders.  I have confirmed settings in the MDIS.ini file, e.g. password, etc.  I can import the same file using Import Manager without any errors.
    Please help!

    Hi Jitesh,
    Your suggestion to try a different file type yielded positive reults.  I created a simple tab delimited text file and import map and changed the existing Port from using XML based on the MATMAS05 schema to using the text file.  The log shows:
    6056 2008/10/23 17:32:34.066   [MDS=ROBLB2K1H2J Repos=JAN Master ClientSystem=U2K2_MDM Port=Materials_from_U2K2_MDM]: ImportTask: Task started. Chunk size[50000], No. parallel chunks[5]
    4572 2008/10/23 17:32:34.144   [MDS=ROBLB2K1H2J Repos=JAN Master ClientSystem=U2K2_MDM Port=Materials_from_U2K2_MDM]: xStructuralTransformer: Thread started.
    1160 2008/10/23 17:32:34.144   [MDS=ROBLB2K1H2J Repos=JAN Master ClientSystem=U2K2_MDM Port=Materials_from_U2K2_MDM]: xValueTransformer: Thread started.
    4192 2008/10/23 17:32:34.144   [MDS=ROBLB2K1H2J Repos=JAN Master ClientSystem=U2K2_MDM Port=Materials_from_U2K2_MDM]: xImporter: Thread started.
    4572 2008/10/23 17:32:34.144   [MDS=ROBLB2K1H2J Repos=JAN Master ClientSystem=U2K2_MDM Port=Materials_from_U2K2_MDM]: xStructuralTransformer: Thread finished; Start -> End: 0.000000000 seconds.
    1160 2008/10/23 17:32:34.160   [MDS=ROBLB2K1H2J Repos=JAN Master ClientSystem=U2K2_MDM Port=Materials_from_U2K2_MDM]: xValueTransformer: Thread finished; Start -> End: 0.000000000 seconds.
    4192 2008/10/23 17:32:34.660   Repository Load Successful. [JAN Master]: Delta: 0.085377 seconds.  
    4192 2008/10/23 17:32:35.958   [MDS=ROBLB2K1H2J Repos=JAN Master ClientSystem=U2K2_MDM Port=Materials_from_U2K2_MDM]: xImporter: Thread finished; Start -> End: 1.000000000 seconds.
    6056 2008/10/23 17:32:36.458   [MDS=ROBLB2K1H2J Repos=JAN Master ClientSystem=U2K2_MDM Port=Materials_from_U2K2_MDM]: ImportTask: Task finished. Chunk size[50000], No. parallel chunks[5]
    4192 2008/10/23 17:34:11.133   22355-3-1-10-23-08-06-32-57_081023-063303_999.xml
    Source file retrieval: Delta: 0.006444 seconds.  
    4192 2008/10/23 17:34:11.242   Repository Load Successful. [JAN Master]: Delta: 0.028803 seconds.  
    4572 2008/10/23 17:34:43.825   22355-3-1-10-23-08-06-32-57_081023-063303_999.xml
    Source file retrieval: Delta: 0.003005 seconds.  
    4572 2008/10/23 17:35:16.018   22355-3-1-10-23-08-06-32-57_081023-063303_999.xml
    Source file retrieval: Delta: 0.010113 seconds.  
    4572 2008/10/23 17:35:47.742   22355-3-1-10-23-08-06-32-57_081023-063303_999.xml
    Source file retrieval: Delta: 0.001994 seconds.  
    4572 2008/10/23 17:36:19.419   22355-3-1-10-23-08-06-32-57_081023-063303_999.xml
    Source file retrieval: Delta: 0.012413 seconds.  
    The text file was immediately picked up and imported.  This thus proves that (1) MDIS is functioning, (2) user / password is correct.  Unfortunately you will also see from the log above that when I changed the port back to run on XML the problem has not been resolved.
    Any ideas?

  • XI can not process empty files

    Hi All,
    We have some problems as SAP is sending empty files.
    are there any way to avoid this kind of files?
    Actually an error happens when an empty file is sended. Xi is not able to process it and this empty files blocks the correct execution of the following files.
    Thanks a lot in advance and kind regards

    Hi Masters,
    We had an error this morning. This is the log:
    <i>2007-04-12 08:00:00 UTC: Error: File 'Diageo_Multisite_col.dat': Archiving to file'/data/backup/20070412-080000-296_Diageo_Multisite_col.dat' on FTP Server after processing failed: FTPEx: Transfer complete.</i>
    The file Diageo_Multisite_col.dat is Zero bytes.
    It is not important as this file will be overwrited tomorrow and the interface will be executed.
    But in other interfaces that take a lot of files, if one is empty XI does not process any of them and does not provide any log. Until Zero bytes files will be deleted XI will not process files.
    Hope it helps somebody to help me in order to understand the problem
    Thank you very much
    Regards.

  • Output message of PO in ECC not processed automatically after order released in GTS

    Dear Experts
    PO created in cobalt was blocked in GTS due to legal control. output message of PO was blocked, after the PO was manually released by the user next day, AU open the PO and saved it. output message got processed.
    Can you please let me know, why system is not processing the output automatically after the PO is released in GTS.
    Is this the standard process?
    Thanks
    Kiran

    Hi Kiran,
    This is called follow on function in GTS.
    When document is released, you could trigger background job regularly to process these document.
    Open the area menu for SAP GRC Global Trade Services in your feeder system (with transaction code/SAPSLL/MENU_LEGALR3) and choose Recovery Follow-On Functions in Feeder System .
    Choose one of the following entries to configure the follow-on functions for the selected application level: Materials Management Trigger Follow-On Functions for Purchasing Documents
    Check more details in help document.
    Trigging Follow-On Functions after Document Release in SAP GTS - System Administration - SAP Library
    Best regards,
    Vincent

  • Report RBDAPP01 not processing IDocs in status 51

    Hello guys,
    I have a problem with the execution of some Inbound Idocs using program RBDAPP01.
    Now the Idoc is executed in background with a job. Sometimes we have some locks because we receive idocs going to the same order, and then remain in status 51.
    In the variant of the job we filled to execute Idocs with status 64 and 51, but the idocs that remain in status 51 are not processed, at the end we have to do it manually.
    There is no parallel processo to avoid the locks.
    Do you know how we can solve it?
    Many thans in advance.
    Regards,
    Xavi.

    i do have the same problem. is there an solution to this?

  • GR Blocked stock process in Inbound delivery.

    Hi All,
    I want to do the GR blocked stock process through inbound delivery.
    But while i create Inbound delivery, system is automatically picking 101 movement type.
    How to proceed.
    Thanks in advance
    Regards
    KK

    Check in
    Spro -> sd -> sales -> sales documents -> sales docu item -> define item categories
    Here i think the entry for your Z item category is not done, please take the help of your SD personnel & the issue should be resolved.
    Hope the above helps.
    Regards,
    Vivek

  • MDM Inbound Port Not Processing Files

    Dear Experts,
    I got an issue while processing file from Ready folder of a specific Inbound Port where files are not processed then i tried with another inbound port of the same repository there it is working fine. Can anybody please help me out to make it work.
    Thanks
    Ravi

    Hi Ravi,
    Make sure the user ID that you are using for the auto imports in the mdis.ini file has sufficient rights for that particular port. If thats not there the file would not autoimport.
    You could even try importing the file manually using import type as port. This will help you identify if there any problems in the file and its schema that you trying to import.
    Also check if the port is set to automatic and the schema and map is maintained correctly.
    Another thing that you could check in the console is the port status. If there is a file in the ready folder it must display has data. Or if a file in the exception folder it must then show blocked on exception if you have set that property to yes.
    In cases when it does not show if afile present or not,you need to make sure the directory path mentioned in the mdis.ini file is correct. Also you would need to restart the importserver through the services and check again.
    If nothing works try deleting the port and recreating it through the console.
    Regards,
    Aditya Dhurandhar.

  • PL 05 Bizflow blocked in processing status

    Hello,
    I just install the PL05 of B1i, with JDBC driver for SQL server 2005.
    I tried to resubmit MATMAS03 object via B1i: extras/Error Inbox/<My subsidiary>/Retry, the object is removed from the error list but is not processed (no line is logged in B1i: Extras/Message log),
    I also tried to resend MATMAS03 object from R3, and i can see the objects in "Processing" status but they are blocked in this step, and never change status.
    Somebody has information on this PL05 issue ?
    Thanks,
    Fabrice.
    PS: i also tried with a DEBMAS05 object and the same behaviour occurs.

    Re-installing solved the problem (...hopefully !!!)

  • JWSDP 1.6 xws-security Simple fails with "block not properly padded"

    Environment:
    - Windows 2000
    - Tomcat50-jwsdp
    - JAVA_HOME=C:/Progra~1/Java/jdk1.5.0_05
    - Security environment handler: SecurityEnvironmentHandler.java supplied with JWSDP 1.6 (Hello, Ron!)
    I get the following in the Tomcat Window:
    ==== Received Message End ====
    Nov 13, 2005 10:38:56 AM com.sun.org.apache.xml.internal.security.encryption.XMLCipher decryptKey
    INFO: Decryption of key type http://www.w3.org/2001/04/xmlenc#tripledes-cbc OK
    Nov 13, 2005 10:38:56 AM com.sun.xml.wss.impl.apachecrypto.DecryptionProcessor decryptElementWithCipher
    SEVERE: WSS_ENC0004: Exception [ Given final block not properly padded ] while trying to decrypt message
    Nov 13, 2005 10:38:56 AM com.sun.xml.wss.impl.filter.DumpFilter process
    INFO: ==== Sending Message Start ====
    <?xml version="1.0" encoding="UTF-8"?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:enc="http://schemas.xmlsoap.org/soap/enco
    ding/" xmlns:ns0="http://xmlsoap.org/Ping" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.or
    g/2001/XMLSchema-instance">
    <env:Body>
    <env:Fault>
    <faultcode xmlns:ans1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">ans1:Fail
    edCheck</faultcode>
    <faultstring>Unable to decrypt message</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    ==== Sending Message End ====
    Please help!
    George

    Hi, I got the xws-security/samples/simple application
    working successfully with my own keystores. I have 2
    questions regarding this sample application.
    1) When running the application with the
    encrypt-server.xml and encrypt-client.xml
    configuration, why is it necessary to import the
    client's certificate into the server's truststore and
    the server's certificate into client's truststore when
    their certificates have already been signed by a
    trusted root CA (e.g. Verisign), whose certificate is
    in both truststores? Shouldn't their certificates
    containing their public keys get automatically
    exchanged during the connection request? It's a pain
    to publish a web service and expect a manual public
    certificate import for each client wanting to use the
    service.Certificates are sent only when the keyReferenceType is "Direct" which is the default. It's possible that our code is checking the certificate sent with one found in the KeyStore, but a quick scan of the code doesn't show it. If that's what's happening it's a bug. All of the other key reference strategies send only a referece to the sender's certificate in which case the reciever must have a copy of that certificate in its keystore.
    2) I use Tomcat to run the sample application and did
    set up the SSL connector to point to the keystores.
    When the client connects to the server, it uses a
    http endpoint not https. I'm aware that htpps is
    needed for SSL support but not clear on where does
    https come into play during the client's
    request/server's response process.We share the SSL keystore so that certificates don't have to be stored in more than one place. The functionality of XWS-Security and SSL is logically the same so it make sense to use the same keystore. XWS-Security operates completely separately from the transport and never knows whether HTTPS is in use or not.
    Phil Goodwin
    Technical Lead
    XWS-Security

  • Given final block not properly not padded.....when given wrong password....

    hi..........sir
    when i am executing the following code..with wrong password....i am getting the BadPaddingException:Given final block not properly padded............
    plz help me to solve this one with the solution.
    I am doing my final project .....i am implementing an security protocol....
    here is thecode...
    String pw=JOptionPane.showInputDialog("enter the password string");
    byte[] pwb=new byte[pw.getBytes().length];
    pwb=pw.getBytes();
    String msg=JOptionPane.showInputDialog(null,"enter the message");
    byte[] msgb=new byte[msg.getBytes().length];
    msgb=msg.getBytes();
    try
    PBEKeySpec ks=new PBEKeySpec(pw.toCharArray());
    SecretKeyFactory skf= SecretKeyFactory.getInstance("PBEWithMD5AndDES");
    SecretKey ky=skf.generateSecret(ks);
    MessageDigest md=MessageDigest.getInstance("MD5");
    md.update("srikrishna".getBytes());byte[] digest=md.digest();
    byte salt[]=new byte[8];
    for(int i=0;i<8;i++)
         salt=digest[i];
    PBEParameterSpec ps=new PBEParameterSpec(salt,20);
    Cipher cf=Cipher.getInstance("PBEWithMD5AndDES");
    cf.init(Cipher.ENCRYPT_MODE,ky,ps);
    byte[]thCp=cf.doFinal(msgb);
    for(int i=0;i<thCp.length;i++)
         System.out.print((char)thCp[i]);
    System.out.println("\n\n");
    String pwbs=JOptionPane.showInputDialog("enter the password string");
    byte[] pwbsb=new byte[pwbs.getBytes().length];
    pwbsb=pwbs.getBytes();
    PBEKeySpec ks1=new PBEKeySpec(pwbs.toCharArray());
    SecretKeyFactory skf1= SecretKeyFactory.getInstance("PBEWithMD5AndDES");
    SecretKey ky1=skf1.generateSecret(ks1);
    MessageDigest md1=MessageDigest.getInstance("MD5");
    md1.update("srikrishna".getBytes());byte[] digest1=md1.digest();
    byte salt1[]=new byte[8];
    for(int i=0;i<8;i++)
         salt1[i]=digest1[i];
    PBEParameterSpec ps1=new PBEParameterSpec(salt1,20);
    Cipher cf1=Cipher.getInstance("PBEWithMD5AndDES");
    cf1.init(Cipher.DECRYPT_MODE, ky1,ps1);
    byte[]thPt=cf1.doFinal(thCp);
    for(int i=0;i<thPt.length;i++)
         System.out.print((char)thPt[i]);
    catch(Exception e)
         e.printStackTrace();
    Thanks in Advance.............
    Edited by: hareksna on Jan 12, 2009 4:36 PM

    hareksna wrote:
    sir, thanks for reply.........
    I understood .....
    sorry if am asking u once again.......
    for every encrypted data there will be an corresponding decrypted data.........even with the different key.....it shud produce some decrypted bytes.(even diff from plain text)......naa.....i.e it should produce the wrong plain text.......The encyption process -
    cleartext (adding padding) padded cleartext (encrypting) ciphertext.
    The decryption process -
    ciphertext (decrypting) padded cleartext (remove padding) cleartext.
    Even though it would be gibberish when the wrong key is used, you seem to want access to the 'padded cleartext' but using your code you do not have access to it. You could emulate the PBE process and get access to the 'padded cleartext' but what would be the point. You would just have gibberish when using the wrong key.
    but y the exception......
    ok ......and also tell me y this BPE is actually happens and how to avoid that when we use some padding.....
    plz tell me the reason.............Start by reading "Applied Cryptography"by Bruce Schneier and then "Practical Cryptography" by Ferguson and Schneier.
    >
    so finally .........
    u r saying that i need to catch the BPE and should inform client that he entered wrong password........
    so i have to end up in the second step itself.....
    is there any other way to perfom this one?......if there, plz let me know....if any alternative.....As I said earlier, the alternative is to emulate the PBE process yourself but what would be the point. You would just end up with gibberish if you use the wrong password.
    P.S. You won't always get a bad padding exception if you use the wrong password. About 1in 256 you will just get gibberish as the result without the exception.
    P.P.S. Your keyboard seems to have a problem with it's '.' key. In your place I would get it fixed because the perpetual '......' annoys the hell out of many people who respond to these forums.
    P.P.P.S. Your 'caps' key seems to be intermittently broken. Please get if fixed.
    P.P.P.P.S. You should turn off your computer's SMS mode. Using 'u' instead of 'you' makes your posts very difficult to read and it annoys the hell out of many people who respond to these forums.

  • Given final block not properly padded : PLEASE HELP!!

    hi guys
    please can you help me with the following error that i am getting.
    i appear to be encyrpting ok as image a am readin in and the file reading out are the same size.
    but i am getting this pading error. been at it all day and cant find the answer to this error.
    Exception: javax.crypto.BadPaddingException: Given final block not properly padd
    ed
    javax.crypto.BadPaddingException: Given final block not properly padded
    at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
    at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
    at com.sun.crypto.provider.AESCipher.engineDoFinal(DashoA13*..)
    at javax.crypto.Cipher.doFinal(DashoA13*..)
    at Securitytest.decrypt(Securitytest.java:208)
    at Securitytest.byteConvert(Securitytest.java:117)
    at Securitytest.main(Securitytest.java:265)
    the code i am using is the following. please help me i am going mad! the iv is the same for reading in and out and the secret key appears to be the same.
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.PrintStream;
    import java.security.interfaces.RSAPrivateKey;
    import java.security.spec.PKCS8EncodedKeySpec;
    import java.security.spec.RSAPrivateKeySpec;
    import javax.imageio.stream.FileImageInputStream;
    import java.security.*;
    import java.io.*;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    import sun.misc.*;
    import java.lang.*;
    public class Securitytest{
    public static void imageConvert( ) throws Exception {
    try{
    System.out.println("please select the file to encrypt");
    BufferedReader fileInput = new BufferedReader(new InputStreamReader(System.in));
    String filetoread = null;
    filetoread = fileInput.readLine();
    System.out.println("please select the file to save to");
    BufferedReader fileOutput = new BufferedReader(new InputStreamReader(System.in));
    String filetostore = null;
    filetostore = fileOutput.readLine();
    FileImageInputStream input = new FileImageInputStream(new File(filetoread));
    ByteArrayOutputStream output = new ByteArrayOutputStream();
    PrintStream stream = new PrintStream(output);
    byte[] buffer = new byte[1024];
    byte[] data = null;
    int numberBytesRead = 0;
    while ((numberBytesRead = input.read(buffer)) != -1)
    output.write(buffer, 0, numberBytesRead);
    data = output.toByteArray();
    System.out.println("encrytped" + buffer);
    System.out.println("going to encrypt");
    byte[] imageOutput = encrypt(data);
    System.out.println("back to imageconvert");
    System.out.println("encrytped" + buffer);
    FileOutputStream imageOut = new FileOutputStream(new File(filetostore));
    imageOut.write(imageOutput,0,imageOutput.length);
    imageOut.close();
    //BASE64Encoder encoder = new BASE64Encoder();
    //String enc = encoder.encodeBuffer(imageOutput);
    //FileWriter fw = new FileWriter(filetostore);
    FileOutputStream fos = new FileOutputStream(filetostore);
    fos.write(imageOutput);
    fos.close();
    System.out.println("sent to file");
    output.close();
    input.close();
    } catch(Exception ex) {
    System.out.println("Exception: " + ex);
    ex.printStackTrace();
    public static void byteConvert()throws Exception{
        try{
    System.out.println("please select the file to decrypt");
    BufferedReader fileInput = new BufferedReader(new InputStreamReader(System.in));
    String filetoread = null;
    filetoread = fileInput.readLine();
    System.out.println("please select the file to save to");
    BufferedReader fileOutput = new BufferedReader(new InputStreamReader(System.in));
    String filetostore = null;
    filetostore = fileOutput.readLine();
    FileInputStream fis = new FileInputStream(filetoread);
    byte[] decrypt = new byte[fis.available()];
    fis.read(decrypt);
    fis.close();
    //String dec = new String(decrypt);
    //BASE64Decoder decoder = new BASE64Decoder();
    //byte[] byteSeed = decoder.decodeBuffer(dec);
    // FileInputStream input = new FileInputStream(new File(filetoread));
    // ByteArrayOutputStream inStream = new ByteArrayOutputStream();
    // PrintStream stream = new PrintStream(inStream);
    // PrintStream stream = new PrintStream(input);
    // BASE64Decoder decoder = new BASE64Decoder();
    // String dec = decoder.decodeBuffer(stream);
    // String dec = new String(stream);
    // byte[] decryptionBytes = inStream;
    // byte[] s = decrypt(dec);
    // decryptionBytes =(byte [])stream.readStream();
    // stream.close();
    // for(int i=0; i < decryptionBytes.length; i++)
        // System.out.print(decryptionBytes);
    byte[] imageOutput = decrypt(decrypt);
    //byte[] imageOutput = decrypt(decrypt);
    FileOutputStream imageOut = new FileOutputStream(new File(filetostore));
    imageOut.write(imageOutput,0,imageOutput.length);
    imageOut.close();
        }catch(Exception ex) {
    System.out.println("Exception: " + ex);
    ex.printStackTrace();
    //new being used for AES
    public static byte[] encrypt(byte[] imageBytes) throws Exception {
    byte[] iv = new byte[] {(byte)0x2A, (byte)0x98, (byte)0xB2, (byte)0xBA, (byte)0x99, (byte)0xC0,
                (byte)0xF1, (byte)0x22, (byte)0x72, (byte)0x54, (byte)0xBC,
                (byte)0xB5, (byte)0x34, (byte)0x2F, (byte)0xBA, (byte)0xC4};
    byte[] encrypte = new byte[imageBytes.length];
    //System.out.println("Imagebyte length: " + imageBytes.length);
    System.out.println("in encrypt");
    Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
    SecretKey secretKeySpec = AESkeyGeneration();
    //IvParameterSpec ivSpec = new IvParameterSpec();
    //Cipher.getIV()
    System.out.println("read out" + secretKeySpec);
    //IvParameterSpec iv = new IvParameterSpec(IV_BYTE_ARRAY);
    cipher.init(Cipher.ENCRYPT_MODE, secretKeySpec, new IvParameterSpec (iv));
    //byte[] encrypted = cipher.doFinal(imageBytes);
    FileOutputStream fos = new FileOutputStream("c:/text.txt");
    CipherOutputStream cOut = new CipherOutputStream(fos, cipher);
                // Your plaintext MUST be multiple of 16 bytes because NoPadding requires your input text
                // to be a multiple of block size.
    cOut.write(imageBytes);
    cOut.close();
    return cipher.doFinal(imageBytes);
    //return encrypted;
    public static byte[] decrypt(byte[] bytesIn) throws Exception{
    byte[] iv = new byte[] {(byte)0x2A, (byte)0x98, (byte)0xB2, (byte)0xBA, (byte)0x99, (byte)0xC0,
                (byte)0xF1, (byte)0x22, (byte)0x72, (byte)0x54, (byte)0xBC,
                (byte)0xB5, (byte)0x34, (byte)0x2F, (byte)0xBA, (byte)0xC4};
    System.out.println("in decrypt");
    Cipher cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");
    System.out.println("cipher instance");
    SecretKey secretKeySpec = AESkeyGeneration();
    System.out.println("key" + secretKeySpec);
    System.out.println("keyRead in");
    //PrivateKey prvk = loadPrvkey();
    System.out.println("read out" + secretKeySpec);
    cipher.init(Cipher.DECRYPT_MODE, secretKeySpec, new IvParameterSpec (iv));
    System.out.println("Decrypt mode");
    return cipher.doFinal(bytesIn);
    //byte[] decodeData= cipher.doFinal(bytesIn);
    //return decodeData;
    private static SecretKeySpec AESkeyGeneration() {
    SecretKeySpec secretKeySpec = null;
    try {
    KeyGenerator kgen = KeyGenerator.getInstance("AES");
    kgen.init(128);
    SecretKey skey = kgen.generateKey();
    byte[] key = skey.getEncoded();
    secretKeySpec = new SecretKeySpec(key, "AES");
    FileOutputStream fosKey = new FileOutputStream ("c:/AES.key");
    fosKey.write (key);
    fosKey.close();
    }catch(Exception e) {
      System.out.println("error in keygen = "+e);
      return secretKeySpec;
    public static void main (String[] unused) throws Exception {
    System.out.println("***********************************************");
    System.out.println("***    Biometric Encrytion Program          ***");
    System.out.println("***********************************************");
    System.out.println("Please select a process");
    System.out.println("e for encryption ");
    System.out.println("d for decrytion");
    boolean choose = false;
    BufferedReader userInput = new BufferedReader(new InputStreamReader(System.in));
    String choice = null;
    choice = userInput.readLine();
    if (choose = choice.equals("e")){
    imageConvert();
    System.out.println("Encryption");
    else
    System.out.println("Decryption");
    byteConvert();
    }

    sorry i misinterepreted something. that program failured for some input only

Maybe you are looking for

  • Error in PHASE PREP_EXTRACT/PREIMP: Upgrade SAP R/3 4.7 to SAP ECC 6.0 EHP4

    Hello, I'm currently in upgrading a SAP R/3 4.7 system to a SAP ECC 6.0 EHP4. Therefore I followed the Upgrade Guide from marketplace - installation- and upgrade guides - SAP ERP - SAP ERP 6.0 - SAP Enhancement Package 4 for SAP ERP 6.0 - Upgrade Gui

  • Problems with non-English characters in iTunes 7.7

    Since "upgrading" to iTunes 7.7 every file containing characters not normally found in English (e.g.: å, ß, ç, é, î, ñ, ø, ü, etc.) gets a mane change when iTunes plays the track. For example, a song called "Baião" suddenly becomes "Bai.o" and if the

  • Steps to create a query in development

    Could anyone tell me as how to create a query ? Nishi

  • Logs levels in proftpd

    Hello; How to separated the logs of a proftd server on several files in using the configuration file proftpd.conf : The errors will be recorded into a error file : error.log the transfer in another file : transfert.log etc... Thank you

  • MM Condition Types values flow COPA

    Dear Gurus,        My client requirement is MM Condition Types Values Should flow to COPA like SD to COPA. I had seen a screen that KE4IM is there we can map our COPA Value Field and MM Condition Types. But I am not sure that values flow to COPA, Bec