Help needed for enhancement in Purchase requisition

Hi all,
Our client uses me59n to generate PO's automatically using purchase requisitions.
Now, the requirement is ...
If net Purchase value  is 0 in purchase requisition, then
Free(UMSON) field in Purchase order shoud be "checked".
lemme explain the steps a bit detail.
1. lots of purchase requisitions will be created in me51n.
2. Client will use me59n to generate PO's automatically, using Purchase requisitions.
3. purchase orders will be created.
3. Now, i am in search of a badi/user exit , which will
     if netPurchasevalue(gswrt) = 0
        (free)umson = X.
     endif.
so , i need a enhancement, which links both fields(gswrt) from purReq & (umson) in PO. 
please lemme know if anybody have experience on similar issues earlier.
Regards.
santosh.

Hi,
Try implementing the BADI -ME_PROCESS_PO_CUST ...the method "PROCESS_ITEM" can be used to do the check that you want...
Thanks,
Renjith

Similar Messages

  • Help needed for enhancing datasource 0FI_AP_04

    Dear all,
    I need to enhance datasource '0FI_AP_04' and add field 'GSBER' (Business Area) to it. This datasource is based on tables BASK and BISK and both tables have this field. I would like to add this field to my datasource. When I go to Change Datasouce in RSA5, I dont get this field there. If anybody can tell me how to go about this, I'll be very grateful. Thanks a lot.
    Regards,
    Sumit

    Sumit,
       Enahncing the DS is a 2 part process.
       1. Adding a field to the Extract Structure
       2. Data population for the new field.
    <b>i think in your case there is no need to write the 2nd step. If the new field you are using is based on the main tables for extractor simply add the field with Same name it is appearing on the Tables BSAK/BALK.</b>
    go to RSA5--> instal the DS.
    go to RSA6> select the DS> go with Enhance the DS on the application tool bar.
    system will propose the Append Structure naem.
    click on enter..
    Provide the description for Append Structure.
    Add the Filed with Field Name it's appearing on the Table. Field Name should Be Same. there is no need to write code. if the field names are different you need to the second step.
    Activate the Append Structure. Maintainthe DS. check teh Data, new field will get the Data.
    All the best.
    Regards,
    Nagesh Ganisetti.

  • Guys i need to get m itunes account unlocked its stopping mefor making in app purchases please help need to make a purchase within 30 minutes

    guys i need to get my itunes account unlocked its stopping mefor making in app purchases please help need to make a purchase within 30 minutes

    If you've tried to buy something and your've been charged for it (and it's not a temporary store holding charge) but haven't received it then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Help needed for writing query

    help needed for writing query
    i have the following tables(with data) as mentioned below
    FK*-foregin key (SUBJECTS)
    FK**-foregin key (COMBINATION)
    1)SUBJECTS(table name)     
    SUB_ID(NUMBER) SUB_CODE(VARCHAR2) SUB_NAME (VARCHAR2)
    2           02           Computer Science
    3           03           Physics
    4           04           Chemistry
    5           05           Mathematics
    7           07           Commerce
    8           08           Computer Applications
    9           09           Biology
    2)COMBINATION
    COMB_ID(NUMBER) COMB_NAME(VARCHAR2) SUB_ID1(NUMBER(FK*)) SUB_ID2(NUMBER(FK*)) SUB_ID3(NUMBER(FK*)) SUBJ_ID4(NUMBER(FK*))
    383           S1      9           4           2           3
    384           S2      4           2           5           3
    ---------I actually designed the ABOVE table also like this
    3) a)COMBINATION
    COMB_ID(NUMBER) COMB_NAME(VARCHAR2)
    383           S1
    384           S2
    b)COMBINATION_DET
    COMBDET_ID(NUMBER) COMB_ID(FK**) SUB_ID(FK*)
    1               383          9
    2               383          4
    3               383          2
    4               383          3
    5               384          4
    6               384          2          
    7               384          5
    8               384          3
    Business rule: a combination consists of a maximum of 4 subjects (must contain)
    and the user is less relevant to a COMB_NAME(name of combinations) but user need
    the subjects contained in combinations
    i need the following output
    COMB_ID COMB_NAME SUBJECT1 SUBJECT2      SUBJECT3      SUBJECT4
    383     S1     Biology Chemistry      Computer Science Physics
    384     S2     Chemistry Computer Science Mathematics Physics
    or even this is enough(what i actually needed)
    COMB_ID     subjects
    383           Biology,Chemistry,Computer Science,Physics
    384           Chemistry,Computer Science,Mathematics,Physics
    you can use any of the COMBINATION table(either (2) or (3))
    and i want to know
    1)which design is good in this case
    (i think SUB_ID1,SUB_ID2,SUB_ID3,SUB_ID4 is not a
    good method to link with same table but if 4 subjects only(and must) comes
    detail table is not neccessary )
    now i am achieving the result by program-coding in C# after getting the rows from oracle
    i am using oracle 9i (also ODP.NET)
    i want to know how can i get the result in the stored procedure itsef.
    2)how it could be designed in any other way.
    any help/suggestion is welcome
    thanks for your time --Pradeesh

    Well I forgot the table-alias, here now with:
    SELECT C.COMB_ID
    , C.COMB_NAME
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID1) AS SUBJECT_NAME1
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID2) AS SUBJECT_NAME2
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID3) AS SUBJECT_NAME3
    , (SELECT SUB_NAME
    FROM SUBJECTS
    WHERE SUB_ID = C.SUB_ID4) AS SUBJECT_NAME4
    FROM COMBINATION C;
    As you need exactly 4 subjects, the columns-solution is just fine I would say.

  • Color management help needed for adobe CS5 and Epson printer 1400-Prints coming out too dark with re

    Color management help needed for adobe CS5 and Epson printer 1400-Prints coming out too dark with reddish cast and loss of detail
    System: Windows 7
    Adobe CS5
    Printer: Epson Stylus Photo 1400
    Paper: Inkjet matte presentation paper with slight luster
    Installed latest patch for Adobe CS5
    Epson driver up to date
    After reading solutions online and trying them for my settings for 2 days I am still unable to print what I am seeing on my screen in Adobe CS5. I calibrated my monitor, but am not sure once calibration is saved if I somehow use this setting in Photoshop’s color management.
    The files I am printing are photographs of dogs with lots of detail  I digitally painted with my Wacom tablet in Photoshop CS5 and then printed with Epson Stylus 1400 on inkjet paper 20lb with slight luster.
    My Printed images lose a lot of the detail & come out way to dark with a reddish cast and loss of detail when I used these settings in the printing window:
    Color Handling: Photoshop manages color, Color management -ICM, OFF no color adjustment.
    When I change to these settings in printer window: Color Handling:  Printer manages color.  Color management- Color Controls, 1.8 Gamma and choose Epson Standard it prints lighter, but with reddish cast and very little detail and this is the best setting I have used so far.
    Based on what I have read on line, I think the issue is mainly to do with what controls are set in the Photoshop Color Settings window and the Epson Printer preferences. I have screen images attached of these windows and would appreciate knowing what you recommend I enter for each choice.
    Also I am confused as to what ICM color management system to use with this printer and CS5:
    What is the best ICM to use with PS CS5 & the Epson 1400 printer? Should I use the same ICM for both?
    Do I embed the ICM I choose into the new files I create? 
    Do I view all files in the CS5 workspace in this default ICM?
    Do I set my monitor setting to the same ICM?
    If new file opens in CS5 workspace and it has a different embedded profile than my workspace, do I convert it?
    Do I set my printer, Monitor and PS CS5 color settings to the same ICM?
    Is using the same ICM for all devices what is called a consistent workflow?
    I appreciate any and all advice that can be sent my way on this complicated issue. Thank you in advance for your time and kind help.

    It may be possible to figure out by watching a Dr.Brown video on the subject of color printing. Adobe tv
    I hope this may help...............

  • File missing (file\BCD error code 0Xc0000034 help need for work!

    file missing (file\BCD  error code 0Xc0000034 help need for work!    what can i do?
    have an p 2000 notebook pc

     Hi bobkunkle, welcome to the HP Forums. I understand you cannot boot passed the error you are receiving.
    What is the model or product number of your notebook? What version of Windows is installed?
    Guide to finding your product number
    Which Windows operating system am I running?
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Help need for force to signout All session ! how...

    hi
         help need for force to  signout All session !  how ??
    Solved!
    Go to Solution.

    Hi and welcome to the Skype Community,
    To force a signout of all instances your Skype is signed into please change your password: https://support.skype.com/en/faq/FA95/how-do-i-change-my-password
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

  • Enhancment Framework- Purchase Requisitions

    Is there a pre-/post- exit enhancment that I can code to process a Purchase
    Requisiton Create or Change?
    If so which class and method would need to be enhanced?
    I don't want to use a BAdI.

    Hi,
    You have two types of enhancements.
    1. Implicit enhancement
    2. Explicit enhancement.
    Implicit enhancement are already predefined in your programs.
    To create implicit enhancement.
    goto program and press shift +f4 and then goto edit>enhancements>show implicit enhancement
    then implicit enhancements are highlighted in the program.
    then right click on the highlightes point and click enhancement and press create.
    and you can write the code in between enhancement and end enhancement .
    Hope it helps you for the requirement.

  • Help needed for WA01 enhancemnet

    I need a small help reg t-code WA01- Create allocation table. while for a Pur Org and Pur Grp and article, we calculate Planned qty after we choose Adopt DC stock in menu bar dropdown,it is required that planned qty field should be populated with some custom value calculated based on certain rules rather than standard SAP calculation.
    To this effect, I need an enhancement spot /BAdI/User exit etc to incorporate my custom solution but couldn't find one which triggers at this level(ie when we choose Adopt DC Stock).
    Please let me know how this can be faciliated if anyone has idea on this. Tahnks in adv.

    hi ranjan,
    I am listin all the Badis and the userexits for the WA01 transaction.
    Enhancement/ Business Add-in            Description
    Enhancement
    WAUFT007                                User Exit Article Selection
    WAUFT006                                Allocation Table Number Determination
    WAUFT005                                Del. Phase Per Article and Ship-To Party or DC Determination
    WAUFT004                                User exit for recipient determination for DCs
    WAUFT003                                Determination of DC order quantity (reduced order quantity)
    WAUFT002                                Check: Automatically adopt requested qty as confirmed qty
    WAUFT001                                User Exit Allocations
    Business Add-in
    WRF_X_AT_SYNC_I                         AT - APC Confirmation
    WRF_X_AT_POHF_OTB_I                     Use Fashion Purchasing FM to Generate VO with OTB Check
    WRF_X_AT_LIST_LOC_E                     Change End Date of Listing in Allocation Table
    WRF_X_AT_DET_EADAT_I                    Access to Add-On Data for Allocation Table
    WRF_X_AT_CREATE_I                       Create Allocation Table
    WRF_X_AT_CHECK_E                        (Incompleteness) Checks in Allocation Table
    WRF_X_AT_ARTH_I                         Determine the Article Hierarchy for an Allocation Table Item
    WRF_X_AT_AH_SCREEN_I                    Subscreen for Article Hierarchy/Purchasing List Number
    WAUF_X_STORE_CONSTRA                    Alloc. Table - Restriction of Recipients with Fast Changes
    WAUF_X_AT_FCODES_I                      FCodes Allocation Table
    WALL_DETERMINE_DC                       Supply Source Determination for Customers (W/O Plant Ref.)
    RAT_PROCUREMENT_TYPE                    Procurement Document Determination (PO/Sales Order)
    AT_CONS_PROCESSING                      Consignment Processing in Allocation Table
    keep teh Break point in each abdi and user exit and run and chesk which badi executes for your particular transaction and you can modify the code in that particular user exit or badi.
    Reward if usefull,
    Thanks & regards,
    Kalyan.

  • Need item tracking from Purchase Requisition level.

    can any one help me on this, i need to trace purchase requisition status,
    for example, Quantity requested on PR, Quantity Ordered on PO, Quantity Received, Issued, Transferred, Returned and balance.
    need query

    Hi,
    For PO status, you can refer thread http://scn.sap.com/thread/3537308
    For issued, transferred, returned and balance query OINM table.
    Thanks & Regards,
    Nagarajan

  • User Exit for me54n on purchase Requisition Release i.e EXIT_SAPLMEREQ_05

    HI   All Experts ,
                          I have one Requirement that  , i want to insert  data in Ztable  using all details from header data in me54n  on purchase release i.e When i will Click on Purchase release Requisition i want to insert records using few fields such as , matnr ,menge , item, quantity ,requisioner,plant storage locaton , date etc  . i am using user exit on this i.e smod EXIT_SAPLMEREQ_005 in mereq001  which is called when clicked on purchase requisition release , now how to collect that details  in this user exit .
    need some help regarding this .
    Thanks And Regards
    Deepak Dhamat

    Dear Peter ,
                   yes you are correct that ebeln is part of structure MEREQ_ITEM but  it is always empty .i want Purchase Requisition no i.e     PR. Manual           2000009940  which is present in me54n first line of screen  i.e above the header note .
    after looking at the property  of that field it show as given
      below
      Struct.          MEREQ_TOPLINE               
      Field name       BANFN_EXT                   
      Data element     BANFN                       
      DE supplement    0                           
      Parameter ID     BAN                                                                               
    Screen field     MEREQ_TOPLINE-BANFN_EXT     
      Program name     SAPLMEGUI                   
      Screen no.       0014

  • Help needed on enhancements.

    hi guys
       this is Shrika...Iam about to attend interviews...Iam new to ABAP...All companies are looking for experience in userexits n BAdis....i hav knowledge but no experience at all...
        I need some projects on these enhancements so i cud answer their questions...iam claiming 3yrs experience.
       could u guys help me in providing projects on enhancements with little expalnation...i'd be  thankful to u guyz.
    thnx in advance.

    Hi, check the below links these will help you for your knowledge in userexits n BAdis....
    User Exits.
    http://www.erpgenie.com/sap/abap/code/abap26.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d
    http://www.planetsap.com/userexit_main_page.htm
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://www.sapdevelopment.co.uk/enhance/mod_sapmenu.htm
    http://www.sapdevelopment.co.uk/enhance/enhancehome.htm
    http://erpgenie.com/abaptips/component/option,com_docman/task,cat_view/Itemid,/gid,25/orderby,dmdate_published/ascdesc,DESC/
    http://help.sap.com/saphelp_nw04/helpdata/en/81/8c5738ee806b0ee10000009b38f889/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/ec07a25db911d295ae0000e82de14a/content.htm
    BADI
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    Thanks and Regards,
    Pavankumar
    please mark helpfull answers

  • Help need for badi method me_process_po_cust~check

    Dear All expert
    Pl see following thread
    I am stuck
    Help needed
    http://scn.sap.com/thread/3610303

    See the issue here is HOLD feature in PO should not be there if it meets the error condition.
    For this you can refer another BADI for this purpose ME_HOLD_PO.
    Refer one of my previous threads below , it might be helpful :
    Held Purchase order need not be created.
    Reiterating a thread related to same topic is not a good practice.

  • Query help needed for querybuilder to use with lcm cli

    Hi,
    I had set up several queries to run with the lcm cli in order to back up personal folders, inboxes, etc. to lcmbiar files to use as backups.  I have seen a few posts that are similar, but I have a specific question/concern.
    I just recently had to reference one of these back ups only to find it was incomplete.  Does the query used by the lcm cli also only pull the first 1000 rows? Is there a way to change this limit somwhere?
    Also, since when importing this lcmbiar file for something 'generic' like 'all personal folders', pulls in WAY too much stuff, is there a better way to limit this? I am open to suggestions, but it would almost be better if I could create individual lcmbiar output files on a per user basis.  This way, when/if I need to restore someone's personal folder contents, for example, I could find them by username and import just that lcmbiar file, as opposed to all 3000 of our users.  I am not quite sure how to accomplish this...
    Currently, with my limited windows scripting knowledge, I have set up a bat script to run each morning, that creates a 'runtime' properties file from a template, such that the lcmbiar file gets named uniquely for that day and its content.  Then I call the lcm_cli using the proper command.  The query within the properties file is currently very straightforward - select * from CI_INFOOBJECTS WHERE SI_ANCESTOR = 18.
    To do what I want to do...
    1) I'd first need a current list of usernames in a text file, that could be read (?) in and parsed to single out each user (remember we are talking about 3000) - not sure the best way to get this.
    2) Then instead of just updating the the lcmbiar file name with a unique name as I do currently, I would also update the query (which would be different altogether):  SELECT * from CI_INFOOBJECTS where SI_OWNER = '<username>' AND SI_ANCESTOR = 18.
    In theory, that would grab everything owned by that user in their personal folder - right? and write it to its own lcmbiar file to a location I specify.
    I just think chunking something like this is more effective and BO has no built in back up capability that already does this.  We are on BO 4.0 SP7 right now, move to 4.1 SP4 over the summer.
    Any thoughts on this would be much appreciated.
    thanks,
    Missy

    Just wanted to pass along that SAP Support pointed me to KBA 1969259 which had some good example queries in it (they were helping me with a concern I had over the lcmbiar file output, not with query design).  I was able to tweak one of the sample queries in this KBA to give me more of what I was after...
    SELECT TOP 10000 static, relationships, SI_PARENT_FOLDER_CUID, SI_OWNER, SI_PATH FROM CI_INFOOBJECTS,CI_APPOBJECTS,CI_SYSTEMOBJECTS WHERE (DESCENDENTS ("si_name='Folder Hierarchy'","si_name='<username>'"))
    This exports inboxes, personal folders, categories, and roles, which is more than I was after, but still necessary to back up.. so in a way, it is actually better because I have one lcmbiar file per user - contains all their 'personal' objects.
    So between narrowing down my set of users to only those who actually have saved things to their personal folder and now having a query that actually returns what I expect it to return, along with the help below for a job to clean up these excessive amounts of promotion jobs I am now creating... I am all set!
    Hopefully this can help someone else too!
    Thanks,
    missy

  • Help needed for using BASIC authentication through JDBCRealm

    Help needed.
    Hello,
    I am doing a degree project, so far it works fine in my local machine, I need to try it on my virtual hosting (as it is a live server).
    My project requires JDBCRealm, that is BASIC authentication loading access data from mysql database. Normally this setup can be done in Server.xml file, because my Tomcat hosting is a virtual one, I only have permission to access the web.xml file.
    My question is: is it possible to get it done in an alternative way? In web.xml? Some properties file maybe?
    Thank you very much.

    You can set this up for your context using META-INF/context.xml instead of working with server.xml.
    Make a directory called META-INF under your webapp ( it'll be at the same level as WEB-INF ). Under this, add a context.xml with all your context specific configuration including the realm. A sample is below
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/myApp" reloadable="true">
        <Realm
            className="org.apache.catalina.realm.JDBCRealm"            
            driverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"         
            connectionURL="jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=myDB;SelectMethod=Cursor;"
            connectionName="username" connectionPassword="password"
            digest="MD5" userTable="users" userNameCol="userid" userCredCol="userpassword"
            userRoleTable="user_roles" roleNameCol="rolename"
        />
    </Context>Hope this helps.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

Maybe you are looking for

  • Pixelated web gallery images

    I am experiencing several pixelated images in web galleries that I create.  It seems that the pixelation occurs only with the color black such as a black suit.  The pixels show up as whit or white-gray.  Here is one example.  There are about 12 image

  • How do I form groups in contacts on the 4s

    How do I form groups in contacts on the 4s

  • Exporting to Business Object platform - Issue

    Hi, For me suddenly the export-> Business Object Platform got disabled.  I am using Xcelsius 2008.  Other export options are working fine for me. Help me in resolving this issue. Thanks & Regards, Subbu S

  • Jsf export data to jsf

    hi.How can I export data to excel wtih using jsf .Can anybody suggest something fot it t� me?

  • Tooltiptext in a JOptionPane's Combobox?

    Hi, Im wounder if it's possible to add ToolTipsTexts to a JOptionPane.showInputDialog that is created in this way. sortedFunctionSet.toArray gives a array of strings making the showinputdialog create a combobox with all values. I want to show a toolt