BAPI structure in ALE

Hi,
I am not aware of the ALE idocs using BAPI.I checked the segments in the std idoc ACC_ACT_ALLOC (Accounting: Post activity allocation) , i saw the segment E1BPDOCHDRP and its description is showing as Document header: post act. alloc. - BAPI's actual postings   BAPIDOCHDRP.
How can I find the BAPI for this idoc which generates the idoc? Is BAPIDOCHDRP is the BAPI? When I checked the same through SE37 i found that its not existing.
Please let me know.
Regards,
Soumya.

Hi Soumya,
I am sending u some website details frm which u can get some data which might be useful to u,....
help.sap.com/saphelp_nw04/helpdata/en/78/21740f51ce11d189570000e829fbbd/content.htm
www.erphome.net/pdf/tech/J07.pdf
www.sap-img.com/abap/ale-bapi.htm
Regards,
Sana.
Reward if helpful...

Similar Messages

  • DDIF Function Module for getting the description of a BAPI structure

    Hi,
    I need to find a function module that returns the description of a structure...well a BAPI structure, not that that makes any difference.
    The DDIF_ function modules I've tried will all return the descriptions of data elements in tables, but not structures.
    Thanks,
    Tristan

    Check FM : CACS_DBNAME2TABNAME

  • Problem in Transporting a BAPI structure

    How to transport the extended BAPI structure from D system to Q system.
    BAPI structure is extended by appending a new structure with two fields in Development system. I want to transport it to Q. But there is no transport request for this change. Since i have not done this change i dont know wat has to be done.
    Thank you in advance.
    Regards,
    Umasankar.

    Hi,
    You can use standard program RSWBO052 to change development class.
    In the  line : R3TR FUGR Function Group
    1)check the box
    3)insert the function gruop name
    4)Press F8 or Execute
    5) double click and change the class
    Regards,
    Sooness

  • Assign values to bapi structure dynamically

    Hi,
    I have to use the BAPI, BAPI_MATERIAL_SAVEDATA to extend the material to different plant specific views. I have to use the structure BAPI_MARC and other structures in order to do this. But the values to be passed to the structure BAPI_MARC are not fixed. These values will be maintained in a custom table against the structure name and field name for a particular plant.
    In the program I have to extract the structure name and field name for a corresponding plant from custom table and fill the corresponding value in BAPI structure BAPI_MARC.
    Now, internal table in the program is having these details.
    How can I fill the bapi structure BAPI_MARC based on this information.
    For example, if in custom table, value 0001 is maintained against the field PUR_GROUP, I have to fill the field PUR_GROUP in strcutre BAPI_MARC with 0001.
    Hope I am clear in explaining the problem. Please let me know how to aciheve this?
    Best Regards,
    Kumar.

    Hi,
    I have tried to implement that in a sample program first. Please have a look at the code below.
    DATA: BEGIN OF line,
            col1 TYPE i,
            col2 TYPE i,
            col3 TYPE i,
          END OF line.
    DATA comp(4) TYPE c VALUE 'COL3'.
    FIELD-SYMBOLS: <f1> TYPE ANY, <f3> TYPE ANY.
    ASSIGN line TO <f1>.
    ASSIGN COMPONENT comp OF STRUCTURE <f1> TO <f3>.
    IF <f3> IS ASSIGNED.
    ENDIF.
    I checked in the debugging mode and the value of <f3> in debugging mode is 0, but not line-col3.
    Best Regards,
    Kumar

  • BAPI,BADI ,BDC,ALE ,IDOC,USER EXIT,VALIDATION AND SMART FORMS.

    Dear Experts,
    I am pretty new in BAPI,BADI ,BDC,ALE ,IDOC,USER EXIT,VALIDATION AND SMART FORMS.
    Pls let me know for these topics shall i put the question in this community or should i put in any other form. Pl suggest me .
    Regards
    Shivas

    Plz SEARCH in SCN before posting ,you will get lot of posts .
    Don't use all caps in the subject line

  • Can BAPI Structure be used to generate Proxy?

    Hi @ ,
    I want to generate the proxy for a BAPI that i have imported the BAPI already.I don't want to use RFC but proxy based upon the BAPI structure.
    REgards,

    Hi
    check this thread
    Re: BAPI or Proxies

  • Import XSD from BAPI structure

    Hi all,
    I have a problem when export XSD scchema from BAPI structure and use this schema to create a data type using import XSD schema. The error is following displayed:
    Schema to be handled does not contain a definition of type BAPI_SALESORDER_CREATEFROMDAT2.
    Any idea?????
    Thanks in advance,
              Michele Lazzarato

    Hi Stephan,
    I have created an Abap Proxy and the error message in English as follow:
    Message Interface prova   http://xtel.com/xi/Sales Order references RFC  
    Message BAPI_SALESORDER_CREAT EFROMDAT2   urn:sap-                       
    com:document:sap:rfc:functions    BAPI_SALESORDER_CREATEFROMDAT2.Response
    and the                                                                               
    Message no. SPRX000                                                                               
    Thanks,
                Michele.

  • Upload IBase = IS-U: incorrect BAPI structure transferred

    Hi
    We are trying to integrate CRM 5.0 and ISu 4.72 System. Now when we are creating a Connection object in CRM. During replication in BDocs we are getting an error "Upload IBase => IS-U: incorrect BAPI structure transferred".
    I have feeling that it is related to parameter definition in MDT. But since I have never worked on this area, I don't know what should be the correct entry.
    Please help me in resolving this.
    Thanx in advance.
    Cheers
    Hits

    Hi Hitesh,
    Connection objects and points of delivery in CRM are stored as components in an IBase (Installed Base) of the category IU(technical objects for SAP IS-U).
    The following conditions apply for an IBase from the category IU.
           1.      The first component of an IBase is always a connection object.
           2.      An IBase only has one connection object.
           3.      0 .. n points of delivery can be allocated to a connection object.
           4.      Apart from the relationship between connection object ¬ point of delivery, there are no other relationships in the hierarchy.
    These conditions mean that the IBase contains a maximum of two hierarchy levels. The first level consists of a connection object, the second consists of 0 .. n points of delivery. IBases with a different structure are not valid IS-U IBases and cause errors during the upload.
    hope this will help you.

  • Need for separate BAPI Structure for import parameters

    Hi All,
    I have a doubt regarding the logic behind declaring a separate BAPI structure for import paramters and use it.
    Let me explain you clearly,
    Whenever we pass an import parameter(like vendor number/sales order number) to an normal function module we declare it using either like/type referring to an existing dictionary structure field. but when the number of import parameters increase we may think of creating a single structure with all and use it for simplicity.
    But when it is the case with a BAPI, it is suggested that we create a structure even when we have single import parameter.
    for example.
    supposing that we create a normal function module to get the details of a given Vendor, then we declare the import parameter as below
    VENDORNO LIKE LFA1-LIFNR
    But <b>if we observe the BAPI_VENDOR_DISPLAY, We find that declaration for the same as
    VENDORNO like BAPIVENDOR_ID-VENDOR_NO,
    where BAPIVENDOR_ID is a separate BAPI sturcture created and assocaited only with Business object "Vendor".</b>
    I tried it by declaring as for a normal FM, even then it work fine.
    Now my question is,
    If SAP Suggests that we have a separate structure for all import parameters starting with name BAPI and use only those fields to reference with,
    what is the logic/reason behind asking so.
    I had created a BAPI with paramters referring to standard database fields like
    VENDORNO like LFA1-LIFNR and it is still working
    <b>I had also written interface programs using VB/ .NET to access the data from my own BAPI and standard BAPI's and both were working alike.</b>
    so anyone <b>please give me the reason/logic behind declaring a separate BAPI stuture for all the import parameters to be used in a method</b>.
    Thanks in advance,
    Lakshmi

    I would say that it really comes down to simplicity.   Think of it this way,  you are not an ABAPer, you must right a VB or a java program to call this BAPI from outside the system, you know nothing about R/3 or its data structures/tables.    Now that said,  think of what it would be like if all of the fields in the BAPI signature were like we find in the standard tables,  LIFNR, etc.  What is LIFNR, right?    Since we are ABAPers we know that it is Vendor, but for others,  they may not know.  This is why you will find the signature of a BAPI very descriptive, notice that all of the fields describe the field in english.  This is good for non-ABAPers.   To organize all of these fields that may be used in the BAPI interface,  it is good to put all of them in one defined structure,   that way they are all in one place, and can be referenced as such.    Again,  BAPIs are designed to be used by ABAPers and non-ABAPers, so simplicity is important.
    Regards,
    Rich Heilman

  • BAPI-structure: invalid change message while changing structure field lengh

    Hi Experts,
      I've one structure which is used in many BAPIs.
      I want to change the field lengh of one of the field in the structure.
      When I'm activating it,  it is giving me message BAPI-structure: invalid change.
    Can you help me on this issue ?
    Naimish.

    Look at [BAPI Programming Guide (CA-BFA)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf]
    If your BAPI is released, you wont be allowed to change the structure, so you should un-release the BAPI, BOR and FM before updating the structure parameter.
    Regards

  • BAPI Structure ( very Urgent)

    Hi,
    BAPI Structure for Comments on Address Segment is E101BAPIAD_REM. I don’t know structure Please help me as soon as possible.

    Hi,
      this will help full to u.
    *structure for E101BAPIAD_REM *
    APPL_SNAME : Structure Name, No Business Significance
    internal data type : CHAR
    Internal length : 000030 characters
    Position in segment : 001, Offset : 0063. external length : 000030
    ADDR_VERS : International address version ID
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 002, Offset : 0093. external length : 000001
    LANGU : Language Key
    internal data type : LANG
    Internal length : 000001 characters
    Position in segment : 003, Offset : 0094. external length : 000001
    LANGU_ISO : Language according to ISO 639
    internal data type : CHAR
    Internal length : 000002 characters
    Position in segment : 004, Offset : 0095. external length : 000002
    ADR_NOTES : Address notes
    internal data type : CHAR
    Internal length : 000050 characters
    Position in segment : 005, Offset : 0097. external length : 000050
    ERRORFLAG : Flag: Record not processed
    internal data type : CHAR
    Internal length : 000001 characters
    Position in segment : 006, Offset : 0147. external length : 000001

  • BAPI structure as TYPE?

    In case of coding a RFC shall I have to always use BAPI structure as TYPE?  or I can use other things also. Please let me know.
    Regards,
    Subho

    Hi
    To the best of my knowledge you can use any dictionary type structures for more info take F1 help. or Take F1 help on
    CALL FUNCTION key word.
    go to SE84 and select the Radio Button of RFC and execute you can find many RFC function Modules, Check their Import Parameters
    All the Imprort Parameters must be PASS BY VALUE only.
    For more info you can search Forums or Web
    Cheers
    Ram

  • Changes in ECC50 BAPI Structures

    Hi,
    I am working in upgrade project (46C to ECC50), I would like to know what are the BAPIs changed like structures added to BAPI or deleted some of the fields or added some of the fields in the structures.
    Please let me know if any SAP tool or good way to find differences.
    Thanks,
    Kiran.

    Ernest,
    Choose Tools --> Options --> Compiler.
    In Data Service Retrieval combo box
    choose Donot cache data service get latest.
    Log off from your model.
    log on again and goto the context menu of your bapi.
    then choose Define data Service your import parameters should appear now.
    Regards,
    Ahmed Salah
    Please reward points if this is helpful

  • Delete Bapi Structure of a SyncBo

    Hi, i need to delete a structure (040) of a SyncBo, i did this by the next code:
    SyncBo syncBo = getSyncBoInstance("Y01_ORD_TR", topSyncKey);
    SyncBoDescriptor sbd = syncBo.getSyncBoDescriptor();
    RowDescriptor trd = sbd.getRowDescriptor("040");
    Row row = syncBo.getRow(trd,syncKeyToDelete);
    syncBo.deleteRow(row);
    With this code appears in the merep_mon a "M" message for the TOP structure, and for the 040 structure a "D" message, but it doesn't call to the Bapi "Delete", what can i do to the Bapi Delete is executed ?
    Thanks.

    Hi,
    if you send M and D , then form client side it is okay I think.
    Why do you say the delete is not called? Is the information still on the device? What is the state of the BO? And have you inserted a LOG writer into the Backend BADI for delete - so you see what happens there? DEBUG of that remote stuff is nbot really possible or very tricky in MI - i know. But I think the problem is not the code you mentioned, because the m and the D method are the thing we expect.
    Either the GETDETAIL handler still gives that information down. What is the type of the BO? Perhaps you have an Add for that item with one of the next syncs, because the information is still on the MW?
    - please check the sync state of the item
    - what information is send down to the client for that item?
    - can you implement a logging for the delete and confirm that it is really not called (I think it is called)
    Hope this helps to get any further.
    Regards,
    Oliver

  • Error executing BAPI attached to ALE Distribution Model

    Hi experts,
    I am executing BAPI_EXCHANGERATE_SAVEREPLICA which has been included in an ALE distribution model as I wish to replicate exchange rates from my source client to a number of remote clients.
    When I execute the BAPI I get an information message back in the bapi return code as follows "one table record planned for update". Does anyone know what this means? I would have expected idocs to have been created and sent across to the target clients and for the BAPI to have been executed in the target system but nothing has happened. I have released the method (BAPI) and tried various options on the partner profile but still get the same message returned when I call the BAPI.
    Any help on executing this BAPI via ALE would be much appreciated.
    Thanks
    Adrian

    This is information message that informs you that the selected row may be updated. Then when you call BAPI_TRANSACTION_COMMIT the rows will be updated.

Maybe you are looking for

  • Error: NDMP operation failed due to media error

    I scheduled a RMAN backup job on oracle 11g EM and sometime it failed when running datafile backup.  The log showed the error come from media layer and did not specify detail message. We used secure backup to transfer data to tape. There are 4 tape d

  • Just a dummy question

    Please , help me get through the following: In the licensing manner do I need to be on Oracle Enterprise Edition to use the Tuning Pack? when you're on standard Edition? My answer is no. But my boss insist if I'm sure, that's why I need other eyes to

  • Getting public ip address for a lan

    hello is their a way to some how retrieve the public ip address of a lan? When i use the standard java get host method from a pc that's in a lan, all i get is the private lan ip address such has 192.x.x.x. this is useless to me if i want to make a co

  • Cross dissolve

    I am trying to make a simple video loop using a 30sec water ripple scene. I split and inverted the 2 halves so that the end/beginning would match but when I tried to cross dissolve the transition the video stops, the still frames cross dissolve then

  • Menue bar does not drop sometimes when in Safari Mountain Lion

    When in Safari on Mountain I have had a few occassions where the menue bar will not drop down to close Safari