How to use assign from other program  ?

is there any way to "point" ( assign ) on field of structure
in other program  ?
my goal is ...
i don't find any point of exit in ME21N  that hold the
last data of the quantity  "menge"  .
i done debug  , and i found that "MEPO1211" hold it ,
but it is not active in my exit  .
so ...
is there any way to be in my exit and point on
structure in other program  in my exit ?
thanks .

Hi dakota,
yes it  is possible. ABAP still supports the dynamic assign althought no official documentation on this is available.
I'm not on system now, so take the following sample and adapt to your needs.
CONSTANTS: BSL(20) VALUE '(SAPMF05A)BSEG-BSCHL'.
FIELD-SYMBOLS: <BSL>.
ASSIGN (BSL) TO <BSL>.
IF SY-SUBRC = 0.
* do what you want to do
ENDIF.
I guess, in your case it will be something like
field-symbols:
  <menge> type ekpo-menge.
ASSIGN '(MEPO1211)EKPO-MENGE' to <menge>.
IF SY-SUBRC = 0.
* do what you want to do
ENDIF.
Although the SAP docu said that it is for internal use and may be changed in the future it still works fine for all global structures, variables and even global internal tables.
Regards
Clemens

Similar Messages

  • How to get data from other programs output?

    Hi gurus,
    I have told to do the following can you please help me out.
    In SM35 created many batch no. The user would like to know automatically when the session is not ok (error status).
    In return of the first program RSBDCBTC_SUB we will get the queues ie QID and QSTATE.
    I have told to create new Z-prog.
    In that Z-prog how can i get list of QID from the result (Output) of the first prog(RSBDCBTC_SUB )?
    How i get that particular QIDs in my Z-prog?
    Thanks in advanced.

    Hi
    Senthis,
    You can use IMPORT and EXPORT or SET and GET
    IF you take the F1 help on these KEY words it will take you to the KEY word documentation where you can find an example
    of Go to TCode ABAPDOCU
    where you can find an example for the same
    Regards
    Ramchander Rao.K

  • [SOLVED] How to use timidity++ and other programs at the same time?

    I have installed timidity following arch wiki instructions - I have soundfont, and I start it in /etc/rc.conf
    It works properly with tuxguitar (and tuxguitar-alsa) or kmid, but I cannot play MIDI and - for example - oggs in amarok at the same time.
    I suspect that the problem is that timidity doesn't use dmix alsa plugin I have made in my ~/.asoundrc.
    The question is: how to tell timidity to use my dmix plugin?
    Last edited by senjin (2007-11-19 19:53:50)

    but they don't define "default" there, but "!default"...
    anyway, I have already both "default" and "!default" defined exactly the same way:
    pcm.!default
    type plug
    slave.pcm "dmixer"
    pcm.default
    type plug
    slave.pcm "dmixer"
    pcm.dmixer
    type dmix
    ipc_key 1024
    slave
    pcm "hw:0,0"
    format "S32_LE"
    channels 2
    period_time 0
    period_size 1024
    buffer_size 4096
    rate 44100
    bindings
    0 0
    1 1
    ctl.dmixer
    type hw
    card 0
    pcm.w_y_h
    type hw
    card 0
    device 0
    pcm.what_you_hear
    type plug
    ttable.0.10 1 # digital mix left
    ttable.1.11 1 # digital mix right
    slave.pcm w_y_h
    pcm.skype
    type asym
    playback.pcm "dmixer"
    capture.pcm "skype_input"
    pcm.skype_input
    type dsnoop
    ipc_key 2048
    slave
    pcm "hw:0,0"
    period_time 0
    buffer_time 0
    period_size 1024
    buffer_size 8192
    rate 44100
    and it doesn't work!
    Last edited by senjin (2007-11-18 17:49:21)

  • How to use objects from other SWCs in my BPM Integration Scenario

    Dear all,
    I am experiencing some difficulties with the following. I have created a BPM Integration Scenario in a SWC. It contains a tranformation step in which a message from that SWC is split and mapped to two IDOCs. These IDOCs are imported in anothern SWC which I use for common objects. I have created Abstract Message Interfaces based on these IDOCs in this "COMMON" SWC, but the probIem is that I cannot use them in my scenario in the other SWC. Even though I have a usage dependency (Installation Time) created to the "COMMON" SWC.
    Any suggestions would be much appreciated!!
    Thanks in advance.
    Will happily provide points for good answers.
    Auke

    Thus, I would have to copy/import all objects to the same SWC?
    Or create a separate SWC for BPM Integration scenarios?
    I have tried to create the Abstract Message Interface in the SWC and reference it to the IDOC structure in the "COMMON" SWC. This results in a reference to an invalid object during activation. Even though the defined usage dependency.
    What's the standard solution?
    Cheers,
    Auke
    Message was edited by:
            A. Schotanus

  • Line Breaks missing in captions from other programs...

    I've spent the last few hours searching around, and I've been unable to find any solution to a weird thing I noticed.
    I've recently purchased LR 3.4.1 and when I imported a handful of older pics that had had the captions set using Bridge, the line breaks were now gone.
    I then went to Bridge and tested it, and sure enough, it can read line breaks from LR, but the opposite doesn't seem to be true. As part of my work, I get a bunch of photos that other photogs have shot and added captions to via Bridge, but I can't seem to find any check box or setting on how to get LR to read the line breaks.
    Any one have any advice on how to get LR to read line breaks from other programs? I'd hate to have to go through and re-caption each and every single photo, especially when adding the older ones into LR to use it as a DAM.
    Thanks!

    This is a long-standing, annoying bug in Windows LR that has been acknowledged by Adobe:
    http://feedback.photoshop.com/photoshop_family/topics/newline_bug_in_caption_text
    Please go to the feedback site and vote for that issue to get fixed.
    It is just a display problem in LR -- the line breaks in the metadata are preserved, and if you enter line breaks in the metadata, they are preserved too.

  • Firefox 3.6 doesn't open links clicked from other programs (IM, etc.,)

    Whenever I try to open a link from either my IM or an IRC program like mIRC it won't open in firefox. I have to copy and paste the link.

    I now have FireFox 32.0.2 no joy. I have loaded ThunderBrowse which took care of Thunderbird but still can't load links from other programs. I fixed this before (other backups, I crashed my windows C drive and have been trying to restore), but can't remember how. I think it required reloading IE (I had deleted IE on my latest restore), but I have now done that with no joy.
    When I click on a link from another program, nothing happens, and when I right click and am offered "open in browser" nothing happens, and when offered " copy browser link" it doesn't copy.
    I tried resetting FireFox, no joy.
    Noticed control panel "set program access" doesn't hold, always goes back to custom, and defaults to "uses default browser"!
    Please help!

  • Links from other programs won't open in Firefox

    This has been asked a number of times before, but none of the answers worked for me. I have Firefox 26.0 (the most stable for me) and Thunderbird 24.6.0. After a computer crash and reloading both programs, I first noticed the problem with links from Thunderbird, both clicking and right clicking with "open in browser". But then I remembered trying to open help in MS word and Frontpage which are supposed to open from the internet.
    I have checked that Firefox is the default browser, changed the file (none) file transfer protocol, then deleted it, etc. Nothing helps.

    I now have FireFox 32.0.2 no joy. I have loaded ThunderBrowse which took care of Thunderbird but still can't load links from other programs. I fixed this before (other backups, I crashed my windows C drive and have been trying to restore), but can't remember how. I think it required reloading IE (I had deleted IE on my latest restore), but I have now done that with no joy.
    When I click on a link from another program, nothing happens, and when I right click and am offered "open in browser" nothing happens, and when offered " copy browser link" it doesn't copy.
    I tried resetting FireFox, no joy.
    Noticed control panel "set program access" doesn't hold, always goes back to custom, and defaults to "uses default browser"!
    Please help!

  • How to use addKeyListener in a program running using command prompt

    Does anyone have any idea how to add the addKeyListener to a program running using command prompt.
    Let me explain how the program run.
    The program is start and accept call from other program. But from time to time, I need to issue some command by pressing the keyboard, let say, ESC is closed the program, F1 is showing the stated. F2.... (This is all need to run in the command prompt windows)
    My problem is this program does not have any gui interface, so how can it be added?
    i do it this way
    public void key(){          
    addKeyListener(this);
    But it have compile error.
    mainServerImpl.java:87: cannot resolve symbol
    symbol : method addKeyListener (mainServerImpl)
    location: class mainServerImpl
    addKeyListener(this);
    I did implement KeyListener. But just don't know how to solve this error.
    can anyone tell me how to solve it or point me a source that can help.
    Thank in advance!
    Regards,
    Tai Tan

    Write your own Thread, to do this:
    public class KeyThread extends Thread {
       public void run {
          while(true) {
             int i = System.in.read();
             if(i == 123) {
                break; // to stop the thread
    // in your main:
    Thread keyThread = new KeyThread();
    keyThread.start(); // calls run() of the thread

  • How to use upload condition record program RV14BTCI

    Hi
    how to use upload condition record program RV14BTCI.
    kathir.

    Hi,
    To run this program we have to maintain Upload file in Application Directory,
    We have to maintain 3 levels of records in that file.. my feel you upload through BDC or LSMW.
    For your information,
    The batch input program RV14BTCI reads the parameters is necessary
    Giving sequential file and creates (depending on the data
    In the file seq) one or more batch input sessions.
    The data are seq file in the following structure expected:
    - The session a session intent (Table KOBTCI, Record 0)
    All other records until the next session, the intent
    Last session assigned to read
    - The head condition Sentence (Table KOBTCI, record 1)
    All other records until the next condition,
    Last read head appropriate rate
    This includes the corresponding condition
    Condition table
    - The key sentence of a Main (Table KOBTCI, record 2)
    It must be directly on the head set to follow
    It contains the key condition of the table
    + Detail fields
    - The season record has a subordinate clause (Table KOBTCI, record 3)
    The teams relate to the key sentence in the main
    Best Regards,
    KSK

  • How come the volume of other programs are lowered while one FaceTime? I exchange media with friends and colleagues and I can barely hear anything. There should be a way we can manually control the volume of different programs

    How come the volume of other programs are lowered while one FaceTime? I exchange media with friends and colleagues and I can barely hear anything. There should be a way we can manually control the volume of different programs

    I own the movies and I want them to stay in my iTunes library basically forever.
    But in both cases the file name no longer shows in the movie list, so I don't know how to re-download it from the Cloud.
    iTunes prefs > Store > Show iTunes in the Cloud purchases.
    This will show all your iTunes purchases in your library with a cloud icon down arrow. Click the icon to redownload or click on Play to stream without downloading.
    Also see this , -> Download past purchases
    and techncially, you don't "own" the movie, You simply have a license to use it.
    Yet the first thing iTunes does when you hit the delete key is tell you that it will remove the movie forever from all devices and the library.
    Actually, no it does not tell you that.
    FYI: You should keep copies of all yoru iTnue spurahses as the labels/movie studios/copyright owners can pull their product at anytime and it won't be available to redownload.
    Suggestions here -> http://www.apple.com/feedback/

  • Does anyone know how to use vlookup from a pop up menu to retrieve another pop up menu?

    Does anyone know how to use vlookup from a pop up menu to retrieve another pop up menu?

    BM,
    Pop-Up menu format is not dynamic. It is created in the Cells Inspector and can't be modified contingent upon the state of other cells.
    You could program a table to list the options available for the previous selection, but it wouldn't be in the form of a Pop-Up.
    Jerry

  • How to backup files from other user logged in as administrator

    RE: How to backup files from other user logged in as administrator AND/OR how to repair drive with "Invalid catalog PEOF"
    Hello,
    My MacBook Pro computer’s hard drive is not booting.
    I booted with the base operating system and ran Disk utilities and I got the following messages:
        Invalid catalog PEOF
        The volume could not be verified completely.
        This disk needs to be repaired.
        Disk utility can’t repair this disk. Backup as many files as possible, reformat the disk,
        and restore your backed-up files.
    The problem is that I have a couple of USERS set up on this computer, and it won’t let me backup the files of the second user.  The folders are locked and I can’t access them, even though I am logged in as the administrator.
    I made a boot disk on my other computer ( a MacPro Early 2008 ) desktop computer with the DiskWarrior 4.4 updater,
    but it won’t boot on my MacBook Pro.
    How can I backup these user files so that I can copy them back once I fix the drive?
    or better yet,  How can I repair the Invalid catalog PEOF on this drive?
    Thank you in advance for your time! 
    Bill
    THIS IS THE COMPUTER
    ================
    17” MacBook Pro 2.8GHZ 4GB Ram (purchased in 2009).
    Model: A1297
    Running Mac OSX 10.9.5

    Try using Disk Utility/Restore to copy the backup to a new location. Please note that this will reformat the destination partition which will erase all data.
    Do a backup. Boot to the Recovery Volume (command - R on a restart or hold down the option/alt key during a restart and select Recovery Volume). Run Disk Utility Verify/Repair and Repair Permissions until you get no errors.  Reformat the drive using Disk Utility/Erase Mac OS Extended (Journaled), then click the Option button and select GUID. Then re-install the OS.
    OS X Recovery
    OS X Recovery (2)
    When you reboot, use Setup Assistant to restore your data.

  • HT5958 This new closed Library system stinks. Now you can't access media from other programs. Any work around?

    Let me start by saying I have been using FCP X for a year now and really love it.  We produce a half hour weekly TV series so I put it through its paces on a weekly bases.
    I was horrified to return from the holidays to find out that an automatic update yielded a whole new file system.  By packaging all of the Final Cut Event and Project folders into a single library file you can no longer access the original media from other programs such as Photoshop and After Effects without making two copies of all of the media.  This really cuts into the pipeline.  In the past we were able to recreate new show opens and transitions quickly from within After Effects by linking to the original media in the event folders to use them as source files in compositions.  The same was true of grabbing frames from Original movies for use in Photoshop for promotional materials.  With the use of the Libraries, ALL OF THE LINKS ARE BROKEN.  Yes I know you can right click on a library and still view the files, yes they are still there, but you can't do that from within another program. 
    This Library system doesn't make any sense.  Its a step back from the old system.  It was much easier, quicker, and efficient to move large event libraries and projects off and on the system and backup using Finder.  Now you have to open up Final Cut to do everything and its a lot slower.
    I want to appeal to any Apple developers who monitor this to return to the old system of file management. 

    Media does not have to be stored inside the library. Use the Consolidate library or event to move it to an external location.

  • How to show rss from other sites on my site?

    how to show rss from other sites on my site?
    i'd like to have a window on my site that shows rss from
    another site
    (their content in a window on my site)
    thanks
    lenny

    What version of DW do you have. The later versions have RSS
    script generators (I believe) for consuming feeds. Otherwise, you
    can use 3rd party sites to generate the code, or you can use a
    server side scripting language to consume the feeds.

  • HOW TO USE CLIPS FROM A DVD???

    HOW TO USE CLIPS FROM A DVD???
    i know this may be a stupid and obvious question but i can't seem to figure it out.
    these are not copyrited dvds... mostly home movies and old home movies put onto dvd.
    thank you... much appreciated.

    Studio X has given one suggestion.
    MPEG Streamclip is another:-
    http://www.squared5.com/
    It is free but your computer may not have the QT MPEG 2 Playback Component which costs $20 from Apple as a download.
    If you have access to an Analogue-DV converter you can use that. Also a DV camcorder which has Analogue IN.
    If you have Final Cut Pro installed, you will have the QT component.
    Message was edited by: Ian R. Brown

Maybe you are looking for