How to do comparison on fields in Switch in bpm?
Hi,
I have a switch step in bpm to check the condition if the Qunatity for each line items of PO from the OrderResponse xml match with the quantity for each line ltems of PO in OrderCreate xml, I checked the MultLine checkbox for the field Quantity in Xpath in expression editor, so the switch can handle comparsions for multiline items line by line, which is fine, but it only seems to do the comparsion based on the sequence of the line item, if I have LineItem 10, quantity 20 in the first row and LineItem 20, Quantity 30 in the second row from OrderCreate message , and LineItem 20, Quantity 30 in the first row and LineItem10, quantity 20 in the second row from the OrderResponse message, logically they are same, just in different format, however, switch in bpm compares line by line in the order, anybody have any suggestions on how to do the comparison based on LineItem number? Or have similar examples?
Thanks,
Hy
Hi,
you can compare both much easier in a mapping
(either in a java mapping - this way you'll be able to handle
all lines as you wish) or you can try to compare them with message mapping
and then just post the result to a target message and use the result from
the target message in your switch step
Regards,
michal
Similar Messages
-
How to print out fillable fields only
I'm a newb, help! I am trying to create a form in LiveCycle.
I have brought in a pdf, made some fillable fields. So far so good, here's where I'm struggling.
I want the recipient of the pdf to fill out the forms, (while still seeing the pdf in the background), BUT when they print, I want them to ONLY print out the information that they filled in the fillable fields.
So basically, they receive a document in Adobe Reader, it has a pdf in the background, and they fill in some fields, then they place a page in their printer to just print the fillable fields only.
Does anyone know if this is possible?"You can control the visibility of objects using the presence property"
Here is where I get confused. I understand that you can change the visibilty in this area, but I want the pdf background that is part of my form to be the area that doesn't print, so I can't understand how I highlight that particular area to switch it to "screen only" because it isn't really considering a text field or anything like that, it was just a pdf that I imported from the start and then built all my text fields on top of. -
Reg. displaying the comparison BOM fields in a single line in CS14
Dear Experts,
My requirement is that whenever CS14 is executed for Primary BOM with Secondary BOM comparison, when the Differentiated/Summarized Comparison button is selected, the comparison BOM Fields should appear in a single line. Currently SAP standard displays in two lines. in first line, primary BOM and next line, Secondary BOM. This functionality must be changed. I found Customer Exit PCSD0004 to achieve this. But how to do? Can anyone share your experience?
Thanks
Ramesh ManoharanHi mroshaw76 ,
That should be eazzzzyy :)
<?for-each-group:/Parent;Product?>
<?Parent?> --- this will display the car
Colors of the <?Product?> : <?for-each@inlines:current-group()?><?value?><?end for-each?>
<?end for-each?>Note the element name are case-sensitive. -
How to create a attachement field in the conent type programmatically ?
Hi Every One,
i want to create 3 attachment fields in sharepoint content type.
how we can create it
Thoughts ?
Regards,Check if below hlps
http://social.technet.microsoft.com/wiki/contents/articles/20267.sharepoint-2010-create-site-columns-and-content-types-using-c-net.aspx
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/c17500fa-bf14-4e16-ace8-5c382bb4c7c4/invalid-request-attempting-to-set-content-type-field-for-creating-list-item-in-sharepoint-2013?forum=sharepointdevelopment
SPSite site = new SPSite("your site");
SPWeb web = site.OpenWeb("your web");
SPField field = web.Fields["field Name"];
SPFieldType fieldType = field.Type;
switch (fieldType)
case SPFieldType.AllDayEvent:
break;
case SPFieldType.Attachments:
break;
case SPFieldType.Boolean:
break;
case SPFieldType.Calculated:
break;
case SPFieldType.Choice:
break;
default:
break;...
}http://stackoverflow.com/questions/2200369/check-which-field-type-column-belongs-programmatically-in-sharepoint -
How to Access Attributes of Fields in VARIANT
Hi,
Can anyone let me know how we can access Field attributes of a variant? I need to change and create these attributes dynamically.
Below are the attributes of screen field saved when creating an variant
Required field O
Switch GPA off L
Save field without values P
Selection variable L
Hide field 'BIS' N
Hide field I
Protect field P
Field name Type P I N L P L O
P_REPID P X
SO_VNAME S
For Example
If 'O' is marked as u2018Xu2019 against any field in the variant then it says that this field is OBLIGATORY
I want to access this sort of information of a variant.
Thanks
Rajgopal DaraHi RAJ,
Although the question is not so clear, but as far as i understand you want to see the attributes associated with all the fields in your variant. if so then you can go to maintain variant. just go to se38, select variant as radio button and change it. In the variant maintenance screen you can select change attribute of your variant. you can click on that and pass dynamically values (either from some table like TVARV or from program)
Hope this information will be helpful for you.
Cheers !!
Sourabh Batwara -
How to populate a custom field of a Std. SAP Tx with BAPI usage 2 Load data
Hi Experts,
For instance, I created a custom field (say, custom_field_1) on a screen of standard SAP tx(say, ME21N) by using screen exit. And in order to populate the data into it (custom_field_1), will use the Function user exits of this Tx(ME23N).
1) In next step, Where Where I have to add this field, apart from appending the same custom field in EKKO/EKPO table or any other related table; Extending the corresponding IDOC or creating a new Custom ÍDOC type? like What about BAPI?
2) If I got a text file with the data (including the data for this custom_field_1 too) and I have been asked to load it into SAP, then, I decided to use BAPI (say, BAPI_PO_CREATE or CREATE1) to create the data, So, How to handle this custom field, I mean, In which BAPI structure I have to pass this custom_field_1 data? ( Iguess, for some BAPIs EXTENSIONIN structures are provided, sorry if am wrong!)
Thank you.
Edited by: SAP ABAPer on Feb 21, 2009 7:40 PMfor example if you added field in the VBAP table then you can pass the custome field values like below
move 'BAPE_VBAP' to lwa_extension-structure.
lwa_bape_vbap-vbeln = lwa_final-vbeln.
lwa_bape_vbap-posnr = lv_posnr.
move lwa_final-yyslotid to lwa_bape_vbap-new custome field.
move lwa_bape_vbap to lwa_extension-valuepart1.
append lwa_extension to lt_extension.
clear lwa_extension.
move 'BAPE_VBAPX' to lwa_extension-structure.
lwa_bape_vbapx-vbeln = lwa_final-vbeln.
lwa_bape_vbapx-posnr = lv_posnr.
move 'X' to lwa_bape_vbapx--new custome field.
move lwa_bape_vbapx to lwa_extension-valuepart1.
append lwa_extension to lt_extension.
clear lwa_extension.
call function 'BAPI_SALESORDER_CHANGE'
exporting
salesdocument = strcture
order_header_inx = strcture
tables
order_item_in =strcture
order_item_inx = strcture
schedule_lines = strcture
schedule_linesx = strcture
extensionin = lt_extension. -
I am working in Adobe Acrobat 9 Pro and just created a pdf form from a MS Word document. I need to find out how to have a date field in my form which will update automatically.
Update automatically under which circumstances, exactly?
-
How can we insert a field when it is null and not present in database?
I am working on a report in CR XI..i have strucked ata point where i am unable to find solution..my report has fields like Financial supply and physical supply..as a froup...but both are not displaying on all pages as there are no values to be displayed in them..even though how can i display both fields in all pages ..no matter what the figures are but i need these both fields to be displayed..plz help me out?
   Regards
   Sunil
