Two colums in F4 help

Hi Folks,
i want to restirct the hit list in selection screen( F4 hlp). i am using the FM F4IF_INT_TABLE_VALUE_REQUEST. my requirment is i want display the filed Cred.rep.grp(KNKK-SBGRP) along with another field Cred.contr.area(KNKK-KKBER) in the same window.
please tell me ho to dispaly the two colum in one f4 help screen?
thanks in advance
regards
p r i y a

Hi Priya,
You can do as Rich said to include two fields in your internal table and if you want to read multiple values based on the F4 selection, look at this code.
=======================================================
parameter: p_fname like z340b_md-fname.
tables: z340b.
DATA: BEGIN OF itab_details OCCURS 0,
ID like z340b_md-id,
fname like z340b_md-fname,
lname like z340b_md-lname.
DATA: END OF itab_details.
DATA it_return LIKE ddshretval OCCURS 0 WITH HEADER LINE.
SELECT * FROM z340b_md INTO CORRESPONDING FIELDS OF
itab_details WHERE fname eq p_fname.
APPEND itab_details.
ENDSELECT.
SORT itab_details BY ID.
CLEAR itab_details.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'ID'
window_title = 'Physicians details'
value_org = 'S'
TABLES
value_tab = itab_details
return_tab = it_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc = 0.
CLEAR itab_details.
READ TABLE it_return INDEX 1.
itab_details-ID = it_return-fieldval.
READ TABLE itab_details WITH KEY ID = itab_details-ID.
if sy-subrc eq 0.
write: / 'id:', itab_details-id.
write: / 'firstname:' , itab_details-fname.
write: / 'lastname:' , itab_details-lname.
endif.
ENDIF.
REFRESH itab_details. CLEAR: itab_details.
=======================================================
The idea is that, FM 'F4IF_INT_TABLE_VALUE_REQUEST' returns one value which you use to read the values of other fields from the internal table.
hope this will help you.
Regards,
Vivek
PS: Award points if helpful

