Badi to populate location field

Hi
I need to write a BADI to populate location field in my service request.This is trouble ticket project i need to get the location code for the TT(trouble ticket)requestor and populate that in the service request order.
Can anyone help me by giving a sample BADI?or how go about it
Thanks
Asha

Hi Keerthi,
Did you manage to find a solution for this?
If so, can you share it with us?
Thanks a lot!
Susana Messias

Similar Messages

  • BADI to populate CRM BDOC

    Hi all,
    I want to transfer condition records from CRM to R/3. To do this we enhance BDOC type:CRM_MKTPL_MKTELEM by creating new child segment with additional fields. We need to populate these fields. How do we find out the BADI to populate these fields?
    Its very ugent!!
    Thanks in Advance!!

    Hi Ntk,
    Thanks for your reply.
    I tried to search in se18. I found one BADI that runs when users enter new materials or changes the quantity of the sales order.
    This one  does not help us too much, because when you go to conditions tab (into CRMD_ORDER or via ICWEB) all conditions are redetermined with the pricing determined in IPC.
    We want to fill the conditions of the sales orders or the sales quotations at running time. In the BADI we would use the function module RFC SD_SALESDOCUMENT_CREATE (in simulation mode) in R/3 and retrieve all conditions fields and then populate the pricing conditions in CRM.
    Do you know any BADI with this behaviour? Or another similar?
    THANKS!

  • Is there any user exit/ badi to populate the partner bank type for   F-63.

    Is there any user exit/ badi to populate the partner bank type (field name BSEG-BVTYP) in transaction F-63. There is exit ‘ZFI_FOAP_CDITEMS_00001011’ having BKPF and BSEG as only import parameters so I can’t change the value for BSEG-BVTYP.
    So could you please let me know any exit where I can change the value for BSEG-BVTYP for transaction F-63?
    Thanks in Advance,
    Steevan

    hi,
    Below r the user exit related to transaction  F-63.
    Check out if any of them will solve ur Query..
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)
    Reward points if helpful,
    Regards,
    Brijesh

  • How to populate custom fields for Outbound delivery header (LIKP)

    Hi All,
    I have added one field in the structure LIKP using APPEND structure. Now want to populate this field from a batch program. I have delivery number. Is there any API or BAPI. I already tried using the FM BAPI_OUTB_DELIVERY_CHANGE by populating the extension. Is there any another area (EXIT or BADI) where I need to change.
    Thanks in advance
    Subhankar

    Hi Keshav,
    No . Nothing was happend.
    l_wa_header_data-deliv_numb = '8600007138' .
    l_wa_header_control-deliv_numb = '8600007138'.
    l_wa_extension1 = 'X'.
    append l_wa_extension1 to i_extn1.
    l_delivery = '8600007138'.
    call function 'BAPI_OUTB_DELIVERY_CHANGE'
      exporting
        header_data    = l_wa_header_data
        header_control = l_wa_header_control
        delivery       = l_delivery
      tables
        extension1     = i_extn1
        return         = l_i_return1.
    After processing l_i_return1 is coming as blank.
    Thanks
    Subhankar

  • How to populate the field VTTK - EXTI1 in the shipment

    Hi there,
    I have a situation where I need to populate the field VTTK - EXTI1  with certain values, I would like to know if there is a user exit or badi to do this.  Actually the field is empty and it's possible to enter any value.
    Thanks in advance
    Regards

    I have found in the screen of shipments a program where the logic of PBO PAI could be changed.
    INCLUDE mv56aozz.                      " User-modules PBO
    INCLUDE mv56aizz.                      " User-modules PAI
    However in the field vttk-exti1 I don't know how can I asociate a custom match code to this field using Abap code.
    Any help will be appreciate.
    Thanks in advance.
    Alexis

  • How to populate this fields in ce_bank_accounts?

    Hey there, first, i want to apologize for my bad english.
    i'm working with Cash management and i'm using this API ce_bank_pub because the bank are internals. i have the load from banks and branch, and kinda the bank accounts, but i can´t find how to populate this fields, that are mandatory for my requeriment:
    AUTORECON_AP_MATCHING_ORDER
    AUTORECON_AR_MATCHING_ORDER  
    RECON_ENABLE_OI_FLAG
    RECON_OI_FLOAT_STATUS
    RECON_OI_CLEARED_STATUS
    RECON_OI_MATCHING_CODE
    AUTORECON_AP_MATCHING_ORDER2
    this is my "flow of work", first, i load the data with SQL*Loader in a custom/personal table, after this, i have a cursor that select all the records of this table and do some validations, after this (and if all the records are ok) i use the API ce_bank_pub.
    i don't know if that API support those fields, I've read the documentation but can not find what I require.
    any help will be appreciate.
    thanks a lot.
    [SPANISH]
    Estoy trabajando con una carga de bancos, sucursales, cuentas bancarias y usos de cuentas, hasta ahorita todo bien, solo tengo problemas al poblar los campos que se muestran en la parte de arriba en la tabla ce_bank_accounts, estoy utilizando el API ce_bank_pub ya que los bancos son internos.
    mi procedimiento, o la manera que lo hago es ésta:
    cargo los datos con SQL*Loader a una tabla intermedia/temporal por decirlo así, posteriormente un cursor selecciona los datos para realizar las validaciones y las reglas de negocio y si los datos son correctos utilizo el API, eso es en general para las 4 cosas, pero los campos de arriba no se como cargarlo, modificarlos o si hay alguna otra manera para agregarselos.
    cualquier ayuda es apreciada.
    Muchas gracias.

    Hi Miguel,
    hope this helps ...
    AUTORECON_AP_MATCHING_ORDER - Order of matching statement lines to AP transactions, by transactions first or by batch first, lookup type BATCH_OR_TRX
    AUTORECON_AR_MATCHING_ORDER - Order of matching statement lines to AR transactions, by transactions first or by batch first, lookup type BATCH_OR_TRX
    AUTORECON_AP_MATCHING_ORDER2 - Order of matching statement lines to AP transactions, by transactions first or by batch first, lookup type BATCH_OR_TRX_OR_GROUP
    For all the above three fields, navigate to Lookups from Cash Management responsibility and find the lookup type BATCH_OR_TRX, this will have 3 values, B for Batch, G for Group and T for Transaction ..... pass any one of the three value as per your requirement ..
    RECON_OI_MATCHING_CODE - Open interface transactions matching code, T for matching by transaction number, D for matching by date and amount. Lookup type: OI_MATCHING_CRITERIA
    For the above field, navigate to Lookups from Cash Management responsibility and find the lookup type OI_MATCHING_CRITERIA, this will have 2 values D for Date and Amount, T for Transaction Number .... Pass any one of the two values as per your requirement ...
    RECON_ENABLE_OI_FLAG -  Flag to indicate whether to allow reconciliation of statement lines to open interface transactions, Y or N
    As per your requirement indicate Y or N ....
    RECON_OI_FLOAT_STATUS - Code to specify the float status for open interface transactions
    RECON_OI_CLEARED_STATUS  - Code to specify cleared status for open interface transactions
    I am not sure about the above two ...i.e. the values that needs to be passed ...
    Regards,
    Ivruksha

  • Required item no: to populate custom field while creating item for a Sales order

    Hello Experts,
    I have created a custom field for item data of sales order using AET .
    I want to populate this field automatically when ever we create a new item for a sales order using UI or CRMD_ORDER or WCEM by concatenation Sales order number and item number.
    We are getting Item GUID but not getting the item number(need item number before getting saved is their any chance to get item number from item GUID ) to populate the field and save it.
    For this we tried using BADI's
    CRM_BTX_EXTENSIONS
    CRM_ORDERADM_I_BADI
    Thanks in advance,
    Manasa Veena P.

    Where did you add the field ?

  • User exit/BADi to populate the header text in MIRO transaction

    Hi all,
    I am searching user exit or badi to populate the header text in MIRO transaction.
    My requirement is, before post the invoice I need to populate the some text in Header text field (MIRO -> Details tab -> header text field). I need to populate this field in the MM document as well as FI document (Accounting Document). I have tried all the user exits and BADi's related to MIRO/MRRL. Doesn't work. If anybody knows please share.
    Thanks,
    Santosh
    Edited by: Santosh Ghonasgi on May 13, 2010 4:48 PM

    Hello santosh,
    I am not sure whether a suitable exit / BADI exists to update the header text in MIRO directly.
    there is one related forum:
    User exit/BADi to change the header text in MIRO transaction
    Hope, it may helpful for you to proceed with some other parallel solution.
    Regards,
    Selva K.
    Edited by: Selvakumar Krishnan on May 13, 2010 5:29 PM

  • Auto-populate form fields based on end user input?

    I'm currently attempting to create a new form that has a combo box "Locations" with various options.  What I'm looking to do is have another text field auto populate other fields related to that location (such as address, contact information) to save on time and reduce opportunity for end user errors in input.
    What are my options for accomplishing such a task?  Some form of binding fields with a MS database possibly?
    Thanks in advance for any advice and assistance on this matter!

    Paul,
    The form and (potential) database would be located on a shared drive on the company network in which those that would use the form already have access to.
    The pc's that user's would be using have Reader 9.
    The pc I'm using for developing this form has LC Designer 8, Acrobat Professional 8, and Reader 9.
    Ideally, I would "like" for the end user to have the ability to add new locations, addresses, etc ... in the event it is needed, although this would not be likely to come up.
    Based on the software I have on hand, and the need to not incur additional expenses, what would you suggest?
    Thanks again Paul!

  • How do you populate location's metadata?

    I'm just looking after ideas or your solutions on how to populate Country, State and City metadata. We all know what those terms mean, but it's sometimes difficult to populate them... and I don like to have them as "Unknown". For example:
    I make one-day visit to some small place in Italy, about 30km outside nearest town, where the photo is actually taken on the hills nearby.
    So, all I have for sure is Country=Italy.
    I could enter State as Province (Italy has more than hundred of them), but that would require quite a lot research to findout which place belong to which province -especially if visiting some foreign country (think of Asian states provinces).
    OK, I'll leave all State/Province blank too (thus "Unknown).
    Now about City: as said, nearest is about 30km away from shooting location and I actually never been there. Does/would that city count in your usage?
    Should I leave City blank too? Well, I'll have a lot "unknown" places then. And IMO it doesn't make sense I write City="Bruno's farm" (should be used for Location tag though).
    How do you deal with these?
    Thanks for ideas,
    Bogdan

    I have a two part answer:
    1. Where I do have records of the location, even if it requires research, I fill out as much as I have. Country and State/Provence/Whatever are usually easy to reconstruct. I use the nearest city unless I'm in a Wildlife Refuge, Park, Reserve, et. Then I use that for City.
    I also create a keyword hierarchy which mirrors this, since LR won't automatically do this for me.
    2. Going forward I now shoot with a GPS on my D2X and will know exactly where I was. Perhaps there will be some easy lookup feature to populate the location fields from this one day. Until then, I'll just pop out to Google maps in LR and see where I was (if I can't remember).
    I know it sounds like I forget where I am a lot. The reality is that I go on multiweek shoots and cover a lot of ground before returning home. That was the motivator for the GPS, just tired of trying to remember which part of the jungle I was in for a given pic.

  • BADI to populate Asset Master Class valu in Account Assignment Item Detail?

    Hi All,
    In Shopping Cart  - COST ASSIGNMENT - Account Assignment Item Details   Tab 
    we have
    Create New Asset Master Record    section  and the field
    Choose an Asset Master Class 
    I need to populate this field (Choose an Asset Master Class) with my own value.
    What BADI I can use to populate value on this field? Any ideas?
    Thanks in advance.

    Hi,
    As i told you there is no badi to do this.
    1-What you can do is to create a CUF in the accounting tab to store your asset category.
    You will then have to
    2- hide the standard field but let the standard populate it with a default value from the org structure
    3- add in the SRM iMG the cuf field for the accounting data.
    4- code bbp_doc_change_badi to populate your CUF field
    5- code bbp_driver_determine in order to call the FM to create the asset
    6- create 1 FM in ECC to create the asset (copy of bapi_fixedasset_create1)
    Hope this helps,
    Kind regards,
    Yann
    Edited by: Yann Bouillut on Apr 15, 2009 5:23 PM

  • Some solution like BADI to populate Authorization Group in BP Transaction

    Hello All,
    Well, scenario is to populate the screen-field Authorization group BUT000-AUGRP that could be found in Control Tab under box 'Control Parameters' based on provided BP number that bears a logic based on some country validation.
    Please help me find some solution for eg: like a BADI that triggers to populate the field Authorization Group.
    Or some function module that could be considering the input of the BP number and Authorization group and after its execution, when the BP number is checked in T.code BP we should be able to find the value visible in Authorization Group screen-field.
    Just by providing BP number the field Authorization group needs to get populated automatically, as in for both Create and Change mode cases in BP transaction code.
    Appreciate your expertise to provide an answer at the earliest.

    Hi
    Please help me any one I am now having the same task to do so

  • On iprocurement page..How to populate task field dependent on Project lov field value which Project type is "Capital Project Type"

    Hi,
    I have an requirement on Iprocurement page where in i have to populate task field as CAPL in case my project field contains the project which is of type 'Capital Project Type'.
    Please suggest how can we implement this.
    Thanks,
    Abhishek

    try these links:
    http://sharepoint.stackexchange.com/questions/103682/autopopulate-form-fields-based-on-selection-in-people-picker-column-using-javasc
    http://sharepoint.stackexchange.com/questions/80261/people-picker-not-getting-populated-in-the-sharepoint-site
    http://blogs.technet.com/b/anneste/archive/2011/11/02/how-to-create-an-infopath-form-to-auto-populate-data-in-sharepoint-2010.aspx

  • How to populate text fields with data present in a table

    Hi,
    The page i'm building has got a select list for the primary key column and text fields corresponding to rest of the columns in the table.
    upon selecting some value from the list, the data corresponding to that row should get populated in the respective items. I don't want to add source in each item. can't i create a process or something else where this is done for each item.
    for eg there's a table with columns A(primary key) and B.
    there is a text fields on this page.
    this textfield should populate the data from the table whenever i submit the page such that teh value in B is select B from tablename where A = the selected value.
    Thanks
    Dhirendra

    So I assume page was not built using a wizard. Why on earth you would want to I dont know, but you could create an "After Header" pl/sql process to populate the relevant fields, assuming the id was know on entry to the page. If you want to select the id on the page and then populate the fields, guess you will need to use a "Text Field (always submits page when Enter pressed)" and then use an "On Submit" process to populate the items.
    If you are using an Automated Row Fetch, remember to select "Set memory Cache on Fetch" in that process.
    Hope this helps.

  • MB5B - Stock on posting date doesn't show Storage Location field

    Hi All,
    I run report MB5B - Stock on posting date with Stock Types = Storage Loc/Batch Stock, but the report doesn't show
    Storage Location field in result.
    How can I see it in this report?
    Thank you very much for your kind support!
    Cao Huy.

    hi
    what i think i sthis report is only for the OPENINGand CLOSING stock for the period or day
    now whenu give SL field then system will only concider stock from that SL
    the filed of SL will not be viewable in report as it is just opening and closing balance
    regards
    kunal

