Function or bapi to upload the lead questionnaire to lead partner portal

hi all,
Is there any function or bapi to upload the lead questionnaire that exists in the marketing leads-lead partner portal . The survey should get attached to the lead . I am able to create the lead though with the LDPO process by a function module .Any help on this will be very useful.
Thanks in advance.
Mithun

Hi Bharani,
I can answer two of your questions:
2. No, with a BAPI you cannot see the screens during processing.  After it is called you can display the BOM and check that the data is loaded correctly.
3. You can see the error messages of the BAPI by looking in the RETURN structure.  This will contain details of any error, warning, information, and success messages generated during the creation of the BOM.
Cheers,
Brad

Similar Messages

  • Need BAPI for upload the special ledger data (GB01)

    Hi Guys,
    I have to upload the GB01 data from excel to sap.
    Is there any BAPI for this app
    plez Help me
    thanks

    hi
    use function modules JV_GB01_DIRECT_INPUT and JV_GB01_DOCUMENT_POST
    hope this helps you
    Regards
    Aakash

  • BAPI to Upload the data

    I have to upload BOM Data from legacy system( Excel .csv format ) to SAP. I can do that with BDC but client requirement is that i have to send data by using BAPI. I dont know how to do. After long search i found BAPI_MATERIAL_BOM_GROUP_CREATE is the function module i have to use.
    There are many tables and structures in that Function Module.
    I have many doubts..
    1. In the BOM there are many items ( components ) for a material.. How can i link that this Header ( Material ) has many items ( Components ) in BAPI.
    2. Is there any possibility to see the screens ( As if in Call transaction ) to see whether the data is correctly filed or not.
    3. How can i see the error messages by using BAPI.
    please let me know how to use the BAPI.

    Hi Bharani,
    I can answer two of your questions:
    2. No, with a BAPI you cannot see the screens during processing.  After it is called you can display the BOM and check that the data is loaded correctly.
    3. You can see the error messages of the BAPI by looking in the RETURN structure.  This will contain details of any error, warning, information, and success messages generated during the creation of the BOM.
    Cheers,
    Brad

  • Function Module /BAPI for changing the components in Production order

    Hi,
    We are in ECC5.0. We have requirement wherein we want to change /delete the existing component of the production order and add new component through RFC call from an external system. We tried to use CO_XT_COMPONENT_ADD FM for adding new components and when we tested this FM in SM37  with data there were no error messages . When we checked the Production order ,no changes were made to the production order component. Tried to use Commit statement and there is no change in the system behavior.Can some one help me to  understand the system behavior . If possible kindly suggest me some alternate FM/BAPI .
    With regards,
    Joseph Anand B

    Dear,
    Please check this link,
    ADD COMPONENTS TO PRODUCTION ORDER
    Regards,
    R.Brahmankar

  • How to upload the data to 'abzu' transaction using bapi

    Hi Experts ,
    I need to upload the data to the (asset write up ) transaction 'abzu' and please help me inthis regard
    i found some bapi's like below
    BAPI_FIXEDASSET_CHANGE Changes an Asset
    BAPI_FIXEDASSET_CREATE Creates an Asset
    BAPI_FIXEDASSET_CREATE1 Creates an Asset
    BAPI_FIXEDASSET_GETDETAIL Display Detailed Information on a Fixed Asset
    BAPI_FIXEDASSET_GETLIST Information on Selected Assets
    BAPI_FIXEDASSET_OVRTAKE_CREATE BAPI for Legacy Data Transfer
    BAPI_FIXEDASSET_TEST BAPI for Legacy Data Transfer
    i tried with this bapies but unable to do the transfer the data ,
    please help me ,
    which is the exactly suitable bapi for uploading the data to 'abzu' transaction
    i apriciate you advanced ,
    please give me the exactly solution for this ,
    Regards.,

    Hi Experts ,
    I need to upload the data to the (asset write up ) transaction 'abzu' and please help me inthis regard
    i found some bapi's like below
    BAPI_FIXEDASSET_CHANGE Changes an Asset
    BAPI_FIXEDASSET_CREATE Creates an Asset
    BAPI_FIXEDASSET_CREATE1 Creates an Asset
    BAPI_FIXEDASSET_GETDETAIL Display Detailed Information on a Fixed Asset
    BAPI_FIXEDASSET_GETLIST Information on Selected Assets
    BAPI_FIXEDASSET_OVRTAKE_CREATE BAPI for Legacy Data Transfer
    BAPI_FIXEDASSET_TEST BAPI for Legacy Data Transfer
    i tried with this bapies but unable to do the transfer the data ,
    please help me ,
    which is the exactly suitable bapi for uploading the data to 'abzu' transaction
    i apriciate you advanced ,
    please give me the exactly solution for this ,
    Regards.,

  • For uploading the to transaction 'abzu'  using bapi

    Hi Experts ,
    I need to upload the data to the  (asset write up ) transaction 'abzu' and please help me inthis regard
    i found some bapi's like below
    BAPI_FIXEDASSET_CHANGE Changes an Asset
    BAPI_FIXEDASSET_CREATE Creates an Asset
    BAPI_FIXEDASSET_CREATE1 Creates an Asset
    BAPI_FIXEDASSET_GETDETAIL Display Detailed Information on a Fixed Asset
    BAPI_FIXEDASSET_GETLIST Information on Selected Assets
    BAPI_FIXEDASSET_OVRTAKE_CREATE BAPI for Legacy Data Transfer
    BAPI_FIXEDASSET_TEST BAPI for Legacy Data Transfer
    i tried with this bapies but unable to do the transfer the data ,
    please help me ,
    which is the exactly suitable bapi for uploading the data to 'abzu' transaction
    i apriciate you advanced ,
    please give me the exactly solution for this ,
    Thanks&Regards
    anand

    Hi Jeevan,
    Did you find any solution for this issue?
    We are also facing the same issue.
    Please help me.

  • Function Module/BAPI to check if material is available in the warehouse

    Hi all,
    I have a requirement where i get the input as material number and i need to check if the material is available in stock and return the quantity of stock available. Do we have a Function Module/BAPI that takes the input as material number and tells if the material is available in stock or not.
    The material can be a simple finished product, raw material or BOM. The function module should take the input as material number and should return if it is available in stock and the quantity that is available.
    I donu2019t know if this is called ATP. Do we have a standard function module available for that?
    Kindly help.
    Regards,
    Jessica Sam.

    Thanks Venu for immediate reply,
    I saw the BAPI and unable to figure out what paramters I should fill.
    Plant, Material and Quantity I know. But rest of them like
    Check Rule, STGE_LOC, batch, Doc_number, WBS_ELEM, STOCK_IND,
    DEC_FOR_ROUNDING, DEC_FOR_ROUNDING_X, READ_ATP_LOCK, READ_ATP_LOC_X & MATERIAL_EVG.
    In  the BAPI documentation I dint find how to fill these paramters. Can you help me with hat I need to fill in the input paramters.
    Regards,
    Jessica Sam

  • Reg BAPI: "'BAPI_BASICPAY_CREATE" uploading to infotype P0008

    The following BAPI to upload the salary data to info type PA0008( BASIC PAY).
    This bapi is expects the table type amount with 4 decimals.
    Please let us know  any other bapi to upload the data to infotype 0008 or how to work with existing bapi. Sothat amount would be with 2 decimals raterthan 4 decimals.
    CALL FUNCTION 'BAPI_BASICPAY_CREATE'
          EXPORTING
            EMPLOYEENUMBER             = IT_PA0008-PERNR
            SUBTYPE                    = IT_PA0008-SUBTY
            VALIDITYBEGIN              = IT_PA0008-BEGDA
            VALIDITYEND                = IT_PA0008-ENDDA
            PAYSCALETYPE               = IT_PA0008-TRFAR
            PAYSCALEAREA               = IT_PA0008-TRFGB
            PAYSCALEGROUP              = IT_PA0008-TRFGR
            PAYSCALELEVEL              = IT_PA0008-TRFST
      NEXTINCREASE               =
      LOCALALLOWLEVEL            =
      PARTNERSHIP                =
      CURRENCY                   =
      COMPARISONPAYSCLTYPE       =
      COMPARISONPAYSCLAREA       =
      COMPARISONPAYSCLGRP        =
      COMPARISONPAYSCLLVL        =
      COMPNEXTINCREASE           =
            CAPACITYUTILLEVEL          = IT_PA0008-BSGRD
            HOURSWORKEDPERPERIOD       = IT_PA0008-DIVGV
      ANNUALSALARY               =
      CASEGROUPCATALOG           =
      CASEGROUP                  =
            CURRENCYANNUALSALARY       = IT_PA0008-ANCUR
      REASON                     =
      NOCOMMIT                   =
    IMPORTING
        RETURN                     = IT_BAPIRETURN1
       EMPLOYEENUMBER             = V_PERNR
      SUBTYPE                    =
      OBJECTID                   =
      LOCKINDICATOR              =
      VALIDITYBEGIN              =
      VALIDITYEND                =
      RECORDNUMBER               =
         TABLES
          <b> WAGETYPES                  = IT_WAGE</b>
    tHANKS
    Badari
    Help would be highly appreciable!

    PL note that HR_INFOTYPE_OPERATION is not RFC enabled.. you will have to wrap it around with a custom RFC in order to use it in palce of the above BAPI..
    ~Suresh

  • A Function or BAPI to get Material Standard Price?

    Hi All,
    I need a Function or BAPI to get the Material Standard Price when the following Criteria is given;
    1. Material Code
    2. Plant
    3. Period
    4. Year
    5. Company Currency (Optional)
    I need only the Standard Price and Price Unit. Please give me a example with sample values.
    Thanks,
    Kishan

    Sri:
    I need only the Standard Price and Price Unit
    there is no specific FM for that.
    you need to write small select query in FM than use this custom FM into your program.
    Amit.

  • Function module/ Bapi for Sales order change

    Hi Experts,
    I require to have a Bapi/ function module to change a existing sales order to insert value in the field VBAP-SOBKZ.
    Please suggest.
    Thanks,
    Shibaji.

    HI,
    I have identified this Bapi but this Bapi does not contain the relevant field to update. Can you suggest any other Function module/ Bapi to update the field.
    Thanks & Regards,
    Shibaji

  • Assessment for Lead (Questionnare for Lead)

    Hi,
    I am trying to create lead. I need to fill Questionnaire also for that. But, under "Assessment block", I don't see any action, ID . When I open assessment block, it is saying no results. This is happening in CRM 7.0.
    But, when I check in CRM 6.0, Under Assessment block, there is one action with one link. When I click on that link, it is opening Questionnaire. But, it is not coming in CRM 7.0.
    Can you please let me know, what are all the settings I need to to enable this.
    I checked in SPRO. There One Questionnaire is assigned to lead. But, I donno why it is not coming.
    Please help me.
    Thanks,
    Sandeep

    Hi,
    In SPRO -- CRM -- Transactions --Settings for Leads -- Questionnaires for Leads  -- Define Determination for Questionnaires, ensure that the 'Active' checkbox  has been checked where you have assigned your questionnaire to the transaction type.

  • Upload the data using bapi

    hi,
    i am new for bapi , can anyone tell me how to upload data using bapi with example?
    plz tell how to find bapi & how to use in coding to upload the data?

    Hi ,
             To find Bapi There a tcode Bapi which will take you to bapi Explorer From there you can find required
              the Bapi Function Module and its Documentation .
      [  www.sap-img.com/abap/bapi-step-by-step-guidance.htm ]
    [http://www.sappro.com/tag.cfm?session=&tag=bapi%20programming]
    [https://wiki.sdn.sap.com/wiki/display/Snippets/SalesordercreationusingBAPI]
    Regards
    Nilesh

  • Uploading the sales order using BAPI

    hi experts,
    i want to upload the sales order using BAPI.
    can you provide the FM.
    it will be much helpful if i have the sample code........
    thanks

    Hi Shyam,
    Use BAPI : BAPI_SALESORDER_CREATEFROMDAT2
    REPORT ZZBAPI_TEST1 .
    *===========================================================
    *** Start of selection
    *===========================================================
    START-OF-SELECTION.
    * test of sales order with BAPI
    PERFORM SALES_ORDER_BAPI.
    *================ End of main program ======================
    *& Form SALES_ORDER_BAPI
    * text
    FORM SALES_ORDER_BAPI.
    DATA : SD_HEADER LIKE BAPISDHEAD.
    DATA : BEGIN OF ITEMIN_IT OCCURS 1.
    INCLUDE STRUCTURE BAPIITEMIN.
    DATA : END OF ITEMIN_IT.
    DATA : BEGIN OF PARTNR_IT OCCURS 1.
    INCLUDE STRUCTURE BAPIPARTNR.
    DATA : END OF PARTNR_IT.
    DATA : WK_SD_DOCNO LIKE VBAK-VBELN.
    DATA: WK_RETURN LIKE BAPIRETURN.
    CLEAR : SD_HEADER , ITEMIN_IT , PARTNR_IT.
    SD_HEADER-DOC_TYPE = 'TA'.
    SD_HEADER-SALES_ORG = '1793'.
    SD_HEADER-DISTR_CHAN = '01'.
    SD_HEADER-DIVISION = '01'.
    SD_HEADER-PURCH_NO = 'Test'.
    * itemin_it-hg_lv_item = '10'.
    ITEMIN_IT-MATERIAL = '000000000000001143'.
    ITEMIN_IT-PLANT = '3018'.
    ITEMIN_IT-REQ_QTY = '1'.
    ITEMIN_IT-SALES_UNIT = 'CS'.
    APPEND ITEMIN_IT.
    * itemin_it-hg_lv_item = '20'.
    ITEMIN_IT-MATERIAL = '000000000000000848'.
    ITEMIN_IT-PLANT = '3018'.
    ITEMIN_IT-REQ_QTY = '1'.
    ITEMIN_IT-SALES_UNIT = 'KG'.
    APPEND ITEMIN_IT.
    * itemin_it-hg_lv_item = '30'.
    ITEMIN_IT-MATERIAL = '000000000000000848'.
    ITEMIN_IT-PLANT = '3018'.
    ITEMIN_IT-REQ_QTY = '1'.
    ITEMIN_IT-SALES_UNIT = 'EA'.
    APPEND ITEMIN_IT.
    LOOP AT ITEMIN_IT.
    WRITE : / SY-TABIX , ITEMIN_IT-MATERIAL , ITEMIN_IT-PLANT
    , ITEMIN_IT-REQ_QTY , ITEMIN_IT-SALES_UNIT.
    ENDLOOP.
    CLEAR : PARTNR_IT.
    PARTNR_IT-PARTN_ROLE = TEXT-001.
    PARTNR_IT-PARTN_NUMB = '0000000004'.
    APPEND PARTNR_IT.
    CLEAR : PARTNR_IT.
    PARTNR_IT-PARTN_ROLE = 'WE'.
    PARTNR_IT-PARTN_NUMB = '0000000051'.
    APPEND PARTNR_IT.
    LOOP AT PARTNR_IT.
    WRITE : / SY-TABIX , PARTNR_IT-PARTN_ROLE , PARTNR_IT-PARTN_NUMB.
    ENDLOOP.
    CLEAR : ITEMIN_IT , PARTNR_IT , WK_RETURN..
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDATA'
    EXPORTING
    ORDER_HEADER_IN = SD_HEADER
    IMPORTING
    SALESDOCUMENT = WK_SD_DOCNO
    * SOLD_TO_PARTY =
    * SHIP_TO_PARTY =
    * BILLING_PARTY =
    RETURN = WK_RETURN
    TABLES
    ORDER_ITEMS_IN = ITEMIN_IT
    ORDER_PARTNERS = PARTNR_IT
    * ORDER_ITEMS_OUT =
    * ORDER_CFGS_REF =
    * ORDER_CFGS_INST =
    * ORDER_CFGS_PART_OF =
    * ORDER_CFGS_VALUE =
    * ORDER_CCARD =
    EXCEPTIONS
    OTHERS = 1.
    WRITE : / 'sy-subrc = ' , SY-SUBRC.
    IF NOT WK_SD_DOCNO IS INITIAL.
    WRITE : / WK_SD_DOCNO , 'registerd'.
    ELSE.
    WRITE : / 'incorrect'.
    WRITE : / WK_RETURN-TYPE , WK_RETURN-CODE , WK_RETURN-MESSAGE.
    WRITE : / WK_RETURN-LOG_NO, WK_RETURN-LOG_MSG_NO,
    WK_RETURN-MESSAGE_V1.
    ENDIF.
    ENDFORM. " SALES_ORDER_BAPI
    Hope that helps.
    Regards
    Kapadia
    ***Assigning points is the way to say thanks in SDN.***
    Message was edited by:
            Mr Kapadia

  • Error While uploading the Function and Function_BP

    Hello,
    I am getting the following error while uploading the Functions and Funtions_BP using the Rule Upload functions.
    com.virsa.cc.comp.Function_upload.onActionUploadFunc(Function_upload.java:302) com.virsa.cc.comp.wdp.InternalFunction_upload.wdInvokeEventHandler(InternalFunction_upload.java:150) com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420) com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132) com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335) com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143) com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321) com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713) com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666) com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250) com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149) com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62) com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53) javax.servlet.http.HttpServlet.service(HttpServlet.java:760) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386) com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364) com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039) com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265) com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175) com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) java.security.AccessController.doPrivileged(Native Method) com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104) com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    The files which i am uploading the file from the Best practises only.
    What is the reason for this error?
    Did any one get this error?
    Regards,
    Kumar Rayudu
    Edited by: Kumar Rayudu on Aug 4, 2009 12:32 PM

    Hello Kumar,
    Have you uploaded the SAP text and object files? Upload them first and then try to upload functions.
    Harleen
    SAP GRC RIG

  • Need name of a function module or BAPI to update the Tax Classification val

    Hi Guru's
    Need name of a function module or BAPI to update the Tax Classification value for Material master.
    Thanks in advance.

    Hi
    U can try to use BAPI_MATERIAL_SAVEREPLICA
    Max

Maybe you are looking for

  • Migration problem with password

    Having used Migration Assistant to copy from one iMac to another the password for my login is not recognised in the recipient machine.

  • Can you populate popups depending on what previous selections you made?

    Im not sure if this is in the correct forum but is it possible but can you make popups populate depending on a previous popup selection? As an example if you have a popup with 2 selections 10 and 20 could you have a second popup display either select

  • Query on Waiting state under V$SESSION

    Hi ALL, I want to know what is blocking my query which is just a simple select SQL statement Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi PL/SQL Release 10.2.0.4.0 - Production CORE     10.2.0.4.0     Production TNS for Linux: Ver

  • Error msg " Acct requires CO obj assignment " ?

    Hello, I am working on SRM 5.5. , Extended classic scenario ( self-driven procurement) . I am facing a problem , while creating a SC ( in account assignment) . If i create a shopping cart, for a particular material , it gives an error message saying

  • Question about minimizing. why ddid apple remove minimizing and replace it with NOTHING?

    on tiger, i could double click in the "gray bar" on top of every window in order to minimize it. this was a very good idea, since the buttons to minimize, close or maximize are very small and i also tend to activate my upper left hot corner when movi