Userexit at Purchase Order Save to influence SAP Standard field

Hi All,
I am looking for a userexit/BADI that will allow me to influence the value of a SAP standard field in EKPO right before save of a Purchase Order in Create mode.
I have not yet found anything that lets me do it.
Could you help me please?
Regards,
Atul

Hi Atul,
in standard way you can influence SAP fields in the beginning of the transaction. In later user-exits / BADI you aren't allowed to change e.g. EKPO any longer. Of course you might do it anyway (see dynamical assign), but it's as bad as a modification.
Regards,
Christian

Similar Messages

  • Purchase order save issue, Using through BADI  PROCESS_PO_CUST ME21n

    Hi,
    Pls  Experts ,can we have some solution for this
    Purchase order save issue,  we are Using  BADI  PROCESS_PO_CUST currently we are throwing a
    message  using MMPUR_MESSAGE_FORCED if mandatory custom fields are not entered by the User,
    When we are saving the PO we are getting a exception which is raised by us ( custom message ) .
    Pls let me know is there any way to clear the message or to make mandory custom fields to be entered by user ..
    thanks  in advance...
    PK

    Hi Arnab,
    Thanks for quick response ..
    My requirement is if user is not entering the cusome fields then  i dont want to allow him to process any other Tabstrips  in the order .. thats the reason i am throwing an error message asking to enter custom fields.. then once user enters the custom fields which are created by   me .. then i should consider those values for further process like some other tab strips values maintained by the user then when we try to Save the PO still my custom error will be creating issue its not allowing to save..
    Can i have some solution ..
    thanks in advance.
    kumar

  • Adding a new SAP standard field to complaints result BOL

    Hi Experts,
    There is a requirement to add SAP standard field 'Posting date' to Advance search result BOL of complaints.
    This field already exists in search BOL and visible on WEB UI advanced search.
    The field is added as attribute in result context node of BT120S_CPL/AdvSearchComplRL through wizard.
    But, unable to see the values getting populated. Could you please let us know if any code to be written for getting values populated.
    Regards,
    Santosh

    Hi Santosh ,
    My previous post was based on the fact that you have added a model attribute. Since you have added the field as a value attribute and you want to use it for querying , then you would have to do the following
    a) Extract the value from the value node.
    b) Add the selection param so that 'posting date' is passed to the GENIL. You can use add selection param method in the Advanced query. Use the name of the field in the BOL & the value as yours.
    c) Get the result & show it on the way you want.
    This is same as it would have been when you had a model field. In that case also you would have extracted the value from model node. I see no difference here except that fetching the field. Rest of the steps remain the same if the field is available in BOL for advanced query.
    Yes the difference lies in showing it in the WebUI as now you would have to fill this value node manually. If you had a model node , the framework would have done this for you.
    But don't base your choice of model/value node on the ease of coding but on the business case.
    Regards
    Kavindra

  • Modify SAP standard fields in an Infotype

    Hi friends!
    We have enhanced an Infotype successfully added few extra fields and they work perfectly.
    In Infotype 28, there are already 3 SAP standard fields and we have added 4 more.
    Now, we need to enable/disable according to the our added fields. For Eg by a Custom check box, I need to enable/disable SAP standard field for an infotype.
    We tried by LOOP at SCREEN and all but due to SAP standard fields we are unable to do it.
    Any ideas?
    Please help.
    Thanks.

    Hi Park,
    Standard Infotype Fields configured (enable/disabled/hidden) in the view V_T588M (Tcode-SM30). You can disable any standard infotype field here if it is independent of other fields (i.e. before screen opens itself field is disabled).
    If you want the field to be disable at runtime you may need to edit the feature 'PNNNN' (where NNNN is your standard infotype number (transaction -pe03)).
    Also have you tried to code (loop at screen. endloop) in badi HRPAD00INFTY (method BEFORE_OUTPUT). I am not sure whether this will work or not.
    Regards,
    Shrinivas

  • How to make SAP standard field as mondatory in a screen

    hi all,
    i need to make SAP standard field as mondatory in a screens EG31, EG34,EG71
    TO DO THAT   I HAVE TO USE : EXIT_SAPLE30D_002 
    so can anybody tell me how that

    You can use standard program RSMODPRF.
    Execute this standard program without giving any input
    and select the data element whatever you want to make mandatory and click on Assign prog/screen button click OK and come back.
    now give required data element and execute the program again
    and write the code to make that datea element mondatory.
    hope it helps...

  • SAP Standard Field Attributes for ME21n and ME

    Hi,
    Can anyone suggest me where i can see all the display,Hidden,Mandatory, optional SAP Standard field attributes for ME21N and ME51N.
    I looking for Configuration settings
    Thanks
    Venki

    Hi ,
    All i see is Field Label                    Reqd.entry  Opt. entry  Display for ME21N and ME51N
    I want to see what SAP Standard Fields are Hidden for these T-codes.
    I want to use and Non Used Field ( Hidden SAP Field) for new Enhancement instead of creating a custom Tab
    Thanks
    Venki

  • Purchase Order Release Strategy and SAP user RelationShip

    Hi,
    We are currently developing a work flow to streamline PO release in our company . What we want to achieve is that
    E.g
    A purchase order 100001 is creates and a release strategy s1 is applied to it which is a 3 level relase statrgy having release code c1,c2,c3 which are uniquely assigned to user/employee of the company and no 2 users'employee can have the same release code.
    Now when c1 release the purchase order a work item should be created to for the user/employee who is assigned the c2 code.
    Currently this workflow is not implemented in our company adn the relase stategy is handeled by authorization oobjects and when ever a po user relase the po he calls up the other persona next in relase strategy to notify him about the work he has to do .
    I am need to know can we develop a relationship b/w the release code and sap user or employee
    Regards
    Kamran ellahi

    Hi,
    We are currently developing a work flow to streamline PO release in our company . What we want to achieve is that
    E.g
    A purchase order 100001 is creates and a release strategy s1 is applied to it which is a 3 level relase statrgy having release code c1,c2,c3 which are uniquely assigned to user/employee of the company and no 2 users'employee can have the same release code.
    Now when c1 release the purchase order a work item should be created to for the user/employee who is assigned the c2 code.
    Currently this workflow is not implemented in our company adn the relase stategy is handeled by authorization oobjects and when ever a po user relase the po he calls up the other persona next in relase strategy to notify him about the work he has to do .
    I am need to know can we develop a relationship b/w the release code and sap user or employee
    Regards
    Kamran ellahi

  • Viewing SRM Purchase Order Vendor Text in SAP

    When looking at purchase orders using SAP transaction ME23N I can see the short text created for purchase orders. I would like to be able to access the data from the SRM Vendor Text field as this usually contains more useful information.
    I have tried looking at multiple text fields within ME23N but none of them seem to contain this information.
    Is this just an access problem or is there a way of bringing this information to the transaction (or another SAP transaction, rather than opening up SRM each time)
    Any ideas appreciated

    in other words: you had modified SAP programs.
    If you upgrade or apply hotpackages then you have to perform the transaction SPAU, where you define whether you accept SAP changes or keep the modification as is.
    It can be that basis just resets all to SAP standard. hence you have to redo your changes.

  • How to customize purchase order smartform BBP_PO in SAP SRM 7.0?

    Hi friends,
    I am new to SAP, as well as to SRM world. Currently I have a object with me from purchase order smartform in SRM. My job is to copy the standard PO form named BBP_PO into "Z" form and to make customizations in the copied one. I don't have idea about how to proceed with it. Please give me some idea about required processing classes, methods, BADI's, FM's etc,.. Can anyone please tell me how to do this job? I am a fresher so if you help me in this means, it would be very helpful for me and for my future.
    Thanks and regards,
    Siva

    Hello Siva,
    I searched and found the below steps ...
    why dont you try the same !
    How to customize an existing Standard Smart form in SRM - Overview.
    1. Copy existing Standard smart form in SRM, let us say, BBP_PO into "Z'' Smart form in Transaction SMARTFORMS.
    2. Do changes in Z Smart form add Desired Logos in Smart form using SE78 and SMARTFORMS transactions.
    3. Change in Jargon: Unlike ECC we will not have Driver program (in SE38), you will find Processing class and Processing method ( in SE24) for SRM Smart forms, where we write extraction logic.
    4. So, In case of SRM we should replace the (word) "Driver Program" with (the word) "Processing Class" and Perform as "Processing Method".
    5.Where to Link: Processing Class, Processing Method and Smart form? In SPRO, SRM Server -> Cross Apps -> Set Output Actions and Output Format -> Define Actions for Purchase Order Output -> Action definition -> Processing types, then select standard PO.
    6. If we are using (Completely- New) Custom Smart Form instead of Changing Standard Smartform, then Do change any settings in Step5, Otherwise, if you are planned to modify existing Smartform, with Small logic changes, format changes and Logo Changes then, Just Implement BADI - BBP_OUTPUT_CHANGE_SF in SE19 transaction.
    7. Put a simple code  in BADI as... CASE IV_OBJECT_TYPE.
    When  'BUS2201' .
       CV_SMARTFORM = 'Z_CustomSF'.
    ENDCASE
    8. Don't forget, you already copied Std Smartform into Custom Smartform say Z_CustomSF.
    9. I am using BUS2201 only becuase I was trying to change BBP_PO Smartform which is a Purchase Order Smartform.
    Hope this helps!
    - Vikas

  • Purchase Order - save data via BADI failed

    Hi all,
    I have created a zfield in a new tab at item level  of the purchase order that saved data into a custom table successfully. This is via BADI.
    However I like to save the zfield into ci_ekpodb which stored into EKPO.  In the function module that does the
    updates,   i have for a new line item for it to insert into EKPO but it abended with error 'SAPSQL_ARRAY_INSERT_DUPREC".
    This insert results in duplicate database records.
    The codes are: 
    data: lt_item_new  type table of zpo_trace.
    'If  lt_item_new is not initial'.
        Insert EKPO from table lt_item_new.
    Endif.
    Have anyone experience insert new line item into EKPO via ci_ekpodb ?  Pls share any thoughts.
    thanks
    Joyce

    Hi Joyce,
    If you are using the BADI, ME_PROCESS_PO_CUST , you can used the method PROCESS_ITEM .
    You have a object IM_ITEM on which the method get_data or set_data can be called to populate the data to be sent to the EKPO Table.
    Example :
    data : ls_ekpo TYPE mepoitem.
    CALL METHOD im_item->get_data
        RECEIVING
          re_data = ls_ekpo.
    Populate the values against the desired line item as per requirement in the structure ls_ekpo .
    Once done, you can use the method set_data of the same instance to pass the data to the structure.
    CALL METHOD im_item->set_data
            EXPORTING
              im_data = ls_ekpo.
    Hope this helps.
    Regards,
    Sagar

  • Purchase order save on desktop

    hi all,
    I want to know if it is possible to save the purchase order form as a file in the computer , its possible to take a printout. i want the method to save and send it as an attachment on email. please tell the procedure to save it.
    regards
    man

    Dear Lekhram
                           i clicked on print preview button in po but i got the following message:
                    No messages found (Please check your input)                                                                               
    Message no. ME230                                                                               
    Procedure                                                                               
    Enter 1 (processing successful) in the "Processing time spot" field if
         you want to display the messages for this document that have already  
         been outputted.                                                                               
    Please help on this
    Regards
    Prabhu

  • Purchase order need to add to Standard program

    Hi Folks,
    i have standard program RFDEPL00, i have to copy this one into Zprogram and need to add the purchase order number and text into the output display(purchase order number will take from VBAK-BSTNK),
    could any one help me how to bild the logic for this and where to build?
    thanks in advance

    In include program FDEPL00_SHOW line 18, call the alv function module.The out put internal table is gt_data.I think you can debug the program and add find the right position to add new field to the gt_data table.
    But i found include program FDEPL00_READ use LDB method to get the vendor information.So i think it is not very easy to add code in FDEPL00_READ.
    Maybe you can add code before call alv function.
    Regards Chris.

  • Enjoy Purchase order - Personal settings v Vendor Master fields

    We want to use Personal settings to default certain fields but want fields from the vendor master to take prioirty.... can we change the field selection available to users or can we switch off personal settings, or change the priority so if payment terms maintains at vendor level, these take prioity over personal setting ones!

    Dear Keith,
    You can try it in your system, i told you as per standard SAP, so we talk about SAP design, and for me, it make sense if the personal setting is overriding the vendor master setting, because the vendor master (purchasing data) also just for default data,and SAP give personal setting in order to make default data under user level, so the personal setting is only effected for the user, not all user that using the transaction
    Regards,

  • Purchase order : user-exit to fill new field in table EBAN

    Hi,
    in EBAN table i created a new field named ZTYPE_SITE. Now i would like to fill this field when i save my purchase requisition. I don't found the user-exit or BADI to do that.
    Thanks for help.
    Cheers.

    up

  • Purchase Order Form design

    Hi Friends,
    Please help to me to get the information of below requirement,
    List of all the fields we'll need to include in the Purchase Order Form (start with the standard fields). List to contain the Label Name of the Field on the Form with its appropriate technical name (eg.  PO Number = MEPO_TOPLINE-EBELN). where can i find all the field and technical name of Purchase Order?.
    I would assume that we can get most of this information from the standard Smart Form program. Could you please tell me the Smart Form Program name?
    Thanks
    Abdul

    Hi,
    You can refer to the standard form MEDRUCK via t-code SE71 in SAP system, normally in the standard SAP system use the standard form to print out document, not smart form!
    Of course, you can define your own smart form and printout program for the local request, the table EKKO, EKPO can provide enough information for the smart form.
    Good luck
    Tao

Maybe you are looking for

  • Ntttcp doesn't run traffic on first command execution

    Hi, I noticed some weird behavior of ntttcp_x64.exe which sometimes doesn't run any traffic on the first time it's been executed. Waiting for it to complete, shows that 0.000MB/s were transmitted. (no traffic was actually running) Re-running right af

  • 'authentication failed' using Microsoft ADSI version LDAP server

    Hi All, Now days i am facing some problem in authentication (i am using microsoft ADSI version LDAP Server) but am not able to authenticate the LDAP users. I have configured my LDAP server in the same manner as u mentioned in this blog. when I am try

  • Error at the time of execution using weblogic10

    Hi All,           i am new in the implementetion of weblogic10. anyhow i am able to deploy the message driven bean application successfully, but getting the following errors at the time of execution:           Error 500--Internal Server Error        

  • Tolerance limit to 5%

    I want to know at the time of miro if there is any difference between po amount and invoice amount the system shows the error message as balance not zero : 50.00-    debits : 49750 credit 49700. I want to know which tolerance limit I  need to set for

  • What are the disadvantages in reuse_alv_fieldcatalog_merge

    hi what are the disadvantages in reuse_alv_fieldcatalog_merge. by using this can we create any number of field headings? is there no limit? explain in detail?