Fill exit-field with BAPI

Hi,
I need to fill a exit field in the header of invoice FB60  " INVFO-ZLSPR" ( bloc payement )
using BAPI   "BAPI_ACC_INVOICE_RECEIPT_POST "
Can any one send me exemple of code?
best regards.

i think that INVFO-ZLSPR  is not a exit field  but i d'not find  in th parameters of  BAPI  BAPI_ACC_INVOICE_REceipt_post
Where can i find this field  .?

Similar Messages

  • Extension fields with bapi 'BAPISORDER_GETDETAILEDLIST'

    Hello,
    I want to get values of extensions fields of vbap with bapi 'BAPISORDER_GETDETAILEDLIST'.
    Is there anyone know how to do that? How to fill extensionout table?
    Thanks.

    Hi
    I haven't that BAPI on my release (4.6C), but I suppose the parameter extensionout is like BAPIPAREX.
    The structures for extensions are:
    - BAPE_VBAK: for header
    - BAPE_VBAP: for item
    - BAPE_VBEP: for scheduls
    So BAPE_VBAP is yours.
    The system dosen't move all Z-FIELD from VBAP to BAPE_VBAP, but only fields are in structure VBAPKOZ.
    So you should insert your Z-FIELD of VBAP into VBAPKOZ.
    After I suppose the system automatically fill extensionout and so:
    LOOP AT extensionout.
    CASE extensionout-STRUCTURE.
    WHEN 'BAPE_VBAK'.
    MOVE extensionout TO BAPE_VBAK.
    WHEN 'BAPE_VBAP'.
    MOVE extensionout TO BAPE_VBAP.
    Here you can read the z-field and assign them to their *item:
      READ TABLE T_VBAP WITH KEY VBELN = BAPE_VBAP-VBELN
                                 POSNR = BAPE_VBAP-POSNR.
    WHEN 'BAPE_VBEP'.
    MOVE extensionout TO BAPE_VBEP.
    ENDCASE.
    ENDLOOP.
    Max

  • How to fill a field with after changing another field in a multi form?

    Hi,
    I have multi occurence form in which multiple record are showeds and/or added.
    One field is a dropdown field, after filling this field (selecting a value in the dropdown), another field needs to filled with the selected value.
    My problem is that only the first occurence is filled with the value of the selected dropdown, even when filling the dropdown field in one of the other occurences.
    I tried point to the other occurences but this was not succesfull
    See script
    So when a sparepart is selected from the dropdown sparepart, the field defectpart must be filled the selected sparepart, when I have multi forms (occurences) only the first occurence defect part gets filled with the selected parts, even when a sparepart from another occurence is selected.
    data.p1.spare_parts.spare_parts::change: - (JavaScript, client) -
    p1.spare_parts.DefectPart.rawValue =  xfa.event.newText;
    Can anyone help to solve this problem
    Thanks
    Christophe Van Mechelen

    hi,
    Your code is right, i dont know why its not working,
    try this,
    dropdown field in change event,
    var c = xfa.host.newtext
    textfield1.rawValue = c;
    (or)
    textfield1.rawValue = xfa.event.newText;
    by
    Parthi

  • I have a PDF form that I want to pre-fill multiple fields with example text that disappears onFocus. Is there a way to do this?

    Pretty much what my subject line says. My client wants example text in the fields of a PDF form that will disappear when the cursor enters the field. When I try this with show/hide layers, the layer becomes visible as soon as I enter form editing mode, and the action doesn't work properly. Any help? I was able to get it to work with a single field, but multiple fields with example text on multiple layers doesn't work for some reason.
    Thanks for any help.

    Hi Jeffrey ,
    You need to use a custom Format script for the field.
    Regards
    Sukrit Dhingra

  • Fill hidden field with xml - Web service call

    Hi everyone,
    I have a developed a web service, my web service method expects an xml string.
    I have a new data connection, which is my wsdl file...
    Now my challenge is how do I populate that field with my form's xml,so that my my method can manupulate it.
    Secondly, I would like the same button that calls my web service to email the form once the web service has been called, email the form as PDF.
    Will really appreciate your assistance.
    Ace

    You can use the below command to populate a field with the form's XML.
         FieldName.rawValue = xfa.data.saveXML("pretty");
    To execute the webservice and then send an email,
         1. First place Execute button binding to the Webservice and make it either invisible/ hidden
         2. Place a normal button on the form and in the click event write code to call the webservice and then send the email.
              //Call the webservice button click event
              WebserviceExecuteButton.execEvent("click");
              //Send an email
              event.target.submitForm({cURL:"mailto:"+ strToAddress + "?subject=" + strSubject + "&body=" + strMessage,cSubmitAs:"PDF",cCharset:"utf-8"});
         Replace the names with the variables in your form in the above line.
    Thanks
    Srini

  • EBS - fill assignment field with bank reference

    Hi,
    We are trying to fill the bank reference for incoming payments in the assignment field for the GL postings. For the 2 banks it is working fine, since they send it in 88 record and we have defined search string to fill in assignment field. We use BAI2 format
    But for 1 bank, the bank reference is sent in 16 record, and search string does not work for 16 record. But i do see the bank reference filled in FEBEP-VGREF.
    With userexit i can probably populate this in the assignment field but is it possible using standard algorithm?

    Also check note 1409628.
    Unfortunately Algorithm 015 is limited to a 13 character reference.
    Note 1409628
    There are dependencies (if you
    use algorithm 015) between the fields FEBEP-/(BSEG-)ZUONR, FEBEP-CHECT
    and FEBEP-/(BSEG-)SGTXT.
    The behavior should be as follows:
    If you enter only a check number the result will be stored in
    FEBEP-CHECT. The algorithm 015 will move this content also to
    FEBEP-ZUONR and creates a record in table FEBCL with this value.
    Later in the program flow the report RFEBBU00 fills SGTXT with
    this value.
    Since FEBEP-CHECT has only 13 charactes, ZUONR is truncated.
    The search string works if you need to remove undesired characters
    from FEBEP-CHECT, but the lenght will always be 13.
    The Note 1409628 doesn't enchange the field, but instead it uses ZUONR
    for the search.
    So in your case I suggest you to use exit 1 FEB00001 as per note 494777.
    Then you can move all 16 characters which are available in FEBRE to
    field FEBCL-SELVON
    You need to program the exit with a LOOP in FEBRE, then move the
    content to FEBCL.
    Kind Regards,
    Fernando Evangelista

  • Filling dependent field with language dependent

    Hello Expects,
    In backend(DB), I have function like, if I select number, its corresponding description filing automatically and also selecting record based on login language. Same function I need on UI.
    For your information : Fields are created by EEW and current UI is 7.0
    As of now, from DB properties, I am getting F4 value help, but its description is not filling and itu2019s not language dependent.
    Hear I want; description should be filled automatically when I select value from f4 help.
    In F4, it should show only language dependent data. I.e. login language values.
    How to change F4 fucntion to dropdown function.
    When I implement Get_V and calling DB search help, I could see values in language dependent, but when I select, itu2019s not selecting.
    Kindly suggest, it will be great helpful.
    Shakeer

    Hi,
    click F2 on your description field and F4 help to find out component and view.
    With this information go to transaction BSP_WD_CMPWB.
    Here go the your attribute and contextnode. Set a breakpoint in the SET_* Method.
    If required you could redefine this method.
    Our if it is a bug in SAP standard you could raise an OSS message.
    Kind regards
    Manfred

  • Saving RAW field with BAPI in extensionin

    Hi,
    I have a web dynpro application where I have a function module which returns a field named ROLE_GUID of type raw (byte[] in java). I need to save this field in table CATSDB using bapi BAPI_CATIMESHEETMGR_INSERT, the parameter is to be passed to he function as part of the EXTENSION_IN parameter using structure BAPT_TE_CATSDB. 
    What I understand is that parameters are to be passed to extension_in as fixed length strings.
    My question is:
    - How do I convert the raw value to a string that I can put in extension_in ?
    Thanks,
    Diego

    Hi diego. How did you relate CATSRECORDS_IN and EXTENSIONIN, Could you provide some code snippet. I would really appreciate it

  • Filling a field with different values depends on the country by value help

    dear experts,
                          Could any body help me out ?
    i do have a requirement that in the Screen, iam having a field say Tshirt size, which have to be populated differntly according to the country in the value help. how can i do that.
    iam mentioning what i have done:
    1. defined field and selected From Dictionary Attribute in the screen.
    2.maintained
    Field ztab-fieldname  in the chain endchain.
    please do the needful as hoe come the filedname is populated with value help for different countries?
    Edited by: Murthy Ganti on Dec 17, 2008 12:00 PM

    Hi Murty,
    You need to create a View on the different field set which might be composed across different Tables. Once the view is created you need to create a Search Help using that View by selecting the fields that will come in the Help. Below is the step by step Documentation for the Search Help Creation.
    Link 1
    http://help.sap.com/saphelp_nw04/helpdata/EN/cf/21ee2b446011d189700000e8322d00/content.htm
    Link 2
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm
    But after going through your statement, I have one concern. As you mentioned that you don't have any access for the calling FM in a Report Program, then I doubt whether you will have authorization for the Data Dictionary Object creation also. Just check the Roles and Authorization assigned to your user. You need the S_DEVELOP Authorization Object for any new create.
    Hope this helps.
    Thanks,
    Samantak

  • Exit to Fill Assignment Field in Good Issue Accounting Document

    Dear,
    I would like to fill assignment field with eqipment number when post good issue via VT01N (shipment).
    What exit that i should use for that purpose?.
    Thank you

    Hello,
    I am not aware of any exits which can do this for you. Did you try substitution for your requirement ? Also there is a possibility to use the field XREF3 to get the desired result.
    I hope the above hints help to resolve the issue.
    Thanks and regards,
    Suresh Jayanthi.

  • Message Mapping, filling field with 0 (zeros) on left

    I need to fill a field with values that has variable lenght adding 0 (zeros) on the left, how can I do it ?
    I'm using the LENGHT in message mapping, with value returned by LENGHT I use FIXVALUES to map the quantity of 0 (zeros) that I need to add in the field.
    Somebody can help me with this problem ?
    Thank's.

    Hi Regis,
    You can use the Arithmetic:FormatNum built-in function for this.
    If you want to left-pad the number with zeros so that the length is always 10, then specify 10 zeros for the format, 0000000000.
    This function takes formats based on java.text.DecimalFormat so you can see all of the possibilities at:
    java.sun.com/j2se/1.4.2/docs/api/java/text/DecimalFormat.html
    Thanks,
    Jesse

  • User Exit, Field Exit

    Hi Folks.
    I have a question about user exit, or field exit. The question is that if is possible to fill a field with a value, depending on a value entered by the user within the same transaction.
    Thanks for your help.
    Regards,
    Gilberto Li

    The field Exit have only INPUT and OUTPUT, but u can validate using another values.
    U can:
    <b>1- Use the values in that Screen ( Using function GET_DYNP_VALUE)</b>
    example:
    DATA: l_vkorg TYPE STRING.
    CALL FUNCTION 'GET_DYNP_VALUE'
      EXPORTING
        I_FIELD             = 'RMMG1-VKORG'
        I_REPID             = 'SAPLMGD1'
        I_DYNNR             = '1004'
      CHANGING
        O_VALUE             = l_vkorg.
    <b>2- Use Parametes ID:</b>
    example:
    DATAL l_matnr TYPE MARA-Matnr.
    GET PARAMETER ID 'MAT' FIELD l_matnr
    <b>3- Get Data from tables using SELECT with any of the values that u can get in options 1 or 2.</b>
    Example:
    DATA:
          l_matnr TYPE MARA-matnr,
          l_mtart TYPE MARA-mtart.
    IF INPUT is INITIAL.
      GET PARAMETER ID 'MAT' FIELD l_matnr.
      SELECT SINGLE MTART
             INTO l_mtart
             FROM MARA
             WHERE MATNR = l_matnr.
    Now I have the value l_mtart to validate.
    IF l_mtart = 'Z001'
    ENDIF.
    Greetings

  • In sm30, when save, how to fill the table with the system data in the table

    Hi all, in SM30, we have user name and time fields, when we create record, after we click the SAVE button, it will automatically fill the fields with the system data, how can we realize it?

    Hi ,
    Do like this.
    1. Go to SE11 -> give your table name and press on change button .
    2.Go to Menu->Utilities-> Table Maintainance Generator , then it will take you another screen .
    3.Assign Functin group if already have one , other wise create function group and assign
    4.Go to Menu->Environment->Modification->Events , again it will take you to another screen
    5.Click on new entries
    ->Now press F4 in T column . Select<u> "01" - Before saving the data in the database</u> and in form routinue give any name of the routinue like "SAVE_USER_DATA" and press enter then u can see an editor symbol in next column click on that it will take you ABAP editor there type this code .
    ztable-username = sy-uname.
    ztable-createtime = sy-uziet.
    check and activate the code .
    With this your job will be complete . Now while entering data just leave columns blank , they will insert corresponding username and time
    Don't forget award points if it helps you.
    Regards,
    Raghav

  • Problem with bapi to create purchase requisition

    I got a requirement that to upload details of procurement into Z table with a temporary PR. Could u please suggest the procedure or bapi to upload datainto Z table.
    Regards

    Hi all
    For above requirement i am suppose to develop a FM which upload the data from front end to DB. Forthat I am taking following steps is it ok or not suggest me.
    1.call function module bapi_pr_create
    2.fill local structure with bapi structure if PR number is created.
    3.update data into Z table
    Regards

  • Fill transaction fields automatically through code

    Hi Gurus,
    Every time we create a material we have to extend it in all plants and in all storage location of every plant.
    The steps that we are using are: We first create the material to a plant and a storage location using transaction
    MM01. Then we use transaction mm17 and we extend the materials in all plants automatically.
    Then we use transaction MMSC to extend material to every storage location. We enter the material code, the plant code and after hitting enter we fill the fields with the storage locations of the plant where we want to extend material to. We have 9 plants and 3 storage location on every plant, so we do this procedure (mmsc) 9 x 3 = 27 times.
    Is there a way to write code to fill automatically the fields in MMSC transcaction from a file so that can automate the procedure? Any Ideas how to start?
    Thank you in advance

    Hi!
    Here's an example of this stuff, 100% working, but of course you have to change the BDC part for your code...
    REFRESH: gt_bdcdata.
          PERFORM bdc_dynpro      USING 'ZMFI_AA_KTGH' '9502'.
          PERFORM bdc_field       USING 'BDC_OKCODE' '=ENTER'.
          PERFORM bdc_field       USING 'ANLZ-KOSTL' gs_change_asset-kostl.
          PERFORM bdc_field       USING 'ANLZ-ADATU' gs_change_asset-bdatu.
          PERFORM bdc_field       USING 'ANLZ-PERNR' gs_change_asset-pernr.
          PERFORM bdc_field       USING 'ANLZ-STADT' gs_change_asset-stadt.
          PERFORM bdc_field       USING 'ANLZ-XSTIL' gs_change_asset-xstil.
          PERFORM bdc_field       USING 'ANLZ-RAUMN' gs_change_asset-raumn.
          PERFORM bdc_dynpro      USING 'ZMFI_AA_KTGH' '9502'.
          PERFORM bdc_field       USING 'BDC_OKCODE' 'DUMMY_OK_CODE'.
          MOVE 'E' TO lv_mode.
          CALL TRANSACTION 'ZMFIAA_MOD' USING gt_bdcdata
                                             MODE lv_mode.
    It is very important to give a 'DUMMY_OK_CODE' where you wanted to stop the processing. It is because the dummy ok code will cause a BDC error and the process will stop there and you'll get back the control.
    Regards
    Tamá

Maybe you are looking for

  • Ipod not being recognised by itunes

    hey guys basically ive had my third gen ipod for over a year and have over 1500 songs on it last night i updated my ipod software and itunes and now when i attatch my ipod to the computer the computer will pick it up but itunes will not recognise my

  • DMS Document Type - Repository

    Hi Experts, Need a help. Is this possible to link DMS document type (created with help of DC20) with dedicated content repository (OAC0)? Regards Adam

  • USB card reader working, but not showing up in removable media... why?

    For some reason lately, my USB mounts, but doesn't show up in the Finder left-hand area with the other removable media, such as DVDs. I have to access it via My Computer, where it does show up. And I have to eject it in Disk Utility. It does show up

  • How to make xmlType query faster..

    Hello, How do I make queries with extract in where clause faster. I do have a function based index on my xml_data column but even then the query takes a long time to execute. CREATE INDEX merch_id_idx ON xmltest (xml_data.extract('//MERCHANT_ID/text(

  • How do I play games ?

    What games can I play here ?