Error while mapping BAPI wrappers.

Hi,
I have two SAP standard BAPIs (GetList & GetDetail) related with Inventory. When I assigned these BAPIs into my SyncBO and tried for mapping, I got an error "No import parameter refering to a filed of header structure exists in GetDetail BAPI Wrapper". How can I rectify this?
I have seen some previous threads in forum like this, but I didnt got it well.
Hope someone can give me better clarification regarding this & the constraints required for BAPI wrappers that can be used with a SyncBO. 
Regards
Shemim

Hi Shemim,
Kindly check the below article which explains about developing bapi wrappers with a sample syncbo.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/mobile/mobile%20infrastructure/mobile%20offline%20application%20development%20a%20complete%20guide%20using%20mobile%20infrastructure%20tools.pdf
This will give you a better picture, how a bapi should be developed.
Cheers,
Karthick

Similar Messages

  • Error while posting BAPI BAPI_PO_CREATE1

    Hello All,
    I am getting the following error while creating the purchase order through BAPI as
    No instance of object type PurchaseOrder has been created. External reference:
    Can somebody has the idea what exactly is the error.
    Thanks
    Jatender Narang

    Hi,
    This error means that the purchase order has not been created yet. Its a general error meaning that the instance of the object has not been created.
    Is this the only error which you get?
    Please check your return table.
    It will contain other errors too.
    Regards,
    Ankur Parab

  • Error while mapping two times nested table

    Hi,
    I have a Product table which has nested ProductSubcategory in it.
    ProductSubcategory nested table also has nested table ProductCategory inside it.
    So there is a nested table inside nested table.
    I designed a dimension on warehoue builder and while mapping, i got "ORA-22913: must specify table name for nested table column or attribute" error.
    I mapped nested tables before with using varray iterator and expand object, but they were nested once. Is there any solution for mapping two or more time nested tables?
    Now i exracted tables and i continuou working but, i wondered is there any way.
    Creation codes are below. Thanx :)
    CREATE TABLE PRODUCT
    (     PRODUCTID NUMBER NOT NULL ,
         ProductSubcategory ProductSubcategory,
         MODIFIEDDATE DATE NOT NULL)
    NESTED TABLE ProductSubcategory STORE AS ProductSubcategory_TABLE
    ( NESTED TABLE ProductCategoryId STORE AS ProductCategory_TABLE);
    CREATE TYPE TYPE_ProductSubcategory AS OBJECT (
         ProductSubcategoryID number ,
         ProductCategoryId ProductCategory ,
         Name Varchar(50) ,
         rowguid varchar2(100) ,
         ModifiedDate date );
    CREATE TYPE TYPE_ProductCategory AS OBJECT (
         ProductCategoryID number ,
         Name Varchar(50) ,
         rowguid varchar2(100) ,
         ModifiedDate date );

    Bharadwaj Hari wrote:
    Hi,
    I agree with u...I am not sure of the environment the user has so i put forth all the 3 option that crossed my mind that time....thats why i said he has to choose what best suits him/her...
    Also if the database is huge and we create physical temp tables (option 2 and ur idea) its like having redundant data in the database which is also a problem....So ist upto the user to actually evaluate the situation and come up with what best suits him/her...
    Regards
    BharathHi,
    I understand your opinion. But I am not sure that the user have enough experience to choose the best option by his one. And about the redundant data: because of this I wrote that he should truncate the tables after the last mapping which loads all data into the real target table.
    Regards,
    Detlef

  • Getting error while mapping fields btween DS and Data target IO

    Hi,
    I am getting error message "Rule(target field:0DEL_GR_WT): No source units assigned" while activating transfer rules btween Data source and Data target.
    Infoobject has got mapped with source field BRGEW.
    Even in the data source the field units are GEWEI
    In BI the units are 0unit_of_wt.
    Every thing seems to be fine,but while mapping fiellds in the transfermation i am getting above error

    Hi,
    I think u have to assign source unit in transformation .
    double click on that  particular filed and it will take you to other screen and there you have choose that field and have to  assign,
    if am wrong please ignore it.
    Thanks,
    Jack

  • Error while mapping UICust & View.......

    Hello all,
    Need ur urgent help!!

    Hello all,
    Need ur urgent help!!
    Not able to map UICust node to View.Till UICust the app works fine but as i map the node to View........ Error comes of contact administrator without any exception
    Contact Administrator error is coming after mapping UICust and View.
    Its not happpening in case of 1 single attribute but while mapping the node this error is encountered.
    Urgent help required....Kindly help
    Thanks n regards
    Mandeep

  • Error While mapping using Join

    Hello Guys
    I just started Learning OWB i have a small problem while Mapping
    I mappped a column from source directly to Target and when i use the same column for Join condition for another mapping its not allowing me to so that
    and its giving error API 8003 and is there any way in OWB to use SQL directly to populate Target table
    Please
    Help me out
    Thanks

    Hi,
    U cannot connect a column to the target directly and also use it in a joiner. Take all the cols to the joner. Use the appropriate conditions and the from the joiner connect it to the target table.
    Regards
    Bharath

  • Error while executing bapi  "BAPI_ISUPARTNER_CREATEFROMDATA".

    Hi experts
    i am trying to create new business partner through bapi "BAPI_ISUPARTNER_CREATEFROMDATA".
    is this bapi is right one for creating new BP in SAP-ISU?
    if yes then i am geeting this error while executing the bapi "Enter an address for contract partner".
    i am providing this inputs to bapi
    1. TYPE___
    2. BPkind
    3.bpext
    4.last_name
    5.title.
    can anybody give me the soloutions....its urgent
    Thanks in adavance
    kunaal

    hi shiva,
    i want to create BP with  role contract partner.
    i have used below code . this code create bapi but not create address for that particular BP, pls send  code.
    thanx
    Pradeep  Sharma
    *& Report  ZBPBAPI
    REPORT  ZBPBAPI.
    DATA: BPC LIKE BAPIBUS1006_HEAD-PARTN_CAT,
          CNTDATA LIKE  BAPIBUS1006_CENTRAL OCCURS 0 WITH HEADER LINE,
          BP LIKE BAPIBUS1006_HEAD-BPARTNER.
    DATA:
    gs_centraldata TYPE bapibus1006_central,
    gs_centraldataorganization TYPE bapibus1006_central_organ,
    gs_addressdata TYPE bapibus1006_address,
    it_return TYPE TABLE OF bapiret2,
    lv_customer TYPE bu_partner,
    GS_PERSON TYPE BAPIBUS1006_CENTRAL_PERSON,
    GS_ADD TYPE BAPIBUS1006_ADDRESS.
    *GS_CAT TYPE BAPIBUS1006_HEAD-BPARTNER.
    move:
    'PRADEEP' TO GS_PERSON-FIRSTNAME,
    'SHARMA' TO GS_PERSON-LASTNAME,
    'EN' TO GS_PERSON-CORRESPONDLANGUAGE,
    'EN' TO   gs_centraldata-PARTNERLANGUAGE,
    '0002' TO gs_centraldata-TITLE_KEY,
    '01' TO GS_ADD-EXTADDRESSNUMBER,
    'X' TO GS_ADD-standardaddress,
    '831001' TO GS_ADD-postl_cod1,
    'Melbourne' TO GS_ADD-city,
    'Street' TO GS_ADD-street,
    '246' TO GS_ADD-house_no,
    'in' TO GS_ADD-country,
    '07' TO GS_ADD-region,
    'EN' TO GS_ADD-langu.
    CALL FUNCTION 'BAPI_BUPA_CREATE_FROM_DATA'
      EXPORTING
      BUSINESSPARTNEREXTERN              = GS_CAT
        PARTNERCATEGORY                    = '1'
      PARTNERGROUP                       =
        CENTRALDATA                        = gs_centraldata
       CENTRALDATAPERSON                  =  GS_PERSON
      CENTRALDATAORGANIZATION            = gs_centraldataorganization
      CENTRALDATAGROUP                   =
      ADDRESSDATA                        = gs_addressdata
      DUPLICATE_MESSAGE_TYPE             =
      ACCEPT_ERROR                       = ' '
    IMPORTING
       BUSINESSPARTNER                    = BP
    TABLES
      TELEFONDATA                        =
      FAXDATA                            =
      TELETEXDATA                        =
      TELEXDATA                          =
      E_MAILDATA                         =
      RMLADDRESSDATA                     =
      X400ADDRESSDATA                    =
      RFCADDRESSDATA                     =
      PRTADDRESSDATA                     =
      SSFADDRESSDATA                     =
      URIADDRESSDATA                     =
      PAGADDRESSDATA                     =
      ADDRESSNOTES                       =
      COMMUNICATIONNOTES                 =
      COMMUNICATIONUSAGE                 =
      TELEFONDATANONADDRESS              =
      FAXDATANONADDRESS                  =
      TELETEXDATANONADDRESS              =
      TELEXDATANONADDRESS                =
      E_MAILDATANONADDRESS               =
      RMLADDRESSDATANONADDRESS           =
      X400ADDRESSDATANONADDRESS          =
      RFCADDRESSDATANONADDRESS           =
      PRTADDRESSDATANONADDRESS           =
      SSFADDRESSDATANONADDRESS           =
      URIADDRESSDATANONADDRESS           =
      PAGADDRESSDATANONADDRESS           =
      COMMUNICATIONNOTESNONADDRESS       =
      COMMUNICATIONUSAGENONADDRESS       =
      RETURN                             =
      ADDRESSDUPLICATES                  =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
      WAIT          = 'X'
    IMPORTING
      RETURN        =
    CALL FUNCTION 'BAPI_BUPA_ROLE_ADD_2'
      EXPORTING
        businesspartner     = BP
        businesspartnerrole = 'MKK'
      TABLES
        return              = it_return.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        wait = 'X'.
    CALL FUNCTION 'BAPI_BUPA_ADDRESS_ADD'
      EXPORTING
        BUSINESSPARTNER              = BP
        ADDRESSDATA                  = GS_ADD
      DUPLICATE_MESSAGE_TYPE       =
      ACCEPT_ERROR                 = ' '
    IMPORTING
      ADDRESSGUID                  =
    TABLES
      BAPIADTEL                    =
      BAPIADFAX                    =
      BAPIADTTX                    =
      BAPIADTLX                    =
      BAPIADSMTP                   =
      BAPIADRML                    =
      BAPIADX400                   =
      BAPIADRFC                    =
      BAPIADPRT                    =
      BAPIADSSF                    =
      BAPIADURI                    =
      BAPIADPAG                    =
      BAPIAD_REM                   =
      BAPICOMREM                   =
      ADDRESSUSAGE                 =
      BAPIADUSE                    =
      RETURN                       =
      ADDRESSDUPLICATES            =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
       WAIT          = 'X'
    WRITE           BP.

  • SAP Best Practices V 4.31 questions- Getting errors while mapping reports.

    Case 1:
    I am trying to map following reports from SAP BP V 4.31 to our data sources:
    a)POSD-Month-Material Group
    b)POSD-Month Suppliers
    c)POSD-Suppliers
    These are the 3 reports out of 9 reports under trade dashboard.
    We have followed the steps outlined in section 9 and used the code provided in appendix IX of the "Manual data source creation document"  ,
    These reports seem to use a field "DMBTR" :
    Report claims this field(DMBTR  ) would exist under following structure : ZBPBI131_STRU_TRADE_POSD
    But the document specified this(DMBTR) field as part of structure : ZBPBI131_STRU_TRADE_PO
    And the report is hence showing this field as orphaned and needs to be mapped while updating source.
    I am clueless what is wrong ( document and code given there (or) report version i got)  and how to map that DMBTR field to existing infoset and what impact it would create if i force it into the infoset declining the guiding document.
    Case 2:
    While mapping reports under" Sales Plan vs. Actual Dashboard" , I am getting error saying "Some tables were not found" ,even after  we created the Query ZBPBI131_QRYSD on top of its infoset in SAP.
    I am clueless what have gone wrong.We have followed exact steps as mentioned in the manual data source creation document.
    Any help from anyone is greatly appreciated.
    Thank you

    Ingo,
    I saw the same reply from you for  some other users post.
    Suggesting to post to All in One forums.
    I was unable to find that exact forum, could you point me with a link.
    infact if i can get to that forum, may be my question has been already answered.
    Your help is appreciated.
    Thank you

  • Context error while mapping

    Hi Experts,
      I am using remove context node function to map my target node.The problem is the required node in the target is in higher context than the source node. i have mapped the fields below these nodes normally.
    while mapping the nodes i am using remove context function.but when testing the target node is existing only once in payload. 
    Please help me out.
    Thanks,
    Srikanth

    Hi Srikanth,
    Communication via mail is against the SDN Forum Rules.
    I have uploaded the photo--(I had removed the other part of the image as its confidential ...so don't worry)
    http://www.flickr.com/photos/23638845@N04/2782914807/
    This will help other XI experts to open their views also. So Plz don't mind...
    Please find here with you the my suggestion about it.
    Look the way you had mapped the gate message and westim message based on existance of gate message, is seems to be correct.
    As you have said there will be always only one either get or westim message available. So no need to do any context changes with remove context.
    Make sure to add this kind of check condition for all the internal fields also.
    Let me know if this would solve your problem.
    thanks
    Swarup

  • Error while mapping the BAPI exception to the Fault Messge

    Hi
    I have a scenario SOAP to BAPI ...
    when i try test the scenarion from Altova XML SPY for BAPI exception ... i am getting the following error....
    When i tried to map the BAPI exception to the Fault Message its giving me the error...
    com.sap.aii.af.ra.ms.api.DeliveryException: com.sap.aii.af.ra.ms.api.MessagingException: Could not parse XMBMessage due to Unexpected length of element <sap:Error><sap:ApplicationFaultMessageNamespace> =

    Hi,
            Fault messages can be used for inbound proxies....for BAPI also it can be used i am also not sure....How are you tracking that the data is getting posted into the SAP table with the help of BAPI?
    Thanks
    Arijit

  • Error while mapping a Java class for a Search Dialog Box component

    Hi,
    Scenario : There is PAR which I have developed for the sorting options for a Search Component set to be used in Km Search Iview.
                   I have copied this PAR from a similiar search functionality and customised the same.
    Problem: When I deploy the PAR and then map this class for the sort options while creating a New Search Dialog box :
    I get the following "Class not found error" ... Please can you let me know what could be the problem.
    Any help would be appreciated here as I have tried all the possibilities to solve the problem.
    Regards,
    Vaishali.

    I modified the xml file as described in the forum.But the error persists.
    One interesting thing is:
    When I create model after restarting the NDS,I get the following error:
    org.eclipse.swt.SWTException: Failed to execute runnable <i>(java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC'
    JCO.nativeInit(): Could not initialize dynamic link library librfc. Found version "620.0.1237" but required at least version "620.0.1374".)</i>
    I get the NoClassDef found error next time onwards,
    Where do I get the 620.0.1374 version of librfc?
    thanx.
    Bhupesh

  • Error while calling BAPIs for DMS from Portal

    Hi everybody,
    We are developing a portal with Web Dynpro and trying to call from our java code BAPIs that deals with DMS:
    BAPI_DOCUMENT_CREATE2 - to create a new DMS document and checkin an original.
    CVAPI_DOC_CHECKIN - to checkin an original to an existing DMS document.
    CVAPI_DOC_CHECKOUT - to checkout an original from the DMS.
    While using other bapi's that deals with DMS but do not deals with originals (like creating a new document, retrieving metadata about documents and originals) we don't have any problem.
    Only when trying to checkin or checkout originals we get the following message (from the DMS?): RFC_START_PROGRAM
    the full message is: com.sap.aii.proxi.framework.core.BaseProxiException:RFC_START_PROGRAM error key:RFC_ERROR_PROGRAM.
    does anybody knows the meaning of this message?
    by the way - those BAPIs works well while called from the R/3. only when we call them from the portal we have this problem.
    thanks for any information, Adi.

    Hi Adi,
    Right now I have a similar problem. Did you find the cause/solution?

  • Error while calling BAPIs of DMS from Portal

    Hi everybody,
    We are developing a portal with Web Dynpro and trying to call from our java code BAPIs that deals with DMS:
    BAPI_DOCUMENT_CREATE2 - to create a new DMS document and checkin an original.
    CVAPI_DOC_CHECKIN - to checkin an original to an existing DMS document.
    CVAPI_DOC_CHECKOUT - to checkout an original from the DMS.
    While using other bapi's that deals with DMS but do not deals with originals (like creating a new document, retrieving metadata about documents and originals) we don't have any problem.
    Only when trying to checkin or checkout originals we get the following message (from the DMS?): RFC_START_PROGRAM
    the full message is: com.sap.aii.proxi.framework.core.BaseProxiException:RFC_START_PROGRAM error key:RFC_ERROR_PROGRAM.
    does anybody knows the meaning of this message?
    by the way - those BAPIs works well while called from the R/3. only when we call them from the portal we have this problem.
    thanks for any information, Adi.

    Hi Adi,
    Right now I have a similar problem. Did you find the cause/solution?

  • Error while using bapi BAPI_INCOMINGINVOICE_CREATE to post MIRO

    Hi Friends,
             Im using bapi BAPI_INCOMINGINVOICE_CREATE to post MIRO.
             im passing data to table GLACCOUNTDATA.
             Below are the table fields im paasing
         INVOICE_DOC_ITEM " '000001' deafault always
         GL_ACCOUNT  "Which is constant for all in my case               
         ITEM_AMOUNT      " Total PO net amt + Frieght charges header level      
         DB_CR_IND      " 'S' always default     
         COMP_CODE      " 'RPPL' always default          
         TAX_CODE      " 'V0'     deafault always     
         PROFIT_CTR       " for ex 1100180. based on plant
              While posting this bapi is trhrowing error as below
         'profit centre  RPPL/1100180 does not exist for 01.12.2008'
         where 01.12.2008 is the MIRO posting date which im passing in header.
            We checked dates for profit centres they are correct.
            Awaiting the reply ASAP.
    Regards,
    Venky

    Hi,
    It would be better if you do a recheck on data input for BAPI. If you sure the data are ok but the BAPI still gives error message, then I suggest to post to OSS.
    Regards,
    Teddy Kurniawan

  • Error while mapping fact table to LOWEST LEVEL

    Hi
    While Iam mapping my fact table using cwm2_olap_table_map, map_facttbl_levelkey , Iam mentioning it has the lowest level of dimension table , it is throwing error . Will it only work for ET not for LOWEST LEVEL?. Infact Iam not storing the embedded total any where in my fact tables .
    Can anyone help me in mapping the lowest level of dimension to fact table????

    Hi
    Are you sure you are using the correct mapping tools. It sounds as if you have a relational schema which reauires a CWM mapping procedure? To map a relational schema it is best to use OEM which has wizards to guide you through the mapping process.
    CWM2 metadata is used to map 9iR2 Analytical Workspace objects. These typically involve fully summarised variables within the AW.
    Hope this helps
    Keith Laker
    Product Manager
    Oracle Business Intelligence Beans

Maybe you are looking for

  • What format do I use for mailboxes for saving prior to reverting back from Mavericks to Snow Leopard?

    After three weeks and spending hundreds of dollars on Apple-certified techs, I have to revert from Mavericks back to Snow Leopard due to unbearable issues.  I've got the instructions on the process, but don't know exactly  what format to use to expor

  • Command Order in FTPS for file adapter

    Hi, I am trying to configure file adapter using FTPS. Can anyone please explain what the commands AUTH TSL, USER, PASS, PBSZ & PROT stand for? How can i choose the correct order? Thanks Chandra

  • Use of smilies in message posts skews line spacing

    I just wanted to report that the use of 'smilies' in posts here seems to affect the line spacing -- i.e., the vertical justification of text is irregular on the line that a smilie appears on. I've just noticed this from one of my own posts. In 'previ

  • Different approaches

    I have a simple form where there is a drop down list that needs to be displayed getting the values from the back end. I would write a simple query in java file,check if session is new then call method in jsp page. Is there any better approach than th

  • Bdc rec problem

    please help!! suppose the requirement is to create a bdc rec in devlopment server. but after the rec when i try to see the source code by creating a program as the process is.it is asking me for access key. is there any way to get the source code. Mo