Urgent How to Code Custom program to get_data and Set_data

Hi,
I am using BADI to enhance the vendor master screen.
The Badi were implemented as  per OSS 580266.
Subscreen is appering, new buttion is working fine.
But how to communicate between my custom program's  PBO , PAI to  Badi's GET_DATA
and SET_DATA.
Is any one got any sample code?
Thanks for the help
Rgd.

Hiii John Wu,
Thanks for your reply,
And i have a little bit confuse. I mean, now my project available in SAP Netweaver Developer Studio. I have 2 DCs the first DC for User Interface and the second for EJB. where do i have implement servlet in each others or i need to create and implement at another DC. How to implement it? sorry for somethings write above so I am a new comer for SAP development.
Thank you!

Similar Messages

  • How to create customer material information(vd51) and what is it's use

    how to create customer material information(vd51) and what is it's use.
       does it will work even in mm module also??
      my requirement is such that...
    my sap code is 235
    where as customer will give purchaase order on code 536.when i am entering this 536 code  in my system,automatically sytem should propse my sap code of 235.subsequently my inventory should reduce.

    Hi,
    the transaction for maintaining the customer material inforecord is VD51.Data on a material defined for one specific customer is stored in the customer material information records.
    Features:
    During order entry, items can be entered by specifying the material number used by the customer. You also enter a customer material number in the order view of the sales order. You can then use both material numbers during the order entry, the material number your company uses or the one defined by the customer, because the system can carry out allocation automatically.
    If you maintain the plant in the customer material info record, the system will give priority for the plant maintained in the CMIR in the order.
    Prase

  • How to create custom infotype for training and event management

    hai freinds can any one tell me how to create custom infotype for training and event managment with following fields
    PS No – PA0000-> PERNR
    Name   - PA0001 -> ENAME
    IS PS.No. – PA0001-> PS no. of Immediate Superior
    IS name PA0001 -> ENAME
    thanx in advance
    afzal

    Hi,
    Your question is not clear for me. Since it is a TEM infotype, it could be a PD infotype.
    If you wish to create a PD infotype, use transaction PPCI to create the infotype.
    But before that you need to create a structure HRInnnn (where nnnn is the infotype number) with all the fields relevant for the infotype.
    If you wish to create a PA infotype, use transaction PM01 to create the infotype.
    But before that you may be required to create a strcuture PSnnnn  (where nnnn is the infotype number) with all the fields relevant for the infotype.
    Regards,
    Srini

  • In the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    in the tracing drop down menu, how come the custom is greyed out and can't be selected? It looks like its disabled!!

    cc2014,
    Have you selected an image?
    Unless a good explanation appears, you may start onthe list below.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • How to code a Module in NWDS and deploy

    Hi ,
    That is exactly my question ...
    how to code a Module in NWDS and deploy
    Kindly let me know if there are any step by step available
    also I  may not always have access to nwds
    To the same in a tool like eccilpse.
    P.S.
    I am an abaper ...have a little working knowlege of Java..so playing around with eccilpse alot...
    Kindly help

    >>also I may not always have access to nwds
    >>To the same in a tool like eccilpse.
    apart from the links provided by others , if your above statement means that you might have to use Eclipse at times in place of NWDS, then I would suggest you to have a build process independent of Eclipse. NWDS makes use of SAP specific plugins which recognizes your SAP sepcific files like application-j2ee-engine.xml and ejb-j2ee-engine.xml and you see them differently inside NWDS. So to have a better project setup
    1. At least create the whole project (EJB / EAR) once in NWDS.
    2. Export it and then import inside Eclipse.
    3. Make changes and have a build script may be based on ANT to build your project and create EAR out of it.
    4. Deploy using SDM.

  • How to code a button to play and pause sound using load sound?

    how to code a button to play and pause sound using load sound?I have used load sound methos to attach the sound.Can anyone help me?

    Hey thnx,
    I have used this code on sound's button's frame.and my stop n play button is on another screen.main sound button and stop button is on diffrent screen.
    Here is my code-
    stop();
    adaDrut1.onRelease = function () {
              mySoundC = new Sound(this);
              mySoundC.loadSound("F#/Bhajni1.ark", true);
    mySoundC.onSoundComplete = function() {
    _root.mySoundC.start(0,999); }
             gotoAndPlay("play2");
            _global.myTaalLaya = "Low1";
    adaDrut1 is a sound button.And there are lot of buttons with diffrent sound.
    Thanks..

  • Location of ABAP codes - customed programs

    Dear All,
    Would you assist to confirm my understanding that,
    any ABAP codings/developments, ABAP programs  (customed programs) all store in /usr/sap/trans
    and /usr/sap/trans only.
    We are a very small SAP shop with just 1 developer and little developement,
    so if I need on older version of an abap program,
    I can just restore /usr/sap/trans from backup tape.  This is DEV box only.
    Please help.
    Thank you.
    Edited by: elizabeth ly on Apr 13, 2011 7:08 PM

    Hi John,
    There was a problem with our SAP DEV hardware server (Win 2003),
    so we bring our SAP DEV system and put it on a VM temporary.  During this time, there was 1 brand new customized ABAP program created while on VM. 
    Now that we finished preparing with the new SAP DEV hardware, we take our DEV off from VM.
    But, what we are missing is the 1 brand new customized ABAP program.
    I figure if I restored from the /usr/sap/trans, the new codes would be there.
    Please confirm my understanding.
    Thank you.
    Elizabeth

  • Urgent:HOW TO CREATE A PROGRAMME WITH MENUS AND MENUITEMS IN AWT?

    hi am new to java..............and i know very less about java
    can anyone help me by sending the code for creating menu with file,edit ,view and menuitems as open,save,exit.
    and also plss help me how to get a filedialog box in the same programme when i click the open in filemenu.
    in AWT.....................plsss urgent

    sangi wrote:
    hi am new to java..............and i know very less about javaredundant and barely intelligible
    can anyone help me by sending the code for creating menu with file,edit ,view and menuitems as open,save,exit.have you tried a Swing demo? aside from the fact that this code has likely been written and published hundreds of times on the web, a simple tutorial would have shown you how to do this.
    and also plss help me how to get a filedialog box in the same programme when i click the open in filemenu.
    in AWTslow down, one thing at a time
    go do the tutorials first
    .....................plsss urgentstating your task is urgent is offensive here
    learn how to communicate lest you get flamed
    good luck

  • How to create custom adapter for Products and CommerceService

    Hi guys!
    First of all I wanted to say that I did search. Only relevant material I found was this http://dev.day.com/docs/en/cq/5-5/ecommerce/eCommerce-framework.html
    Unfortunately it doesn't go in details enough...
    I'm trying to follow geometrixx-outdoors example to create my shoppingCart. I have a list of of products in /etc/commerce/products.... referenced by productPage in content.
    But I don't know how to create custom CommerceProvider and Adapter to create proper Product objects - it always picks up geoProductImpl.
    As I understand I need to specify cq:commerceProvider to myProvider and then I need to somehow register MyProvider so it gets picked up.
    Also I guess I need to add MyProductAdapter somehow  so when shoppingCart executes following it returns my implementation instead of geoProductImpl.
    Product product = productResource.adaptTo(Product.class);
    I'd really appreciate if anyone could share an example or point me in the right direction for a guide.
    Cheers
    Kostya

    Hi Kostya,
        Look at this presentation recorded at http://dev.day.com/ddc/en/gems/commerce-framework.html
    Thanks,
    Sham

  • Custom program to insert and firm new planned order supply

    Hello,
    Can anyone point me to the Oracle package/procedure that is used in ASCP workbench to insert and firm a new planned order supply? Would like to call this proceudre from a custom program.
    Cheers!

    There is no api to insert data into a given plan but Oracle allows you to use the "Legacy Collections" to import/create various data elements (such as Reqs, PO, Planned orders etc.)
    See "Legacy Collections" sections in http://download.oracle.com/docs/cd/E18727_01/doc.121/e13358/T309464T309470.htm#T309821
    Keep in mind that this takes time to setup. So make ensure that this is the right solution before proposing it.
    Sandeep Gandhi

  • How to view customer report in fi and activated new gl

    Hi Friends,
    can u please explain the how to view customer report normal we can see fbl5n
    but here activated NEW GL please tell the tcode and path and how see.
    Thanks,

    After New GL implementation also we are using the Customer Line item report as FBL5N
    Balances - FD10N
    The below are few reports
    S_ALR_87012167 - Accounts Receivable Information System
    S_ALR_87012172 - Customer Balances in Local Currency
    S_ALR_87012186 - Customer Sales
    S_ALR_87012169 - Transaction Figures: Account Balance
    S_ALR_87012197 - List of Customer Line Items
    S_ALR_87012174 - List of Customer Open Items
    Tables: BSID, BSAD,
    Thanks

  • Urgent:: How to transport customer exit from dev to test system?

    Hi,
    We have created a Customer exit in our development system in the $tmp package, and we want to transport it to our test system. Can you please tell us how to proceed on this. We are not able to change the package as our package is a development package and so does not start with Y or Z.
    Best Regards,
    Charu.

    Your package is RSR right.. this is the package for the function group XRSR where in this user exit exists.
    you need to have a separate development class either starting with Y or Z. If not, ask any developer or your sap basis team to create one for you. then you can assign this development class to your user exit.
    To check this, go to SE38 - enter your program name ZXRSRU01, display, in the menu "goto", CHECK "object Directory entry", you should have this development class.
    Hope this helps.
    Shakeel.

  • Urgent - How to delete customer exit include.

    Hi, experts.
    Unintentionally I made a customer exit include by double-clicking standard customer exit.
    I tried to delete this include, but I can't delete it because of reference is alread made it.
    How can I delete it. Give me any help!!!
    Thank you in advance.

    Guess you are referring to an include.
    We can delete the object from SE38 transaction.
    1. Goto Transaction: SE38
    2. Enter the include name you created
    3. Click on Delete button from application toolbar.
    4. Confirm deletion.
    Kind Regards
    Eswar

  • Urgent-how to access custom tag from jsp tag

    I have a problem accessing a custom tag from a jsp expression.
    Details: I have a custom tag that returns a string variable. I need to access that variable from jsp expression <%%>.
    Can any body help me?

    Tags don't "return" values as in the normal sense.
    They can only support TEI (Tag Extra Information) that just stuffs a declared variable into the page's state.
    For example, if the tag class had a public method called getValue(), you could do the following:
    <xmp:mytag id="foo"/>
    <%
    out.println("value is " + foo.getValue());
    %>

  • How to code a parallel 'for loop' and 'while loop' where the while loop cannot terminate until the for loop has finished?? (queues also present)

    I've attached a sample VI that I just cannot figure out how to get working the way that I want.  I've labeled the some sections with black-on-yellow text boxes for clarity during the description that follows in the next few sentences.  Here's what I want:
    1) overall -- i'm intend for this to be a subVI that will do data acquisition and write the data to a file.  I want it to use a producer/consumer approach.  The producer construct is the 'parallel for loop' that runs an exact number of times depending on user input (which will come from the mainVI that is not included).  For now I've wired a 1-D array w/ 2 elements as a test case.  During the producer loop, the data is acquired and put into a queue to be delt with in the consumer loop (for now, i just add a random number to the queue).
    2) the consumer construct is the 'parallel while loop'.  It will dequeue elements and write them to a file.  I want this to keep running continuously and parallel until two conditions are met.
          i. the for loop has finished execution
          ii. the queue is empty.
       when the conditions are met, the while loop will exit, close the queue, and the subVI will finish. (and return stuff to mainVI that i can deal with on my own)
    Here's the problems.
    1)  in the "parallel for loop" I have a flat sequence structure.. I haven't had time to incorporate some data dependency into these two sequential sections, but basically, I just care that the "inner while loop" condition is met before the data is collected and queued.  I think I can do this on my own, but if you have suggestions, I'm interested.
    2)  I can easily get the outer for and while loops to run sequentially, but I want them to run in parallel.  My reasoning for this is that that I anticipate the two tasks taking very different amounts of time. .. basically, I want the while loop to just keep polling the queue to get everything out of it (or I suppose I could somehow use notifiers - suggestions welcome)...  the thing is, this loop will probably run faster than the for loop, so just checking to see that the queue is empty will not work... I need to meet the additional condition that nothing else will be placed in the queue - and this condition is met when the for loop is complete. basically, I just can't figure out how to do this.
    3) for now, I've placed a simple stop button in the 'parallel while loop', but I must be missing something fundamental here, because the stop button is totally unresponsive.  i.e. - when I press it, it stays depressed, and nothing happens.
    suggestions are totally welcome!
    thanks,
    -Z
    Attachments:
    daq01v1.vi ‏59 KB

    I'd actually like to add a little more, since I thought about it a bit and I'm still not quite certain I understand the sequence of events...
    altenbach wrote:
    zskillz wrote:
    So i read a bit more about the 'dequeue element' function, and as I understand it, since there is no timeout wired to the dequeue element function, it will wait forever, thus the race condition I suggested above can never happen!
    Yes, you got it!
    As I've thought about it a bit more, there's a few things that surprise me... first, the reason the 'dequeue element while loop' errors is not because there's nothing in the queue, it's becaues the queue has been released and it's trying to access that released queue...   However the problem I have is this --- Even though there's no timeout wired to the dequeue element, I still would think that the while loop that contains it would continue to run at whatever pace it wanted -- and as i said before.. most of the time, it would find that there is nothing to dequeue, but once in a while, something is there.  however, it seems that this loop only runs when something has been enqueued.  the reason I say this is illustrated in the next code sample MODv2 that's attached below.  I've added a stop button to the "queue size while loop" so the program runs until that is pressed.  I've also added a simple conditional in the "dequeue while loop"  that generates a random number if it a button is pressed... but this button is totally non-responsive... which means to me that the "dequeue while loop" isn't actually continuously running, but only when an element is added to the queue.  this still seems almost like the 'dequeue while loop" waits for a notifier from the queue telling it to run.  can you explain this to me? because it is different from what I expect to be happening.
    rasputin wrote:
    I tried to open your VIs but it doesn't work. LV
    is launched, the dialog box (new, open, configure...) opens and then...
    nothing. Not even an error message. I guess it isn't a problem of LV
    version or a dialog box would appear saying this. Could you, please,
    send a image of the code?
    Thanks,
    Hi Rasputin, I'm using LV8.  I assume that was your problem, but who knows.  I've attached a pic of of altenbach's solution since it's what I needed.
    thanks
    -Z
    Message Edited by zskillz on 10-20-2006 11:49 AM
    Attachments:
    daq01v1MODv2.vi ‏63 KB
    daq01v1MODpic.JPG ‏116 KB

Maybe you are looking for

  • Shared Photo Streams Not Updating?

    About a week ago I realized my shared photo streams were not updating. I am not recieving any new photos that my friends are posting, and when I upload new photos they don't go to any of my friends' devices. How can I fix this problem? Thanks!

  • Display a countdown time in a message box

    I still search for an easy way to show a 30sec realtime countdown timer in a message box. Are there any hints from your side. thanks -

  • Songs are there but smart playlists don't sync/work

    I use my iPod Touch in my car and rarely sync it. I noticed that there were suddenly no songs on a few of my smart playlists. The songs were still on the iPod but the playlists said "No Music" when you tried to view them. The only playlist with songs

  • Cannot read pre-view cache

    At startup I get failure message "cannot read from pre-view cache (förhandsvisningscache in Swedish)" every time. According to the message, the failure is supposed to be rectified at next start-up, but this has not happened. I simply cannot start Lig

  • Batch Renaming Files

    Greetings, Is there a way to "Batch Rename" a group of files? For example, I might want to rename dog.gif, cat.gif, rat.gif, etc. to animal01.gif, animal02.gif, animal03.gif, etc. Thanks, folsombob