Need badi for this scenario

Dear Experts,
My requirement is in the VA01 transaction after the entering data in to sold-to-party(KUAGV-KUNNR) it has to display one pop-up ,
In that have to maintain transport analysis i.e plant,dist,cost,mode of transportation.when ever user click the mode of transport that value has to insert in ROUTE(VBAP-ROUTE)
       program name:SAPMV45A
       screen number :4452.
i am displaying the pop-up using badi ADDR_PRINTFORM_SHORT, but unable to insert the value into ROUTE.
So please help me to resolve this issue.
Regards,
Raghavendra Gowd.Y

Hi,
use USEREXIT_MOVE_FIELD_TO_VBAK   in  MV45AFZZ ...and write the code for pop-up display ....
calling function module 'POPUP_GET_VALUES'...
pass the entered values to memory id ....through
EXPORT < > TO MEMORY ID <>.
Use USEREXIT_MOVE_FIELD_TO_VBAP IN MV45AFZZ ....and get the exported values from memory id through IMPORT < > FROM MEMORY ID < > ..
update the value of VBAP-ROUTE field value ....here ...
Thanks,
Shailaja Ainala.

Similar Messages

  • Need Solution for this Scenario......

    Hi All,
    I am giving the scenario:
    For Indian operation we have two set of books, one is for direct billing to the customers in India and the other is shipping to India and billing from Bangalore/Bombay or other branches. Though India operation is single, still for the operation purpose it should be considered as two entity/two Company. Similarly the service company under the group also has the same kind of operation structure.
    How this can be done in SAP........
    Thanks in Advance,
    Subah Jo

    Some of the container/app server vendors offer such tools. You should start by posting your question to the specific container/app server forum.

  • BADIs for this link?

    Hi Experts,
    Please refer to this link below and can someone please tell me what exactly is the BADI used for this scenario and what is the transaction(s) involved?  ( i guessIW32 for ord type SM01)
    i am also on sap 4.6c but i culd not find any BADI for this scenario. I am only able to see this enhancement IWO10012.
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e2caf1e3-0801-0010-ac9d-b080188983fc]
    Thanks
    Dany

    Hi Venu Cherupillil,
    I want to know what is the corresponding BADI for that in SE18?
    I can see WORKORDER_GOODSMVT
    WORKORDER_UPDATE
    WORKORDER_CONFIRM
    Can any one suggest?
    thanks
    Dany

  • Need inputs from u for this scenario?

    Hi all,
    I have one scenario I need all inputs from u all.
    My scenario is like this.
    I will get data from online transactions I need to collect all the day transaction into one folder and upload them into SAP system at one particular time.
    Which are the best adapters for this scenario.
    If I have standard IDOC I will go with IDOC adapter at receiver side if not proxy.
    But collecting all the data into one folder and schedule the process at particular time.
    How to do this and what are the adapter I can use.
    Thanks and Regards,
    Phani Kumar.

    Hi,
    I hope for online transactions and for tracking it and saving you can write a java script where you can prepare a XML file to get all transactions for particular order and always append it to the end of that xml file. At end of the day you will have a complete transaction list in the XML you are creating. You can use the file name as you desired but i will prefer datewise name.after the completion of that Transaction recording step, put it in some In folder from where your XI system willo take input.
    Now this is file to Idoc scenario or whatever you want to use to post data to SAP Systems. The sechdule this scenario to run in the night or your desired time. After processing the XML file put that file\ to some other complete folder , not to get it again.
    For collection of transactions you can also use databases. Then you scenario will be JDBC to IDOC or the thing you want to post data in SAP system.
    Hope this will help you.
    Regards
    Aashish Sinha
    PS : reward pints if helpful

  • Help required specifying Transation attributes for this scenario

    Hi ,
    I am trying to create/update rows in a database using BMP and CMP beans.
    A business method ( Method1 )in session bean calls a non-business method ( Method2) in the same session bean which inturn calls an EntityBean ( EB1-BMP) . EB1 can throw a certain business exception upon which , the Method1 in the session bean calls another EntityBean in a loop( EB2-CMP).
    The problem is that , when the EB1 throws the business exception, i am getting an exception ( part of the stack trace attached below ).
    Could any please explain what should be the transaction attributes to be specified for this scenario.
    Using RequiresNew for the EntityBeans would not work ( or would it ?? ) because the entity bean is being called in a loop and the commit or rollback should happen for all the methods.
    I feel the problem should be solved by specifying the transaction attribute for Method2 ( non business method in session bean ) as Required, but i guess this is not possible.
    How exactly will the transaction behave in this scenario, is the exception caused because EB1 has thrown an exception and i am trying to continue the transaction.
    Could someone please suggest a solution or workaround for this problem.
    Regards,
    Harsha
    ---- Begin backtrace for nested exception
    java.lang.IllegalStateException
    at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:1694)
    javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR6022E: Error using adapter to create or execute an Interaction. com.ibm.ws.rsadapter.cci.WSInteractionImpl@28d16547
    .

    tryout business method ( Method1 )in session bean with transaction as RequiresNew.
    catch exception in Method2 originated from EB1-BMP
    make the method in EB2-CMP as Required/Mandatory
    I have made a guess here so just tryout and let me know if works.
    Its recommend that not to use both BMP's and CMPs in your application. Have any one either.

  • What’s the best practice for this scenario?

    Hi,
    My users want the ability to change the WHERE and/or ORDER BY clause at runtime. They may define user preferences on each screen ( which is bind to a view object). They want to see the same records based on WHERE/ORDER BY defined on the last visit. That is why I keep the users preferences and load the screen based on that, using :
    View.setWhereClause(...);
    View.setOrderByClause(...);
    View.executeQuery();
    This works good when only one user working with the application but faced low performance when more than one user working with the application.
    What are the points to increase the performance and what is the best practice for this scenario?
    Thanks for your help in advance.

    Sung,
    I am talking only about 2 users in my testing. I am sure i missed something but could not recognize that.
    This page is my custom query page including a tag to instantiate app module in stateful mode at the top <jbo:ApplicationModule..> and a tag to instantiate data source <jbo:Datasource...> and release tag at the bottom <jbo:ReleasePageResources..> and some java code in the middle(body). The java code constructed the query statement and then fires the query to set the view object based on the query statement using the above methods.
    So, I am facing very slow performance(speed) when two clients load this page at the same time. Looks like the entire application locks for others when one client load this page and fire the query. i realized the battle neck is where executeQuery() is executing.
    what do you think.
    Thanks in advance for your comments.

  • Oracle features available for this scenario

    What is the best methos for replcating oracle database from a production database with every 15 min interval..
    what are the oracle features available for this scenario
    Thanks
    Shiju

    orashiju wrote:
    What is the best methos for replcating oracle database from a production database with every 15 min interval..
    what are the oracle features available for this scenario
    Thanks
    ShijuIs there any specific reason to open a new thread for the same discussion that you have started here,
    Please suggest a suitable method
    Aman....

  • Pls i need help for this simple problem. i appreciate if somebody would share thier ideas..

    pls i need help for this simple problem of my palm os zire 72. pls share your ideas with me.... i tried to connect my palm os zire72 in my  desktop computer using my usb cable but i can't see it in my computer.. my palm has no problem and it works well. the only problem is that, my  desktop computer can't find my palm when i tried to connect it using usb cable. is thier any certain driver or installer needed for it so that i can view my files in my palm using the computer. where i can download its driver? is there somebody can help me for this problem? just email me pls at [email protected] i really accept any suggestions for this problem. thanks for your help...

    If you are using Windows Vista go to All Programs/Palm and click on the folder and select Hot Sync Manager and then try to sync with the USB cable. If you are using the Windows XP go to Start/Programs/Palm/Hot Sync Manager and then try to sync. If you don’t have the palm folder at all on your PC you have to install it. Here is the link http://kb.palm.com/wps/portal/kb/common/article/33219_en.html that version 4.2.1 will be working for your device Zire 72.

  • Need Solution for this Intersting scenario

    Hi All,
        Our Client is having Office in X - country & Y- Country In Y country there is two division. Import Div & Local Divison. Two book of account have to be maintained. for this.
    Good is being purchase from X for - $100 by Y Import Div
    Stock is transfered to Local Div at - $70
    Sold in the marked at - $90 by Local Div.
    After sale Y Import Div Get rebate for sale - $20
    If we consolidate the 2 books of account we get the profit - $10
    This is the scenario how it will be done....
    Please explain in detail.....
    Regards,
    Subha jo

    Hi
    First your Y-Import Division importing the material for $100 and after that is is getting $20 rebate....so the actual cost of the material is $80. Then this $80 material is transfered to Y- Local Division and sold for $ 90
    So finally you are getting $10 as a profit
    Regards
    S.Baskaran

  • Procedure needed for this scenario

    There are three tables.
    serial,product and service
    some of the fields and how they are related are shown below:
    =======================================================
    serial               product               service
    =======================================================
    ip_addr                              item_id
                   prod_id(P) --------->     prod_id(F)
                        1-many               
    serial_no(P) ---------> serial_no(F)
              1-many
    =======================================================
    P-Primary Key
    F-Foreign Key
    =======================================================
    relationship between ip_addr and item_id is many-to-many.
    based on the item_id we have to categorize ip_addr.
    if item_id 684 it is demo a/c
    if item_id = 650,652,654,892,894,896,898,900,902,1560,1562,1564,1566,1568,1570
    then this is categorized as high rate account.
    if it is 644,646 it is stat a/c
    other than these item_id are comes under standard a/c
    So if a ip_addr has xyz and 684 it should be counted as demo and not standard.
    Next you should have for high rate but that units should not have demo.
    Next you should have stat a/c but that units should not have high rate and demo
    next you should have std a/c but that should not have stat ,high rate and demo.
    So, the priority for the account should be demo then high rate then stat then std.
    If ip_addr has been categorized to any one of these categories it should not be
    processed again.
    In other words, ONE IP_ADDR SHOULD ONLY FALL IN ONE OF THE ABOVE CATEGORIES.
    The final output should be the no. of ip_addr and the list of ip_addr in each category
    namely demo,high rate,stat and std.
    Please help me out.
    Thanks in advance
    ~Chandru

    To be frank I can't be bothered to create a whole bunch of test data for this, but it has worked with one row in each table :P
    SELECT serial.ip_addr, b.cat
    FROM serial,
    (SELECT a.ip_addr, a.cat, rownum ranking
    FROM (SELECT serial.ip_addr
    , decode(service.item_id, 684, 'demo'
    , 650, 'high rate'
    , 652, 'high rate'
    , 654, 'high rate'
    , 892, 'high rate'
    , 894, 'high rate'
    , 896, 'high rate'
    , 898, 'high rate'
    , 900, 'high rate'
    , 902, 'high rate'
    , 1560, 'high rate'
    , 1562, 'high rate'
    , 1564, 'high rate'
    , 1566, 'high rate'
    , 1568, 'high rate'
    , 1570, 'high rate'
    , 644, 'stat'
    , 646, 'stat'
    , 'std') cat
    FROM service, product, serial
    WHERE serial.serial_no = product.serial_no
    AND product.prod_id = service.prod_id ) a
    ORDER BY decode (a.ip_addr, a.cat, 'demo', 1, 'high rate', 2, 'stat', 3, 4) ) b
    WHERE serial.ip_addr = b.ip_addr
    AND b.ranking = 1
    Cheers, APC

  • Programming logic for this scenario

    hi all,
    kindly help me with this scenario:
    i have a internal table with fields like this (among others)
    OBJEK                        ATINN         CHAR                                  CHARG            CHAR1
    000000000000000031 0000000188  Batchnumber: WEEK NO. 9  0000000052
    000000000000000031 0000000189  Visualinspection: OK            0000000052
    now wht i need to do is for SAME batch number i need to concatenate the values of CHAR into CHAR1.
    that is to say that CHAR1 shud have the value "Batchnumber: WEEK NO. 9 Visualinspection: OK"
    ive right now done it using 2 different internal tables and concatenating the values. want to know if theres an easier and simpler way.
    any pointers guys??
    pk

    solved it myself
    thanks to sujatha reddy's post in the following thread:
    Re: at end of  statement
    pk
    Edited by: prashanth kishan on Jul 11, 2008 9:19 AM

  • Need BADI for PV34

    Hi,
    I am working on HR ESS and i need a BADI for tcode pv34 to restrict the user to make his own appraisal not the others.
    And the main thing is it shud be only ESS side the check shud not be  there at R/3 side . We are using R/3 Iview on ESS side.
    Waiting for ur reply.....
    Thanks &Regards,
    Srinath

    Hi
    check this:
    [http://wiki.sdn.sap.com/wiki/display/ABAP/FindaBADI]
    Regards
    Markus

  • What is the best Skype setup for this scenario?

    I live in the United States and about to be deployed to Afghanistan for about one year.  I will have a laptop and an International capable Android phone, both with Skype software installed.  I want to be able to use Skype to Skype via the laptop, and also be able to call both landlines and cell phones in the United States while I am in Afghanistan.  What would be the best Skype subscription plan in this scenario to keep costs to a minimum.

    Hi,
    As you probably know, Skype to Skype calls are free, but if you wish to call phones then you would need a subscription that covers calling destination.
    You might find Unlimited US&Canada subscription from: http://www.skype.com/go/subscriptions
    Fair usage policy applies, but 6hours per day should be more than enough to call your family and friends back home in US.
    http://www.skype.com/go/terms.fairusage
    Skype also offers Online Numbers for US. For example if you purchase an Online Number in US then your friends who don't have Skype can call that number. They will be charged with local rates and call will be directed to your Skype account when you are online on your phone or laptop.
    Tip: If you do decide to purchase an Online Number for 12months then purchase calling subscription first and you will get 50% discount on Online Number.
    https://support.skype.com/en/faq/FA331/What-is-an-Online-Number
    Andre
    If answer was helpful please mark it with Kudos and if issue is resolved mark it with solution. This will help other users find this answer more easily. Thanks in advance!

  • What Permission Set Is Required For This Scenario?

    Hello,
    I currently have an environment where I have limited users to being able to create/delete databases that only they have created.  I did this by creating a Login with Public access and granting them the  CREATE ANY DATABASE permissions to their
    login. This works great as the users can create a database and delete their database but not anyone else's. The issue I have is the following scenario:
    Database A is backed up from Server 1 (a different server than the restore server) and the DB was created by User 1
    Database A is restored to Server 2 by User 2 who has CREATE ANY DATABASE permission (successfully).
    User 2 can see the restored database, but cannot access it: The database is not accessible error.
    When I view the database I see that the DB Owner is listed as User 1.
    I've been trying to figure out how to be able to allow the user to become the new owner so they can edit/delete the database, but still not affect other databases that they do not own.
    I've played with various permission sets but they end up being able to delete other user databases which I'm trying to avoid.  I also don't want to have to change the owner myself. 
    Is there a permission set that I can grant that will allow this scenario?

    That's a valid statement, let me explain my scenario and perhaps there is a better way to construct what I'm after.
    I have a QA server where different developers create databases.  All the databases backed up on the QA server are stored in a shared folder.  This shared folder is accessible on our DEV server.  We have a different set of developers
    who at times need to restore one of the QA backups on the DEV server for different testing reasons.  The permission set applied was simply to prevent someone from accidently deleting someone else's database.  Restoring someone else's database in
    our environment is not a concern.
    With this in mind, I was hoping there was an additional permission I could grant that would allow the user restoring the database to become the new owner. I don't want the burden of approving it as it will always be approved.
    I clicked on the connect link, but it returns as invalid -
    The system has encountered an
    unexpected error. We apologize for the inconvenience. The issue will be
    addressed as quickly as possible.

  • Want help in deciding the method of development for this scenario

    Hi,
    My requirement is to create one screen where customer enters shipment #, and ship-to information and say continue, he will be shown another screen with shipment details, and combo box to select appointment time. when he clicks on Make Appointment button of this screen, he needs to be shown confirmation screen with the appointment information being stored in sap tables. I want to know the best method of creating this peice of application. If you have any question, please feel free to ask them.
    Thank you,
    Surya

    Hi Surya,
    Just develop a small ALV for this application. It will best suite to your scenario.If you know to develop ALV using OO then its very simple, or you can just search throgh the SDN you will find lots of sample code to do the same.
    Regards,
    Atish

Maybe you are looking for