Similar Messages

  • Printing data in  two colums

    Hi Friends,
    I got a scenario  like. Printing data in Two Colums.
    Ex:
    1        6
    2        7
    3        8
    4        9
    5       10
    Please help me to solve.
    thanks in advance.
    Regards,
    Kumar.

    Hi Nivas,
    Try this logic!!!
    Create a line type with 2 columns in table in your main window. I hope the no of rows has to be fixed for the 1st column (i.e. if data overflows from 1st column than only it has to print in 2nd column). Create 2 text elements for 2 columns respectively & pass same value in both the text elements( ex: &number&).
    Now set your condition accordingly in both the text elements condition tab. Create a program line inside your table loop and set a counter for every item. each time divide the counter by no of your max line items that can b printed in 1 column.
    I hope you got the logic now how to resolve this issue.
    Do appreciate if found helpful.
    BR,
    Vinit

  • Hi - I'm trying to sync iBooks on my Macbook Pro with iBooks running on my iPad. I have some pdf's download from the net I want to share between devices and I can't work out how to sync the two devices. Any help please?

    Hi - I'm trying to sync iBooks on my Macbook Pro with iBooks running on my iPad. I have some pdf's download from the net I want to share between devices and I can't work out how to sync the two devices. Any help please? I'm running Mavericks

    Thanks for your help Brij011 - much appreciated. Apologies as I'm a newbie but I've looked at the info for synching and I appear to have all the switches flicked on my iPad. Does the iPad and iBooks only sync in iCloud for purchases as I appear to be doing something wrong. I could sync ok when books was in iTunes but since migrating to Mavericks I think I'm doing something wrong!!

  • How do I distinguish the header/footer from the two-colume format of a .pdf document?

    How do I get adobe to realize that there is a header and footer on each page, but the actual text in the file is in two columes. Is there a way to make this clear and embade it in the document so other programs recognize this too?
    I am finding tha when I copy/paset text from this .pdf document the pasted text combines thet text across each line especially when images are involved in the selected feild. This 600 page document is formated into two columnes but has headers and footers and inserted articles and pictures that obscure fields. Here isinimage of what I mean.

    Scripts can be placed in many different locations, but in this case an Action is the right choice since you want to process multiple files in the same manner.
    You can set the output option of the Action to "Do not save changes", since you're already taking care of that in the script and don't actually need to save the original files.
    It seems to me the script is doing what you want it to do, no? It creates the PDF files from the extract pages of each source file.
    All you have to do now is to combine all of these files together, which you can do by going to File - Create - Combine Files into a Single PDF and select the folder to which you saved all of these files.

  • HT4623 im having problems with iphone 5 it keeps goin to recovery mode, i have the latest update already installed but it keeps goin to recovery every two day. can anyone help me on hoe to fix this issue? thanks

    im having problems with iphone 5 it keeps goin to recovery mode, i have the latest update already installed but it keeps goin to recovery every two day. can anyone help me on hoe to fix this issue? thanks

    Try to Restore with iTunes on your computer. If this does not work, there is full Warranty. Make Genius reservation or set up service and take or send to Apple for resolution.

  • Can anyone please tell me why the "Do you want to restart your computer now" window keeps popping up every two minutes? Please help! Its driving me nuts?

    Hi all.
    I need some help. I have recently installed a new Hard Drive in my Macbook and have re-installed Snow Leopard. Since doing so there have been a few things that haven't been quite the same.
    1) Certain buttons decided they didnt want to work anymore. These being the Space Bar, the Tab key, all four arrow keys, Caps lock, Volume up, Eject, and a few others.
    After putting up with this for a couple of weeks and looking at numerous forums, they all of a sudden came back to life (Hence why I'm actually able to type this message) THEN, they packed up again. Then started again, then packed again, and so on. They seem to have a mind of their own.
    Please... does anyone know whats going on? Is it a hardware prob? Is it something to do with the way Ive installed the Hard Drive? Have I forgotten to do something?
    2) Ever since my buttons initially came back to life, the "Do you want to restart you computer?" window keeps popping up every couple of minutes.
    It's the window that says "Restart, Sleep, Cancel, Shut Down"
    It's driving me insane and I can't help but think that the two probs are related.
    If anyone out there has any ideas at all, they would be most welcome.
    Many thanks in advance
    MadDogSnaps

    Have you tried reinstalling the original drive? Same symptoms with it?

  • Two MacBook Pro Questions, Help!

    Hi all, I'm currently going through two seperate problems with my currents macbook pro.  I bought it in summer 2010 and all the software is updated.
    In the past 24 hours, I have gotten the "Your mac has restarted because of a problem," 3 times. And it is starting to freak me out because I have seen it could be logic board, GPU, hardware, etc.  I reset my PRAM/NVRAM, today as well. I don't have apple care and my warrenty is already expired, plus I am a college student with a budget, and I really don't live close to an apple store for the genius bar, I have been thinking maybe Geek Squad but I heard they are overpriced. I have no idea what to do.
    The other issue is an odd one, my wireless connection is acting weird.  I use Google Chrome as my browser and some websites load and others do not.  For example twitter will load but facebook will not. I just get the "no data received" message. I have reset my modem (main and router) and have also tried using other browsers (Firefox and Safari) and the same problem happens on both browsers. This right now ***** because I have homework I need to submit online and my schools blackbload will not load to submit assignments. 
    If Anyone has any idea on any of these issues, PLEASE any help is appreciated!
    Thanks!

    Your model is subject to a replacement program for the logicboard due to a defective GPU. It lasts 3 years from the date of purchase. If this is already expired, Apple may or may not still replace your logicboard. It is ultimately at the discretion of the store manager. If you don't qualify, your other option would be a flat rate repair, for ~$300, which Apple will repair anything wrong with the machine for this fee. See the user tip and support article below:
    MacBook Pro 15" Mid 2010 owners: Apple Support Communities
    MacBook Pro (15-inch, Mid 2010): Intermittent black screen or loss ...
    Message was edited by: nbar

  • Made a mess with Migration Assistant, Two user accounts. Help!

    I got a new MacBook Pro Retina with Yosemite. Tried to use migration assistant to take files from my old 2008 MacBook (I only wanted photos, videos, music and documents - no applications, etc). After an excrutiatingly long time, I've made a mess of my new MacBook Pro. I now have two user accounts with my name. How do I delete the second? I have tried going into system preferences > users and push the delete key. This DOES NOT work! It makes that ping noise. I am computer slow so please help me with step by step directions on how to delete the extra user.
    Also, I have now realized that this awful new MacBook Pro Retina has no disc drive and I have a 2008 Microsoft word CD I want to install. What can I do here?
    For the record, I'm hating this new computer.
    Thank you guys!

    1. Log out of the account you want to delete, unlock the Users & Groups pane, select it, and then delete it.
    2. Use an external optical drive such as Apple's USB SuperDrive, or one inside another computer.
    (122445)

  • How to unite two accounts? Please, help me! I have two accounts on pay basis (disk space , programs etc) - but I want to have the one.

    Please, help me!
    I have two accounts - [email protected] , and [email protected]
    on my iPads (3), iPhones (5), Mac (1)
    These two account belong to me exactly (to my name, credit card)
    but I would like to unite these accounts to one if its possible.
    Anotheк problem: Today I've started to manage my iCloud account and I saw that one of my kids has set up his e-mail (the third one!!!) as ID email.
    I would like to delate  it from all my accounts - how I can make it.
    Thank you if you can help me.
    Sincerely yours,
    Victor

    Welcome to the Apple community.
    iTunes and iCloud at two different accounts. You can delete any iCloud account you want to by going to settings > iCloud, scrolling down and tapping the delete button.
    Unfortunately you cannot merge iTunes account, nor can you transfer content from one to the other.

  • How do i merge these two VI's--PLZ HELP

    HI,
         I am fairly new to Labview.I created two separate VI's.How can i merge them?In my Arc_Project vi i have a tank 3 where sample is collected.After 5 mins the loop will stop and the sample collected from tank 3 will be drained out to Interim Storage.
    In the second Vi-Spatial Logic.vi all the five tanks drain the sample to Interim Storage too.How do i add the volume drained from VI 1 and V1 2.
    Plz help.Thank you for your time..
    Attachments:
    Arc_Project_20070915_2_Final.vi ‏140 KB
    Spatial Logic_2_Final.vi ‏223 KB

    Ahh, you guys are all blessed with gigantic monitors! Look at that front panel!!!
    To answer your question, SubVIs is the way to go.
    While you're at it, you should clear up some misconceptions you seem to have about "local variables". A local variable just points to the same front panel object, so reading an indicator via a local variable and then immediately writing that value back to the same indicator is useless. Nothing will change! What you labeled "Main loop" servers no purpose. Keep the terminals of the indicators and delete the rest! Same with the chart loop!
    You do way too many duplicate operations. For example you multiply five different wires with 0.1, using 5 diagram constants of 0.1. One would be enough! If you would multiply the headwater-tailwater difference with 0.1, you would do all in one operation and could eliminate all these other 0.1 multiplications. same result!
    See here for details:
    http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=4201#M4201
    LabVIEW Champion . Do more with less code and in less time .

  • How do I give credit for right answers to two of you who helped?

    Dear Hunt and Steve G,
    Both of you have helped me on my two intial posts and I want to make sure you both got credit for right answers. Can I do this?

    At present, there are three possible awards for help:
    There are two 5pt "Helpful" answers, and one 10pt "Correct" answer.
    The latter also marks the question as "Answered," but the OP can do that, without awarding any points to anyone.
    Personally, the most important of these functions is the "Answered" as it will indicate to others, who might have the same, or similar problem, that an answer exists in the thread. I always urge posters to return to their threads, with updates, and a report on what worked for them, even if that resolution came from another forum. The forum functions on a couple of levels: one posts with a problem, and hopefully gets resolution. Next, others will come, search and find something similar to their problem, and an possibly read the answer in the existing thread, and never need to post. Third, many, myself included, come to the forums to learn something, so a thread on a problem that I have never experienced, or about material that I have never used, or workflows that I have never experienced, can teach me new things.
    As for "rewards," most of us do, what we do, to help others, and that is the reward. A "thank you, that worked," is what motivates us. Any points are lagniappe.
    Hunt

  • Include two  new columns-kindly help

    Hi all,
    I have the following query with me
    select case when F.ITEM_UOM = 'Cubic Feet' then
                ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD))
            when F.ITEM_UOM =  'Pound' then
                ceil((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )
              when F.item_uom='Gallon'
         THEN ceil(ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*F.ITEM_PERCENT )
           end MAT_ACT,E.MANUAL,
           e.opn_job_desc,e.invoice_ref,e.invoice_ref_m,f.item_number,f.item_name,f.item_uom,f.description
         FROM xxnp_opn_joblog_001 E,
              XXNP_OPN_JOBLOG_EST_002   F,
              XXNP_OPN_JOBLOG_STAGE_002 G,
              XXNP_OPN_JOBLOG_SLURRY_003 H
          WHERE E.OPN_JOB_DESC   = E.OPN_JOB_DESC AND E.MANUAL='N'
          AND E.OPN_JOBLOG_001_ID = G.OPN_JOBLOG_001_ID
            AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
            AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
    i require two columns  col 1 
                                   (Cubicfeet*0.047 + pound *0.0005)  
       col 2
    sum of cubic feet
                                kindly help
    thanking in advance
    regards,
    oracleuser
    Edited by: makdutakdu on Jan 26, 2010 1:22 PM

    Hi,
    This is the best i can do for lack of proper data and sample input
    select (sum(case when item_UOM = 'Cubic Feet' then mat_act else 0)*0.047
           + sum(case when item_uom = 'Pound' then mat_Act else 0)*0.0005) col1
    , opn_job_desc, sum(case when item_uom = 'Cubic Feet' then mat_act else 0) ol2
    from (
    select case when F.ITEM_UOM = 'Cubic Feet' then
                ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/H.SLURRY_YIELD))
            when F.ITEM_UOM =  'Pound' then
                ceil((ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*94)*F.ITEM_PERCENT/100 )
              when F.item_uom='Gallon'
         THEN ceil(ROUND(((H.SLURRY_VOL_ACTUAL * 5.6146)/DECODE(H.SLURRY_YIELD,0,NULL,H.SLURRY_YIELD)))*F.ITEM_PERCENT )          
           end MAT_ACT,E.MANUAL,
           e.opn_job_desc,e.invoice_ref,e.invoice_ref_m,f.item_number,f.item_name,f.item_uom,f.description
         FROM xxnp_opn_joblog_001 E,
              XXNP_OPN_JOBLOG_EST_002   F,
              XXNP_OPN_JOBLOG_STAGE_002 G,
              XXNP_OPN_JOBLOG_SLURRY_003 H
          WHERE E.OPN_JOB_DESC   = E.OPN_JOB_DESC AND E.MANUAL='N'
          AND E.OPN_JOBLOG_001_ID = G.OPN_JOBLOG_001_ID
            AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
            AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
            AND G.OPN_JOBLOG_006_ID = H.OPN_JOBLOG_006_ID
            AND H.OPN_JOBLOG_007_ID = F.OPN_JOBLOG_007_ID
    ) group by opn_job_descRegards
    Anurag
    PS: OOps posted the wrong query. I have made the changes please try again.
    PS: Have not checked for accuracy and syntax error.
    Edited by: Anurag Tibrewal on Jan 26, 2010 3:12 PM

  • Problem with Concatenate Two Colums

    Hi
    Wish you happy new year to oracle forums members....!
    I was try to concatenate 2 colums with some funcationality. but i am not able to use the concatenate symbol with this query .
    I give my query
    select CASE WHEN LENGTH (mkt.MARKET_NUMBER )<14 THEN to_char (mkt.MARKET_NUMBER , '00099') end as "NEW_NO" || ''|| MARKET_NAME
    MARKET_VALUE MARKET_NAME
    45 AAAA
    98 BBBB
    977 CCCC
    MY output shout be
    Value
    00045 AAAA
    00098 BBBB
    000977 CCCC
    Please help me..to get the answere
    Thanks

    Not clear .This?
    sql>
    select case when length(val) <14 then  '000'||val||' ' end|| name mname
    from t;
    MNAME 
    00045 aaaa 
    00098 bbbb 
    000977 ccc                                                                                                                                                                                                                                                                                                                                               

  • Can only see emails no later than two weeks old! HELP!

    Hello there. We use Outlook 2010 and Exchange 2010 and I am having an issue with one user. She called yesterday to tell us that she was looking at her inbox and she noticed that she couldn't see any email after two weeks old. This user uses two different
    computers, one at her desk and then one at the front secretary desk where she sits about 2 days a week.
     I then checked to see if she had any filters on, even started outlook.exe /cleanviews, /cleanrules, and /safe and still couldn't see past two weeks. I then checked to see if cache mode was checked and it was not on either computer. Checked her deleted
    folder and there was nothing in there but then did a restore and there was tons of stuff in there, so I restored it all because she said that it looked like it was the stuff but I don't think it was. Anyways, the restore didn't work and there are still only
    two weeks of emails in her inbox. She's one of the few people here that go through all her emails and delete a lot of them and put some in folders that she really needs to keep.
    I then checked around the other folders that she has and there were emails from way back, even going back years. Just to make sure, I enabled her OWA access and signed into her account on there and it had the same stuff that her outlook has so I don't think
    it's application related.
    I'm wondering if there is anything else that I can check that could be causing this issue. I would be very appreciative for any help that can be offered.
    If you have any questions for me please let me know.
    Thanks!

    Hi,
    You cannot see the missing emails from OWA, right?
    Have you checked if the emails were archived to a psf-file? You can also check the AutoArchive setting by right-clicking on Inbox and selecting Properties, then click
    AutoArchive tab. Check if you set the "Clean out items older than" option to "2 weeks".
    If so, you can try to open the PST file from File > Open > Open Outlook Data File. By default, the archive PST file is stored under: C:\Users\%username%\Documents\Outlook Files.
    Hope this helps.
    Thanks,
    Steve Fan
    TechNet Community Support

  • Two questions I need help with

    Hi all, I'm hoping someone out there may be able to help me with these questions I have.
    I'm currently working on an extension which will bring python code editing to Dreamweaver and what I need to know is this:
    1: How can I automatically format the users code as they type? For example, in Python if the indentation is wrong the script will not run, so every time the user enters ':' I need dreamweaver to automatically indent two spaces on the next line.
    2: Next i need to know how Dreamweaver looks into third party class files and retrieves the member and function names for codehints and code completion.
    I'm sorry if this is abit long winded but I have read through the api documentation and cant find anything that relates to my questions. If anyone can point me in the right direction I would be very greatful.

    A crditor can, and in many situations must, charge-off delinquent debt. It means that, at some point in time, they took the accounting measure of determining that the debt was not likely to be paid.That accounting measure does not relieve the consumer of a penny of the debt, and if the debt is subsequently paid, that does not negate the fact that they took that accounting measure.It is not disputable unless you have evidence that they did not, in fact, take that accounting measure.You can request the creditor to delete via their own good-will, but otherwise, it will remain until it has become excluded under the provisions of the FCRA.Charge-offs must be excluded from a consumer's credit report no later than 7 years plus 180 days from the date of your first delinquency (DOFD) on the debt. As for removal as an authorized user, that high % util is hurting much more than other scoring elements, such as age, may be helping.I would ditch it immediately.

Maybe you are looking for