Check on Item

Hi Group,
I have Source Structure as:
<b>
MT_Source
Recordset
HDR
Item1(field1 to field5)
Item2(field1 to field5
Item3(field1 to field5)
EOF
</b>
<b>
Target structure as:</b>Mt_Target
Recordset
HDR
Item(field1 to field5)
EOF
</b>
Now I need to checkt on Field2 and field3 of Items1 ,Items2,Item3 if these are not equals to '00000' then only I need to pass to Target Item,Can any body suggest how to do this using UDF

Hi,
You can create two UDFs.
In first UDF, you will have fifteen inputs - field1 to field 5 of item1 to item3 .....then based on your condition you will determine which set has the appropriate data and to be mapped to target..... in the resultlist you will add the number.....so the output of this UDF will be an array of numbers satisfying your criteria.
In second UDF, you will take the output of first UDF as input and field1 of item1, item 2 and item 3 - so it will have 4 inputs........now in this UDF, based on the array of numbers of argument 1 - you will generate a resultlist of array of field1 values for target field1. - this UDF will be invoked for each field1 to field5 of target.
You will also use splitByValue function after output of second UDF and before mapping to target field.
Hope this solves your query.
Thanks,
Rajeev Gupta

Similar Messages

  • Preventing disabling of check box - item okay in MIGO

    Dear all,
    In the MIGO transaction - during goods receipt for subcontractor material, when the item (incoming) is checked as item okay - automatically the child material (Material sent to subcontractor) is also activated thereby to enable 543 movement.
    Unfortunately some of the users are disabling the check box (for the material sent to the subcontractor). This prevents depletion of stock from the subcontractor but inflates the stock of the incoming material.
    Is there any way - either by authorisation check to prevent users disabling the check box or other methods?
    Experts suggestion is required in this regard.
    Thanks in advance.
    Regards,
    M.M

    Hi Magesh,
    it is possible. use Badi enhancement
    MB_MIGO_BADI goto
    IF_EX_MB_MIGO_BADI~POST_DOCUMENT
    tell your abaper to put the logic like
    parent ID and subcomponent ID need to select
    if either of two is not selected
    then error message will prompt not to save the GR doc since subcomponent is unselected.
    reference field EKPO check PSTYP
    hope this help you.
    regards,
    Maia
    Edited by: Maia on Apr 18, 2008 3:07 PM

  • How do  we check the check box items based on the databse fields.

    Hi All,
    I have a requirement like as mentioned below#
    1. I have a combox box whcih i will be populated from database.
    2. I have created two check box as "Stategric " and "Non Stategric".
    3. Now when i select the combox box condition i need to select the check box items.
    4. But the problem is i wil be knowing weather it is a stategric or Non stategirc based on the database column.
    5. How do i need to map the database point of view and correlacte with javascript pont of view.
    6. Do we need to write any Application process to achieve this task and who we can do that.
    Thanks,
    Anoo..

    Hi VC,
    As per my understanding the code should be placed between --.
    Based on this i have placed the code
    function setCheckbox(pThis, pItem){
    alert('inside');
        var l_code = '';
        // Get checkbox name
        rName = document.getElementsById('P1_ENG_BAU').firstChild.name;
    alert("The value is"+rName);
        // Fire AJAX
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=CHECKBOX_LIST',0);
        get.add('F120_COMPANY',pThis.value);
        gReturn = get.get('XML');
        if (gReturn) {
          var values = gReturn.getElementsByTagName('value');
          var messages = gReturn.getElementsByTagName('message');
          // Build the checkbox
          for (i=0; i<values.length; i++) {
            var rValue = values.firstChild.nodeValue;
    var rMessage = messages[i].firstChild.nodeValue;
    l_code+='<input id='+P1_ENG_BAU+'_'+i+' type=checkbox value='+rValue+' name='+rName+'>';
    l_code+='<label for='+P1_ENG_BAU+'_'+i+'>'+rMessage+'</label>
    document.getElementsById('P1_ENG_BAU').innerHTML = l_code;
    Correct me if iam understanding is wrong.
    Thanks,
    Anoo..
    Edited by: Anoo on May 31, 2012 11:04 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Check on Item Category

    Hello,
    I have a requirement where I need to perform a check on item category for each sales order line item. if the item category is u2018ZTASu2019 then before saving the document the user should be prompted to verify .
    I was thinking to use user exit USEREXIT_SAVE_DOCUMENT_PREPARE. But at this point I will have to loop through entire vbap. This may cause unnecessary load.
    Please let me know what would be the best way to achieve this?
    Thanks in advance.
    K.

    Hi Kathy
    If you Put Error message indicator then you cant save the sales order. So maintain Warning message  indicator . Also maintain Incompletion log as i said in my previous thread then your requirement can be fulfilled
    In the same way with the help of the technical consultant tell them that the message should be different when the warning message comes. Say if the end user is saving the sales order then he should get a message CHECK THE ZTAS  ITEM CATEGORY  IN THE ORDER and still if the end user tries to save the sales order then system should tell to maintain  incompletion log data
    Regards
    Srinath

  • In iTunes I'm having problems changing the "Media Kind" with a number of playlists in the OPTIONS menu from "music" to "audiobook". After going through the steps, the next time I check the items have reverted back to "music". What step am I missing?

    In iTunes I'm having problems changing the "Media Kind" in the OPTIONS menu from "Music" to "Audiobook". After going through the steps, the next time I check, the items have reverted back to "Music". What must I do to save it as an "Audiobook"?

    After more digging in the Support section here and some Google work, I turned off iTunes Match and lo and behold!  I can change the media kind to Audiobook!  So, it looks like iTunes Match locked the files up somehow and for some reason.
    I went into iTunes Store > iTunes Match > "No, Thanks" to disable it on the local PC.

  • What is line item datas,how can u check line item in Infocube?

    Hi friends,
    what is line item datas,how can u check line item in Infocube?

    hi konda,
    line item data
    i shall give u an example .
    consider a super market bill,
    the bill has 1.customer name        2. bill number   3. date of purchase
    the above line will be header.
    line item data are the items which u purchase.
    item 1 pencil  2 rubber  3. sharpner  4. cryon  5. sketch pens
    above are line item datas.  for a particular set of header data u may have many line item datas.
    reward points if helpful.
    bye.

  • Check list item

    hi
    is there any check list item (multi value lest item) in oracle forms 6i ......?

    Hi
    Full example and more* u can find here ..._
    Re: Dependent drop down lists in forms 6i
    Hope this helps...
    Regards,
    Amatu Allah.

  • Credit Management - Check for Item Payer

    Hi All,
    Credit management is checked at header payer level. For cleint requiremnt , we want this check for Item payers.
    Is there any possibility for the same.
    Thanks in advance
    Regs
    Madhu

    Hi,
    The credit check will happen with the credit account which you maintain in FD32, it can be any partner function. But, in standard SAP it happens for a sold-to-party.. which means we normally maintain SP as a credit account in FD32.. and logically it's the right way..
    Now, coming to your query.. if you maintain the credit account for the payer then system will perform the credit check for that payer only.. it doesn't matter if it is maintained at header level or item level.
    Hope this will clear your doubt along with the problem.
    Do let me know.
    Hrishi

  • Unable to update to Mavericks, app store shows error downloading, and check purchased items, but I still can't download it.

    Unable to update to Mavericks, app store shows error downloading, and tells me to check purchased items. I go there, but I still can't download it.

    Hi there Kkoski22,
    You may find the information in the article below helpful.
    Download past purchases
    http://support.apple.com/kb/ht2519
    If you are still experiencing issues downloading your purchase, take a look at the article below for information on how to report it to iTunes
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/ht1933
    -Griff W. 

  • Can't Un-Check Some Items

    Hi,
    Is this a bug:
    I've upgraded to iTunes 7.0.1 and now I find that I can't un-check certain items (that I don't want downloaded to my iPod) by clicking the checkmark. If I select the item, right click then select "unckeck item" it will, in fact, uncheck.
    Most items work fine by simply clicking on the checkmark... it's just a few that I have to do the right-click and menu thing to de-select.
    What gives?
    Compaq Presario R3000   Windows XP   1 GB RAM

    Thanks man, you saved me from my work. You are correct, problem solved.

  • Can't check bought items, can't download bought CD

    During a download, an "error occured: Music store was unable to process your request. Please try again later."
    Now, I can't finish this download, nor can I check bought items. It's that error message again and again.
    I wrote to the support staff: First they said, the problem was on my side: some Firewall or Internet acceleration software installed. I answered, I had none of that kind. The next reply was - mark that: "After careful examination of your request we found that your problem was of technical kind" (!!!). I should go here.
    WOW. What a profound analysis, what a generous attempt to support customers.
    For a test, I bought another item yesterday. Everything went perfectly! It's just that one CD that got stuck. And Apple Support's brains.
    Anyone got an idea what's going on there? Or a helpful hint?
    THANK YOU VERY MUCH
    Peter
    PS: Yes, I have repaired my permissions; yes, I have restarted my machine, yes, I have logged in as root and tried to get the CD there, yes I have even tried from a different machine... - but Apple won't acknowledge THEY got a problem...

    Dear Peter,
    Please accept my apologies for the experience you had with our support.
    I've escalated your post to the right folks. They will contact you today or tomorrow.
    It looks like one of the tracks in your queue is stopping up the works, so to speak. We'll get it straightened out, and you'll be back on your way.
    Kate

  • HI, I just bought an iPhone 4S. Although my iPad and other iPhone 3GS connect to our server (SBS2003) I cannot get through.  It checks all items in the connection and then I get the message :Cannot get mail, the connection to the server failed."

    HI, I just bought an iPhone 4S. Although my iPad and other iPhone 3GS connect to our server (SBS2003) I cannot get through.  It checks all items in the connection and then I get the message :Cannot get mail, the connection to the server failed."  I Tried everything, rebooting, reset all iPhone, etc.  All Apple devices work perfectly expect mine.  Please advise

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    Additional things to try.
    Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    On your iPad go to Settings > General > Reset > Reset network settings and see if that enables you to connect.
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
     Cheers, Tom

  • Complete filter cannot be displayed by check box item - How to solve

    Hi,
    I have created a web template which has a table, chart and the navigational block.
    When i execute the report and further when i want to drill down i use navigational block.
    When i filter the value suppose country in the navigational block by clicking on it, i should be able to see the county values, but i get the error "Complete filter cannot be displayed by check box item".
    How can i solve the problem by getting the filter values, when i further drill down
    Thanks
    rani

    it is a awfull conundrum/and is why I began ONLY using optimum as a web mail/ But  Now yes Now even this is becomming a nasty little night mare'   I see 2 email windows,simotaniously'
    and  Then I se FLASHES of words,stuck in address bar..
    weeks Later I see LAZSLO '
    This lead me to a Univeristy'IMAGINE THIS'
    but is it also a company and Optimum has the web mail as well as tec support OUTSOURCED
    "THEY CAN N OT HELP YOU PAST dinner time,save your breath! 
    BUT WHAT IS HAPPENING WITH ALL THESE points for answers APPLE BOYS AND GRILS?
    HOW do you all get points to the  Happyness to then say TOUCH DOWN?
    remarkably fantastic!'for you not me
    linda really would LIKE TO KNOW WHos doing your mail latley'
    peace

  • Check/uncheck items in iTunes

    Simple ?, can't find the answer. How do you uncheck/check ALL items in your iTunes library? Thx.

    Sorry, gave you Windows option by mistake. Hold down the Command key (⌘) and click on the check box beside any song in a list and the check marks will be toggled on or off: iTunes for Mac - Keyboard Shortcuts. One click will remove all the check marks in the boxes click again and all the boxes will be checked.

  • ATP check for item category TAB

    Folks,
    we have item category TAB on our back to back sales orders and will create an individual pourchase order.
    However, there are occassion when there is stock and we want the ATP check to consider and not necessarily create a purchase req.
    is there any way to achieve this?
    Or because TAB has Special stock indicator "E" type it is standard SAP and will always not consider stock?
    Thanks

    The purchase requisition is automatically created, there's no availability check behind item category "TAB". The stock is managed in the special stock segment (sales stock).
    If the case when the stock is available is exception, you could change the item category manually to a normal one (e.g. TAN).
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/48/66b65334e6b54ce10000000a174cb4/content.htm?frameset=/en/51/66b65334e6b54ce10000000a174cb4/frameset.htm&current_toc=/en/30/67b65334e6b54ce10000000a174cb4/plain.htm&node_id=186&show_children=false

  • Checked some items of multiple-selection list box when form loaded in infopath

    Hi
    I customize sharepoint list with infopath. I have multiple-selection list box and want to checked some items of that automatically when form loaded. how can do this?
    Thanks.

    Hi,
    According to your description, my understanding is that you want to pre-select some items in the Multiple-Selection List Box.
    I recommend to follow the steps below to achieve this goal:
    Click Default Values under Data tab in InfoPath, expand the dataFields and navigate to the Multiple-Selection List Box field.
    Set the Default Value of the Multiple-Selection List Box field.
    Right click the field under the Multiple-Selection List Box group, then select Add another Value Below and set the Default Value for this field.
    Repeat step3 based on the number of the items that you want to be pre-selected.
    More information are provided in the link below:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for