Maybe you are looking for

  • How to make jar files at runtime in a server application

    I am using Jung API and i need to load the class files in this JAR file for my application at runtime. I am using an applet which uses this API which is loaded with the help of a Servlet. The code is getting compiled but the JAR files and associated

  • ORA-00979: not a GROUP BY expression on different oracle version

    Hi, I tried below sql on different database and I'm having a strange result. error is ORA-00979: not a GROUP BY expression SELECT COUNT(*) OVER() CNT, COUNT(member_id) AS cnt2, etoc_type, journal_id, volume_id, issue_id, current_registered_users, dat

  • Wifi vs. wifi + 3G

    i'm trying to decide if i want to pay the extra $130 or so on the 3G option. my mother has just the wifi ipad and has a hard time connecting when she is out of the house (unless she's at the apple store). i had heard that apple was having trouble hol

  • Quicktime movie with 3 audio tracks. Can't select audio track!

    I have a movie containing 3 audio tracks (3 different languages): Format: H.264, 720x304, 16,7 Mio AAC, Stereo (L R), 48.000 kHz AAC, Stereo (L R), 48.000 kHz AAC, Stereo (L R), 48.000 kHz When I play this movie with Apple Quicktime I hear a mix of a

  • Trying to import mov file to elements 9 project.

    Hi, Trying to import mov file but getting error - codec missing or unavailable.. How to load the codec? Brian