I have tried ur formula but unable to get the solution...
as there are already the same fields with existing records..all i want is how to get the field where the values doesnt exist....i.e..fin supply and phy supply exists in one zone and doesnt have values in other zone...so huv to insist the physical field into the table? -
How to add the date field in the dso and info cube
Hi all.
I am new to bi 7. in the earlier version v hav to button to add the date field. but in the bi 7 der is no option so can any body tell me how to add the date field in the data targets
Thanks & Regard
KKmy prob is solved
KK -
How to get multiple selected fields in list
Hello all,
I am trying to get multiple selected value from a list but i dont know how to get multiple selected fields from a list though AS3.
Actually i want to pass the selected fields to php, so for that i need to get the selections and send to php.
Thankx..i want to put the selected fields of list in an array through AS3....
actually......i figured it out how to do that...........
Its simple......use
list.selectedItems[index]
and to get the number of items selected......
list.selectedItems.length
simple..... -
How to modify a lookup field-type to use checkbox instead of radiobutton?
How to modify a lookup field-type to use checkbox instead of radiobutton?
I would like to modify the behavior for the lookup field.
Normally you get a screen where it is possible to search through a lookup. The items resulted from the search are listed as radiobutton items. Therefore you can select only one at the time to be added.
Is it possible to have the items to be listed as checkbox instead? So that you can check multiple items and therefore be able to add multiple items at the time?
For example:
To add the user to 10 different groups on MS-AD.
It is desired to have the ability to check multiple groups to be added instead only one at the time.
My client would like to use this feature in many other situations.Displaying will not be a big deal but with that you have to customize the action class and its working as well.
-
How can I add a field to a Repeating Frame in the body of a 9i Report
How can I add a field to a Repeating Frame in the body of an Oracle 9i Report whose source is in a higher group?
I want to change an Oracle 9i report. The report has no header or trailer but only a body. The body has the parent frame fields & a repeating frame with four fields, A, B, C & D. They all seem to be in one group. I want to add another field E to the repeating frame whose source is from the 'header'.
I added the field & created a boiler plate & then added the new field, E to the original group A, B, C & D. In the Property Inspector for the field, I pointed the source to the source column in the main query. However, when I run the report, I receive the error "Invalid body size". Some notes on Metalink indicate that this could be due to margins being out of the printable area.
Moreover, after making the changes & after having unsuccessfully run the report, when I try to open the Page Layout for the report, I get no details.
Thanks,Hi,
i also got same query can u pls tell me elaborately, if u can can u pls send some code.
Thanks & Regards
Jagadeeshwar.B -
How can I have two fields with the same name if it makes sense?
Hello, folks :)
I have a pretty hard time figuring out how I can have two text fields with the same binding name.
The whole problem is that when I need two fields with the same binding name they are still differnent coz they have the same name but differnt indices.
I should make a form filled at runtime by merging a pdf form file and an fdf file data file. And I have no choice to do it differently. And my form file needs some data like customerName, companyName twice in one form. But there's only one possible buinding name indexed zero.
How can I create a field with absolutely the same name or is it just impossible due to possible name conflicts? And is there a workaround to this problem? I just need one piece of data repeated in different places.
Thanks for your replies :)
P.S. if u think that the problem is not clear enough let me know. I'll supply you with more details. But the general process can not be changed.
One pdf should be mergred with an fdf with as the result of their merge a new filled and flattened form. I have no control over fdfs their are generated by Oracle and I can not fill the form using XML files coz this process should be integrated in a working application.I just thought about a really ugly workaround with a server-side script adding values to fdf files but it's a bit of work and tests and personally i think it's a bad idea :-(
-
How do i map one field to another in control file via SQL Loader
Can someone please reply back to this question
Hi,
I have a flat file (student.dat delimiter %~| ) using control file (student.ctl) through sql loader. Here are the details.
student.dat
student_id, student_firstname, gender, student_lastName, student_newId
101%~|abc%~|F %~|xyz%~|110%~|
Corresponding table
Student (
Student_ID,
Student_FN,
Gender,
Student_LN
Question:
How do i map student_newId field to student_id field in STUDENT DB table so that new id should be inserted in student_id column. How do i specify the mapping in control file. I dont want to create a new column in student table. Please let me know the best way to do this.
Can someone please reply back to this question.
My approach:
In control file i will sepecify the below, Is this a best approach?. Do we have any othe way?
STUDENT_ID *(:STUDENT_NEWID)*,
STUDENT_FN,
GENDER,
STUDENT_LNAME,
STUDENT_NEWID BOUNDFILLER
Thanks
Sunil
Edited by: 993112 on Mar 13, 2013 12:28 AM
Edited by: 993112 on Mar 13, 2013 12:30 AM
Edited by: 993112 on Mar 13, 2013 12:31 AM
Edited by: 993112 on Mar 18, 2013 2:52 AMOK, ok...
Here is the sample data:
101%~|abc%~|F %~|xyz%~|110%~|
102%~|def%~|M %~|pqr%~|120%~|
103%~|ghi%~|M %~|stu%~|130%~|
104%~|jkl%~|F %~|vwx%~|140%~|
105%~|mno%~|F %~|yza%~|150%~|Here is the control file:
LOAD DATA
INFILE student.dat
TRUNCATE INTO TABLE STUDENT
FIELDS TERMINATED BY '%~|' TRAILING NULLCOLS
student_old FILLER
, student_fn
, gender
, student_ln
, student_id
)And here is the execution:
SQL> CREATE TABLE student
2 (
3 student_id NUMBER
4 , student_fn VARCHAR2 (10)
5 , gender VARCHAR2 (2)
6 , student_ln VARCHAR2 (10)
7 );
Table created.
SQL>
SQL> !sqlldr / control=student.ctl
SQL*Loader: Release 11.2.0.3.0 - Production on Tue Mar 19 14:37:31 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
Commit point reached - logical record count 5
SQL> select * from student;
STUDENT_ID STUDENT_FN GENDER STUDENT_LN
110 abc F xyz
120 def M pqr
130 ghi M stu
140 jkl F vwx
150 mno F yza
SQL>:p -
How to create a new field for Q3 - QM notification in Header and item level
Dear All,
l
Sub: How to create a new field for Q3 - QM notification in Header and item level
Ref. the link --> Quality Notification
We want to create a new field in header level and item level.
As per the thread the solution is given below.
In the IMG Config: Quality Management -> Quality Notification -> Notification Types -> Define screen areas for notification types Then Choose 'Define screen areas' Then Click on 'New entries' button Now, select the relevant Notification Type and click in 'Enter'. Select the 'Iten Cases' register and remember to setup the Tabstrip Header, Icon, etc. Set the 'Tabstrip active' flag. Then Save.
Quality Notification -> Notification Types -> Define screen areas for notification types
WE ARE UNABLE TO FIND IN CUSTOMIZATION PATH --> DEFINE SCREEN AREAS FOR NOTIFICATION TYPES.
Please help.
Question No. 2 :
THE REQUIREMENT IS GIVEN BELOW.
We want to hide the field in Q3 - QM Notification
In header --> Reference tab --> Item (sub heading) --> "DEFECT LOCATION" FIELD TO BE ELIMINATED (HIDE)
Ref the link --> Quality notification
The solutiion is given below.
Hi Sami,
We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
Hope this will suffice your requirement.
Kindly ask me if you need any other details.
Thanks & Regards,
Srinivas.D
Hi Sami,
We can hide the collumns using the Transaction OQM1 and Program Name SAPLIQS0.
Lets say Defect location need to be hidden, the field TXTCDOT need to have the radio button HIDE.
Hope this will suffice your requirement.
Kindly ask me if you need any other details.
Thanks & Regards,
Srinivas.D
By double clicking the "DEFECTIVE QUANTITY (EXTERNAL), WE COULD NOT GET --> field TXTCDOT .
Plese do the needful.
We are using ECC6.0 Ehp3 and Ehp4.
With Best Regards,
Raghu SharmaDear Pushpa,
Transaction Code :SHD0 is working fine.
Please accept my sincere thanks for your sharing your Knowledge.
I am able to fulfill my
Regarding the enhancement, I have not tried.
Once I will complete, I will award the fulll marks to you.
With Best Regards,
Raghu Sharma
Maybe you are looking for
-
How can I make an iphone app with xcode that worrks like a newspaper? So that I can post articles on the app while it is on appstore. Can I directly connect the app with my mac or do I have to connect it to a database? Thanks
-
After I formatted my hardri've, I am unable to re-install or find the original CD drivers for WinXP...where/how can I get these files so Napster can see my device?
-
My company is concerned about security with customer data. I'm curious if the FormsCentral product can be purchased for self-hosting?
-
APP-PER-74450 The mobile number is invalid. It's length must be between 10
Hi, We have upgraded 12.0.4 to 12.1.3. After upgrade during HR testing, Contact Number for employee does not allow for special characters like '+' . Showing error message "APP-PER-74450 The mobile number is invalid. It's length must be between 10". T
-
Mac Mini, Snow Leopard and 64bit ... problems.
Hi, Hope you can help. My Mac Mini = 2Ghz Intel Core 2 Duo, 4GB RAM. I assumed that Snow Leopard would run fully 64bit when I upgraded ... I guess I assumed wrong? I checked my Mac Mini using a 3rd party app and got these results: 64 bit processor 64