Checking Condition
Hi Experts,
I am checking a condition in lfa1 table field lovem depending on the result X or not. I need pass a value 1 or 0 to a field in output file structure in that i am passing all fields from one z table zvend along with one extra field to check flag 1 or 0. zvend table contains lifnr field as primary key means as a common field between lfa1 and zvend
Read table LFA1 where LIFNR = ZVENDPLT-LIFNR. If LFA1-LOEVM = 'X' send '1' Else send '0' to DELETE_LOC field and dont pass lovem field.
Plz need your help.
Thanks
Basu
Hi,
Do something like this..
Loop at ZVENDPLT.
Read table LFA1 where LIFNR = ZVENDPLT-LIFNR.
If LFA1-LOEVM = 'X'.
Move '1' to DELETE_LOC.
else.
move '0' to DELETE_LOC.
endif.
EndLoop.
Regards,
Sarvesh
Similar Messages
-
BADI/User Exit for Checking Conditions in TRM Transactions
Hi All,
I have to check some conditions before saving the transaction FTR_CREATE. So that based on that condition it will be known that whether that transaction will save or not. I found some BADIs, but those are particularly working for Money market and derivatives. For my Req, I need a BADI which will check conditions for both Money market and Securities.
Exact req is, Based on Portfolio and PaymentAmount i have to restrict the transaction. Those will found in 2 tables VTBFHA and VTBFHAPO. But many BADIs doesnt contain VTBFHAPO.
If any one working on TRM can u help me out ?>
priya tavanam wrote:
> Hi Frds,
>
> I am using the FTR_TR_GENERIC Badi. In that one method is : EVT_TRANSACTION_SAVE_CHECK. In that one parameter is PI_PROXY_TRANSACTION. I want to get the attributes of Method A_TAB_CASHFLOW . That is : A_TAB_CASHFLOW~BZBETR.
-->whats ur code to read those values , it should be
lt_cashflow[] = PI_PROXY_TRANSACTION->a_A_TAB_CASHFLOW [ ] ' .
But i am unable to access this value in BADI. how access this. Can any one help me on this. -
Check condition on sub total line of ALV list
Hi All ,
Is it possible to check condition on the value of subtotal line in ALV list ,
I,e If the value of subtotal line is say greator than 100 I need to change the color of that line or change the text on the subtotal line .
I know how to change the subtotal text but i want to change with respect to value of the subtotal ,
Any input if this can be achieved will be great .
Thanks in adv .
Vinay
Edited by: vinay kolla on Jul 29, 2009 4:43 AMHi,
I donu2019t think there is any direct way to check the subtotal value in LIST display, try the following logic.
1. Use the event BEFORE_LINE_OUTPUT to check the subtotal value and accordingly change the text or colour of the line.
2. To use events in ALV, first get the events into a table through the FM REUSE_ALV_EVENTS_GET as shown
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = z_i_events.
SORT z_i_events BY name.
CLEAR z_wa_events.
READ TABLE z_i_events WITH KEY name = slis_ev_before_line_output
INTO z_wa_events BINARY SEARCH.
IF sy-subrc = 0.
MOVE 'BEFORE_LINE_OUTPUTu2019 TO z_wa_events-form.
MODIFY z_i_events FROM z_wa_events INDEX sy-tabix.
ENDIF.
3. Create a form with the name BEFORE_LINE_OUTPUT and do the coding to check the subtotals there.
Form BEFORE_LINE_OUTPUT USING RS_LINEINFO TYPE SLIS_LINEINFO.
*The structure RS_LINEINFO will have u2018Xu2019 in the field rs_lineinfo-subtot for subtotals.
If RS_LINEINFO-SUBTOT = u2018Xu2019.
*Here try to find the totals by looping at your final internal table till rs_lineinfo-tabindex.
*Then based on this u can give the colour to the line.
*I think there is no other way to check the subtotal value.
Endif.
Endform.
Edited by: venkatesh PH on Jul 29, 2009 5:31 AM -
Check condition in J1IIN Transaction
Dear All,
I am creating Excise Invoice through J1IIN transaction against a Billing Document. Sometimes user unknowingly change the Posting Date in J1IIN. So I want that Posting Date in J1IIN must be equal to the Billing Date of Reference Billing Document.
So please tell if something is possible at Customization Level or not. If it is not possible then tell can it be done with ABAP (Some Userexit or like that) or not.
Please reply asap.
Regards,
VishalHi Ankur,
Can you please confirm whether I need to write this Check condition in FM 'J_1I7_USEREXIT_EXCISE_BEF_SAVE'?
As it is most important transaction, so I need to take great care in this matter.
Regards,
Vishal -
How to update Ztable from Excel file and how to check conditions ,
HI this uday,
pls help me how can i update Ztable from Excel file and how to check conditions .
regards
uday
Moderator message: please (re)search yourself before asking.
Edited by: Thomas Zloch on Jul 13, 2010 12:00 PMHi
Use Fm : ALSM_EXCEL_TO_INTERNAL_TABLE.
L_INTERN : internal table with your fields .
make sure that the fields in the Excel should be formatted (as numeric , characher ) depending upon the data types .
LOOP AT L_INTERN INTO WA_LINTERN .
MOVE WA_LINTERN-COL TO L_INDEX.
ASSIGN COMPONENT L_INDEX OF STRUCTURE WA_INREC TO <FS> .
IF SY-SUBRC = 0.
MOVE WA_LINTERN-VALUE TO <FS>.
ENDIF.
AT END OF ROW . "#EC *
APPEND WA_INREC TO IT_DATA. "
CLEAR WA_INREC.
ENDAT.
ENDLOOP.
Regards
Swapnil -
Checking conditions in SELECT statement
Hi All,
I am relative new to ABAP and I would like to ask a question about checking conditions in SELECT statement in the "WHERE" part.
There are two checkboxes at the selection screen and each should disable one of conditions (marked with two stars) in the SELECT mentioned below.
My question is, whether there exists an option how to solve this problem without using solution like:
IF checkobx1.
SELECT (without one condition)
ELSEIF checkbox2.
SELECT(without other condition).
ELSE.
SELECT (with both conditions)
SELECT qprueflos qherkunft qaufnr qsa_aufnr qmatnr qwerkvorg
qpastrterm qpaendterm
qverid qobjnr vobjnr AS objnr_fa vauart
FROM qals AS q INNER JOIN vkaufk AS v
ON qaufnr = vaufnr
INTO CORRESPONDING FIELDS OF TABLE gt_qals
WHERE q~prueflos IN s_pruefl
AND q~stat35 EQ space
AND q~werk EQ loswk
AND q~herkunft IN s_herk
AND q~offennlzmk EQ 0
AND q~offen_lzmk EQ 0
AND q~pastrterm IN s_startt
AND q~paendterm LE s_endt
AND v~auart IN s_auart. "('ZCPA', 'ZCPK', 'ZCBA').Hi,
With this, I think u can directly read into WHERE clause
IF checkbox1.
v_where = '& BETWEEN ''&'' AND ''&'' '.
REPLACE '&' WITH key_field INTO v_where.
REPLACE '&' WITH field_LOW INTO v_where.
REPLACE '&' WITH field_HIGH INTO v_where.
CONDENSE v_where.
ELSEIF checkbox2.
v_where = '& BETWEEN ''&'' AND ''&'' '.
REPLACE '&' WITH key_field INTO v_where.
REPLACE '&' WITH field_LOW INTO v_where.
REPLACE '&' WITH field_HIGH INTO v_where.
CONDENSE v_where.
ENDIF.
select * into corresponding fields of table ITAB
from (table_name)
where (v_where).
In this key_field is your fieldname in the where clause and field_low, field_high are range of values.
If i write static query it looks like this
RANGES: MATNR1 FOR MARA-MATNR.
MATNR1-LOW = MATNR_LOW.
MATNR1-HIGH = MATNR_HIGH.
MATNR1-SIGN = 'I'.
MATNR1-OPTION = 'BT'.
APPEND MATNR1.
select * into corresponding fields of table itab
from mara where matnr BETWEEN 'M100' AND 'M200'.
Hope it helps u
thanks\
Mahesh
Edited by: Mahesh Reddy on Jan 30, 2009 11:23 AM -
How can I put check conditions when using Function 'LDB_PROCESS'
Hy experts,
I am using LDB_PROCESS and I don't know how to use check conditions in the callback forms.
for example:
FORM CALLBACK_QALS USING NAME TYPE LDBN-LDBNODE
WA TYPE QALS
EVT TYPE C
CHECK TYPE C.
CASE EVT.
WHEN 'G'.
MOVE-CORRESPONDING wa to ITAB_QALS.
APPEND ITAB_QALS.
ENDCASE.
endform. " CALLBACK_QALS
Have anyone an example of how I can use check conditions in this type of form???
thx in advanceHi
U should indicate in which node (the GET) you need to check the condition, you form should have the following interface:
FORM <formname> USING <nodename> LIKE LDBCB-LDBNODE
<workarea> (LIKE ...)
<mode>
<selected>.
So the code should be:
CHECK <WORKAREA>-FIELD = ............
Max -
Read table and checking condition in PAI
Hi,
I have a requirement where I need to check and compare with (Custom table) Bankn with Partner Bank`s bankn.
I have wrote a code in PAI like this.
MODULE CHECK_BANKN INPUT.
Data: l_bankn like (Custom table)-bankn.
select bankn from (Custom Table) into l_bankn
where recno = g_recno.
IF NOT g_head-bankn IS INITIAL.
Read table i_bvtyp with key bankn = i_bvtyp-bankn .
IF l_bankn <> i_bvtyp-bankn.--------->" Comparison of (custom table) Bankn with internal table I_BVTYP-BANKN
MESSAGE w022 WITH text-w06.
ENDIF.
ENDIF.
ENDMODULE.
My Read Table statement is seems to be wrong and my checking condition is also wrong.
So, how to resolve this?
regards,
KiranHi Kiran,
If you observe your read statement, you are comparing the field with it's own table field.
Read table i_bvtyp with key bankn = i_bvtyp-bankn .
Untill unless you read I_BVTYP, i_bvtyp-bankn will be initial and you cannot find the matching record with Null-Value.
So, I think you need compare with l_bankn.
Read table i_bvtyp with key bankn = i_bankn .
Then you can directly raise a message using SY-SUBRC value.
Read table i_bvtyp with key bankn = i_bankn
if SY-SUBRC <> 0 .
<MESSAGE>
endif.
Regards,
Vijay -
Check Condition when to create Project
Dear expert!
Now, I'm getting some issue about Checking condition when to create project.
- When I create a project with coding mask '-XXXX-00-00-00-00-000' I want company code to have value 1000. If I enter another company code then the system will display message "you have to enter company code is 1000"
Really, I don't know how i have to do.
Help me, please!
Best regards, Huy!Dear, Search the forum, this type of queries are raised many times before....Search it you will find it....
Also, before posting any questions please search the forum, if you dont find it then you create a new thread. -
In OKC7, step 001, there is a check: BSID Account and Cost Center Validation. but when I doule click it, it doesn't show a user exit,
how can I view the content of "BSID Account and Cost Center Validation",
normally we can see check condition looks like: G/L = '42000020'
but this CO validation rule is strange, anyone can explain, thankscancel
-
Hi All,
I'm having difficulty establishing a VPN when I specify a health check condition in a network policy.
The vpn establishes ok without the policy however the client presents an error 812 (authentication error) when the health check condition is specified.
The only other condition is a windows group. the VPN is a PPTP tunnel for testing purposes. the client is a win 7 machine.
any help appreciatedHi,
VPN error 812: The connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server to verify your username and password may not match the authentication method configured in your
connection profile. Please contact the Administrator of the RAS server and notify them of this error.
You may try to specify the authentication protocol on the server – which matches the settings on the client side. Detailed information about VPN error 812 you may reference the link below:
Troubleshooting common VPN related errors
http://blogs.technet.com/b/rrasblog/archive/2009/08/12/troubleshooting-common-vpn-related-errors.aspx
If the problem still exits, according to your description, my understanding is that VPN(PPTP) prompts error 812 once a health check condition policy is specified. There might be a problem about the health check condition policy, check the setting of the
policy, delete/renew another one.
Best Regards,
Eve Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Error in checking condition of listener on nodes
Output
node01:oracle:/appl/oracle$ srvctl status nodeapps -n node01
VIP is running on node: node01
GSD is running on node: node01
PRKO-2016 : Error in checking condition of listener on node: node01
ONS daemon is running on node: node01
node01:oracle:/appl/oracle$
node01:oracle:/appl/oracle$
node01:oracle:/appl/oracle$ srvctl status nodeapps -n node02
VIP is running on node: node02
GSD is running on node: node02
PRKO-2016 : Error in checking condition of listener on node: node02
ONS daemon is running on node: node02
but,
node01/appl/product/102/bin$ /appl/product/102/bin/crs_stat -t
Name Type Target State Host
ora....S1.inst application ONLINE ONLINE node01
ora....S2.inst application ONLINE ONLINE node02
ora....TABS.db application ONLINE ONLINE node02
ora....S1.lsnr application ONLINE ONLINE node01
ora....b01.gsd application ONLINE ONLINE node01
ora....b01.ons application ONLINE ONLINE node01
ora....b01.vip application ONLINE ONLINE node01
ora....S2.lsnr application ONLINE ONLINE node02
ora....b02.gsd application ONLINE ONLINE node02
ora....b02.ons application ONLINE ONLINE node02
ora....b02.vip application ONLINE ONLINE node02
CRS_stat shows all applications online and fine.. then why the 1st command shows :
PRKO-2016 : Error in checking condition of listener on node: node01
Please advise
Kai
Edited by: KaiS on Oct 13, 2008 11:34 PMYes..I already reviewed this note and made sure that the GSD are running from the output of crs_stat -t
crs_stat -t
Name Type Target State Host
ora....S1.inst application ONLINE ONLINE db01
ora....S2.inst application ONLINE ONLINE db02
ora....TABS.db application ONLINE ONLINE db01
ora....S1.lsnr application ONLINE ONLINE db01
ora....b01.gsd application ONLINE ONLINE db01
ora....b01.ons application ONLINE ONLINE db01
ora....b01.vip application ONLINE ONLINE db01
ora....S2.lsnr application ONLINE ONLINE db02
ora....b02.gsd application ONLINE ONLINE db02
ora....b02.ons application ONLINE ONLINE db02
ora....b02.vip application ONLINE ONLINE db02
any clue ?
Kai -
we have three discussions forums with same subject. whenever a post gets new reply in one forum, it should automatically trigger workflow functionality to check conditions and send the same reply to other synchronized forums.
Rajiv KumarHi,
More details about your discussions forum will make others easier to find a corresponding solution on your requirement.
If you mean there are three Discussion Board list waiting for synchronizing, I would suggest you create an Event Receiver for the three Discussion Board list.
Here is a link with code demo about how to copy items from one Discussion Board to another including Replies:
http://spcodes.blogspot.com/2013/03/programmatically-copy-items-from-one.html
Here is a step by step sample on creating a simple Item added event receiver for Custom List in SharePoint 2010:
http://msdn.microsoft.com/en-us/library/ff398052.aspx
More information on Event Receiver for your reference:
http://msdn.microsoft.com/en-us/library/gg749858(v=office.14).aspx
http://msdn.microsoft.com/en-us/library/ff408183(v=office.14).aspx
Feel free to reply if there are still any questions.
Best regards
Patrick Liang
TechNet Community Support -
PRKO-2015 : Error in checking condition of instance on node:
I am using Oracle 10.2.0.4 2 node RAC on Solaris 10 x86_86.
I have renamed our test database using nid and have restarted the RAC instance.
The cluster is not able to identify the database eventhough I've tried adding the database and instances manually.
oracle@slsmtdrdbs01$srvctl add database -d SMTTSTDR -o /u01/app/oracle/product/10.2.0/db_1 -p /u02/app/oracle/smttstdr/spfilesmttstdr.ora
oracle@slsmtdrdbs01$srvctl add instance -d smttstdr -i smttstdr1 -n slsmtdrdbs01
oracle@slsmtdrdbs01$srvctl add instance -d smttstdr -i smttstdr2 -n slsmtdrdbs02
oracle@slsmtdrdbs01$srvctl status database -d smttstdr
PRKO-2015 : Error in checking condition of instance on node: slsmtdrdbs01
PRKO-2015 : Error in checking condition of instance on node: slsmtdrdbs02I see these messages in the CRS log which confirm tht the instances have been successfully regstered .
2009-06-24 15:47:49.823: [ CRSRES][781664] Resource Registered: ora.SMTTSTDR.db
2009-06-24 15:48:16.256: [ CRSRES][781666] Resource Registered: ora.smttstdr.smttstdr1.inst
2009-06-24 15:48:28.436: [ CRSRES][781672] Resource Registered: ora.smttstdr.smttstdr2.inst
But still I get the error messages with srvctl.
Think so this would need CRS reboot.
Wanted to confirm if there is any other way to fix this issue as there is a production database in the same box and rebooting the CRS would require downtime.
Any suggestions ?oracle@slsmtdrdbs01$crs_stat -t
Name Type Target State Host
ora....STDR.db application OFFLINE OFFLINE
ora....01.lsnr application ONLINE ONLINE slsm...bs01
ora....s01.gsd application OFFLINE OFFLINE
ora....s01.ons application ONLINE ONLINE slsm...bs01
ora....s01.vip application ONLINE ONLINE slsm...bs01
ora....02.lsnr application ONLINE ONLINE slsm...bs02
ora....s02.gsd application OFFLINE OFFLINE
ora....s02.ons application ONLINE ONLINE slsm...bs02
ora....s02.vip application ONLINE ONLINE slsm...bs02
ora.smtdgsl.db application OFFLINE OFFLINE
ora....l1.inst application OFFLINE OFFLINE
ora....l2.inst application ONLINE OFFLINE
ora....rddr.db application ONLINE ONLINE slsm...bs02
ora....1a.inst application ONLINE ONLINE slsm...bs01
ora....1b.inst application ONLINE ONLINE slsm...bs02
ora....r1.inst application OFFLINE OFFLINE
ora....r2.inst application OFFLINE OFFLINESMTTSTDR is the test database that was created by renaming SMTDGSL. SMTPRDDR is the production database.
I don't see imon files at all.
I went through the thread
Not able to start instance using srvctl
I checked the permissions for the CRS directories
oracle@slsmtdrdbs01$pwd
/u01/app/oracle/product/10.2.0/crs/log
oracle@slsmtdrdbs01$ls -l
total 4
drwxrwx--- 2 oracle dba 512 Nov 24 2008 crs
drwxr-xr-t 8 root dba 512 Nov 24 2008 slsmtdrdbs01
oracle@slsmtdrdbs01$pwd
/u01/app/oracle/product/10.2.0/crs/log/slsmtdrdbs01
oracle@slsmtdrdbs01$ls -l
total 88
drwxr-x--- 2 oracle dba 512 Nov 24 2008 admin
-rw-rw-r-- 1 root dba 37122 Mar 9 09:23 alertslsmtdrdbs01.log
drwxr-x--- 2 oracle dba 2048 Apr 30 13:14 client
drwxr-x--- 2 root dba 512 Nov 24 2008 crsd
drwxr-x--- 4 oracle dba 512 Nov 26 2008 cssd
drwxr-x--- 2 oracle dba 512 Nov 24 2008 evmd
drwxrwxr-t 5 oracle dba 512 Jun 25 10:00 racgslsmtdrdbs01 directory is owned by root. Is that an issue?
But racg is owned by oracle.
Output of the trace
srvctl status database -d smttstdr
432 [main] [10:5:53:34] [HAOperationImpl.runCommand:1223] CRS cmd is: /u01/app/oracle/product/10.2.0/crs/bin/crs_stat -u
ora.SMTTSTDR.smttstdr1.inst ora.SMTTSTDR.smttstdr2.inst
433 [main] [10:5:53:36] [RuntimeExec.runCommand:74] Calling Runtime.exec() with the command
434 [main] [10:5:53:37] [RuntimeExec.runCommand:76] /u01/app/oracle/product/10.2.0/crs/bin/crs_stat
435 [main] [10:5:53:38] [RuntimeExec.runCommand:76] -u
436 [main] [10:5:53:39] [RuntimeExec.runCommand:76] ora.SMTTSTDR.smttstdr1.inst
437 [main] [10:5:53:41] [RuntimeExec.runCommand:76] ora.SMTTSTDR.smttstdr2.inst
438 [main] [10:5:53:47] [RuntimeExec.runCommand:131] runCommand: Waiting for the process
439 [Thread-1] [10:5:53:48] [StreamReader.run:61] In StreamReader.run
440 [Thread-0] [10:5:53:48] [StreamReader.run:61] In StreamReader.run
441 [Thread-0] [10:5:53:96] [StreamReader.run:65] OUTPUT>CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr1.inst.
442 [Thread-0] [10:5:53:97] [StreamReader.run:65] OUTPUT>
443 [Thread-0] [10:5:53:98] [StreamReader.run:65] OUTPUT>CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr2.inst.
444 [Thread-0] [10:5:53:100] [StreamReader.run:65] OUTPUT>
445 [main] [10:5:53:103] [RuntimeExec.runCommand:133] runCommand: process returns 210
446 [main] [10:5:53:104] [RuntimeExec.runCommand:147] RunTimeExec: output>
447 [main] [10:5:53:105] [RuntimeExec.runCommand:150] CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr1.inst.
448 [main] [10:5:53:108] [RuntimeExec.runCommand:150]
449 [main] [10:5:53:109] [RuntimeExec.runCommand:150] CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr2.inst.
450 [main] [10:5:53:110] [RuntimeExec.runCommand:150]
451 [main] [10:5:53:111] [RuntimeExec.runCommand:155] RunTimeExec: error>
452 [main] [10:5:53:113] [RuntimeExec.runCommand:175] Returning from RunTimeExec.runCommand
453 [main] [10:5:53:114] [HAOperationImpl.runCommand:1232] signed exit value = 210
454 [main] [10:5:53:115] [HAOperationImpl.runCommand:1257] set status HA_RES_NOT_EXIST_ERR
455 [main] [10:5:53:117] [HAStatusOperation.run:127] Returned from executing the HA Operation
456 [main] [10:5:53:118] [HAStatusOperation.run:132] OUTPUT> CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr1.in
st.
457 [main] [10:5:53:119] [HAStatusOperation.run:132] OUTPUT>
458 [main] [10:5:53:120] [HAStatusOperation.run:132] OUTPUT> CRS-0210: Could not find resource ora.SMTTSTDR.smttstdr2.in
st.
459 [main] [10:5:53:121] [HAStatusOperation.run:132] OUTPUT>
460 [main] [10:5:53:122] [HAStatusOperation.run:138] ERROR>
461 [main] [10:5:53:124] [LocalCommand.execute:56] LocalCommand.execute: Returned from run method
462 [main] [10:5:53:125] [ParallelServerHA.isRunningInstances:581] Stat operation failed. it could be a partial failure.
no exception thrown.
463 [main] [10:5:53:127] [StatusAction.internalDisplayInstanceStatus:708] displaying status for instance smttstdr1
464 [main] [10:5:53:129] [Instance.isEnabled:197] enabled is true
465 PRKO-2015 : Error in checking condition of instance on node: slsmtdrdbs01
466 [main] [10:5:53:143] [StatusAction.internalDisplayInstanceStatus:708] displaying status for instance smttstdr2
467 [main] [10:5:53:144] [Instance.isEnabled:197] enabled is true
468 PRKO-2015 : Error in checking condition of instance on node: slsmtdrdbs02 -
Check condition in Loop step in BPM
Hi All,
Need urgent help... I have to specify the condition in loop in such away I need to receive and bundle IDOC1 till I get IDOC2. Please let me know how to specify the condtion in loop.
Thank you in advance
Regards,
Dhill.HI
See the below link
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change - IDOC bundling
Also we have Collection of messages based on the message a pattern in SAP BASIS see the BpmPatternCollectMessage and check for correct IP config..
Regards
Chilla -
Checking condition in switch step of BPM
hi all,
i am doing an 1to1 transformation where: i am converting my source into a target. the target has
header 1
lineitem 1..unbouneded.
lets say there are three line items:
header1
lineitem
lineitem
lineitem
i am using a send step where i am sending this target msg to a switch step. in the switch step i am checking for a condition.i am checking for the occurence of a field in the line item. but when specifying in the condition editor, it allows only to choose from the root of the structure. how can i check the ocuurence of a particuler field for the lineitem alone??
is there a way to to do it??
Any help will be greatly appreciated.
ThanksHello,
This is the condition i have currently given: but if i have 2 or more lineitems in the incoming msg does this condition also check for :
MI_DOC./p1:SRC_ROOT.lineitem/itemfield2 EX
MI_DOC./p1:SRC_ROOT.lineitem/itemfield3 EX
etc...
and in one of the line item the field may EX and some it does`nt. when it doesn`t i am cancelling the process, if the field EX then it is sent to further processing.so if i have 3 lineitems in which two of the line items the field EX and in the other one the field does the EX, are the msgs split accordingly??
Message was edited by: Aarthi R
Maybe you are looking for
-
11/25/2014 - Release - Flash Player 15
The next version of Flash Player is available for immediate download. In today's release we've updated Flash Player with critical security updates and bug fixes. We recommend users update to the latest version. Security update details can be found
-
Maximum drive size for mirrored RAID
I'm want to set up a mirrored RAID with two 4TB drives that I have. When I put the drives in the tower (Mac Pro, OS 10.8.5) and open Disk Utility, the RAID button at the top does not show up for these drives. I only see First Aid, Erase, and Restor
-
Simple Pass not working with Windows 7 Premium
I have a Pavillion Notebook, model dv6-6b51sa running Windows 7 Home Premium 64bit O/S For some time now my Simple Pass has not worked. I have uninstalled and reinstalled the programme but to no avail. I have read several posts to the community here
-
Grouping/ consolidating by date
Hello I have an application acknowledgement communication which is built like this: Print Date Name and Address Salutation NAME OF SCHOLARSHIP Body text Closing signature People may apply for multiple scholarships and some of them will have the same
-
Hello, we will have big web project. And now I must choise techlogies. All projects were create with PHP. Now I think change technology, because I think PHP will small for this project. This project can have more that 1000 users one time. This site w