V Urg. - parameters for BAPI_LEAD_CHANGEMULTI

does anyone know what parameters to send for the BAPI BAPI_LEAD_CHANGEMULTI.
I want to add the foll. product data related to Lead:-
  product name, quantity and units.
I dont know which tables and table fields to pass to the BAPI.

hey Jaswanth first of all thanks for the reply.
I have done that already, but that adds only a single product. I want to add multiple products. And I am using the foll. tables :-
item table - product name
schedln    - quantity
product    - unit
but, somewhere in schedln I guess there is an error.
I want the parameters and some sample values to be passed to schedln table(for multiple products).

Similar Messages

  • Minimum parameters for BAPI_LEAD_CHANGEMULTI

    Team,
    I want to load over 10,000 leads with status CLOSED (E0004).
    I am doing this in two steps:
    1) Create lead
    2) Change lead
    My question #1 is what are the minimum parameters I need to pass to fm BAPI_LEAD_CHANGEMULTI:
    REF_GUID
    REF_HANDLE
    REF_KIND
    STATUS       =  'E0004'
    USER_STAT_PROC
    ACTIVATE
    PROCESS
    CALL FUNCTION 'BAPI_LEAD_CHANGEMULTI'
    EXPORTING
      TESTRUN             =
    TABLES
      HEADERX             = tt_lead_bapiX
      ORGANISATIONX       =
      PARTNERX            = tt_partnerX
      DATEX               =
      TEXTX               =
      ITEMX               =
      PRODUCTX            =
       STATUSX             = TT_statusX
      SERVICE_OSX         =
      SCHED_LINX          =
      HEADER              = tt_lead_bapi
      ORGANISATION        =
      PARTNER             = tt_partner
      DATE                =
      TEXT                =
      ITEM                =
      PRODUCT             =
       STATUS              = TT_status
      SERVICE_OS          =
      INPUT_FIELDS        =
      RETURN              =
      SCHED_LIN           =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Question #2. Do I need to create separate pgm for Change Leads or one pprogram can contain both codes, i.e. 'Create Lead' and then 'Change Lead' in the same program.
    Any sample code and/or ideas will be helpful.
    Thanks

    Team,
    I want to load over 10,000 leads with status CLOSED (E0004).
    I am doing this in two steps:
    1) Create lead
    2) Change lead
    My question #1 is what are the minimum parameters I need to pass to fm BAPI_LEAD_CHANGEMULTI:
    REF_GUID
    REF_HANDLE
    REF_KIND
    STATUS       =  'E0004'
    USER_STAT_PROC
    ACTIVATE
    PROCESS
    CALL FUNCTION 'BAPI_LEAD_CHANGEMULTI'
    EXPORTING
      TESTRUN             =
    TABLES
      HEADERX             = tt_lead_bapiX
      ORGANISATIONX       =
      PARTNERX            = tt_partnerX
      DATEX               =
      TEXTX               =
      ITEMX               =
      PRODUCTX            =
       STATUSX             = TT_statusX
      SERVICE_OSX         =
      SCHED_LINX          =
      HEADER              = tt_lead_bapi
      ORGANISATION        =
      PARTNER             = tt_partner
      DATE                =
      TEXT                =
      ITEM                =
      PRODUCT             =
       STATUS              = TT_status
      SERVICE_OS          =
      INPUT_FIELDS        =
      RETURN              =
      SCHED_LIN           =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Question #2. Do I need to create separate pgm for Change Leads or one pprogram can contain both codes, i.e. 'Create Lead' and then 'Change Lead' in the same program.
    Any sample code and/or ideas will be helpful.
    Thanks

  • How to log input parameters for Function Modules?

    Hi,
    I need to create a Logging system to trace input parameters for function modules.
    The log functionality could be done by developing a class method or a function module (For example 'write_log'), and calling it within each function module that I want to log. The 'write_log' code should be independent from the interface of the Function Module that I want to log.
    For example, I'd like to write a function/class method that can log both these functions modules:
    Function DummyA
       Input parameters: A1 type char10, A2 type char10.
    Function DummyB
       Input parameters: B1 type char20, B2 type char20, B3 type char20, B4 type Z_MYSTRUCTURE
    Now the questions...
    - Is there a "standard SAP" function that provide this functionality?
    - If not, is there a system variable in which I can access runtime all parameters name, type and value for a particular function module?
    - If not, how can I loop at Input parameters in a way that is independent from the function module interface?
    Thank you in advance for helping!

    check this sample code. here i am capturing only parameters (import) values. you can extend this to capture tables, changin, etc.
    FUNCTION y_test_fm.
    *"*"Local Interface:
    *"  IMPORTING
    *"     REFERENCE(PARAM1) TYPE  CHAR10
    *"     REFERENCE(PARAM2) TYPE  CHAR10
    *"     REFERENCE(PARAM3) TYPE  CHAR10
      DATA: ep TYPE STANDARD TABLE OF rsexp ,
            ip TYPE STANDARD TABLE OF rsimp ,
            tp TYPE STANDARD TABLE OF rstbl ,
            el TYPE STANDARD TABLE OF rsexc ,
            vals TYPE tihttpnvp ,
            wa_vals TYPE ihttpnvp ,
            wa_ip TYPE rsimp .
      FIELD-SYMBOLS: <temp> TYPE ANY .
      CALL FUNCTION 'FUNCTION_IMPORT_INTERFACE'
        EXPORTING
          funcname                 = 'Y_TEST_FM'
    *   INACTIVE_VERSION         = ' '
    *   WITH_ENHANCEMENTS        = 'X'
    *   IGNORE_SWITCHES          = ' '
    * IMPORTING
    *   GLOBAL_FLAG              =
    *   REMOTE_CALL              =
    *   UPDATE_TASK              =
    *   EXCEPTION_CLASSES        =
        TABLES
          exception_list           = el
          export_parameter         = ep
          import_parameter         = ip
    *   CHANGING_PARAMETER       =
          tables_parameter         = tp
    *   P_DOCU                   =
    *   ENHA_EXP_PARAMETER       =
    *   ENHA_IMP_PARAMETER       =
    *   ENHA_CHA_PARAMETER       =
    *   ENHA_TBL_PARAMETER       =
    *   ENHA_DOCU                =
       EXCEPTIONS
         error_message            = 1
         function_not_found       = 2
         invalid_name             = 3
         OTHERS                   = 4
      IF sy-subrc = 0.
        LOOP AT ip INTO wa_ip .
          MOVE: wa_ip-parameter TO wa_vals-name .
          ASSIGN (wa_vals-name) TO <temp> .
          IF <temp> IS ASSIGNED .
            wa_vals-value = <temp> .
          ENDIF .
          APPEND wa_vals TO vals .
        ENDLOOP .
      ENDIF.
    ENDFUNCTION.

  • Error in scheduling parameters for production orders

    Hi Guys,
    Greeting for the day u2026u2026u2026.
    I am trying to create production orders creation for own order  type ex MM01, but I am getting error message as u201C scheduling parameters are not defined for the order type u201C even though I have maintained following parameters as below,
    Production scheduler      -
    xxxxx,
    Detailed scheduling -
    check box of scheduling ticked,
    Rough cut scheduling    --- scheduling id u201301, scheduling and generate capa requi,, boxes     ticked,
    Adjust scheduling  -- requi to operation  date,
    Scheduling control for detailed scheduling ---backwards and check box of auto scheduling ticked
    Operation segment ---setup,
    All operation in order will be reduce
    Do not reduce,
    Could any one light on this issue,
    Thanks in advance,
    Mohan

    Hi,
      This error will come if you have not maintained Define scheduling parameters for production orders.
    Check this order type whether linked with respective plant in OPU3.*And give production scheduler * mark ie, all.*
    And in Define production scheduling profile - OPKP, link your order type in the page below.
    In material master work scheduling view, input production sch profile or prod scheduler.
    Regards,
    Dharma

  • What are the default parameters for PER_EVENTS api

    Dear Experts,
    Can you tell us what are the default parameters for PER_EVENTS API.Here below I have pasted the API.
    procedure create_event
    (p_validate in BOOLEAN default FALSE
    ,p_date_start in DATE
    ,p_type in VARCHAR2
    ,p_business_group_id in NUMBER default NULL -- HR/TCA merge
    ,p_location_id in NUMBER default NULL
    ,p_internal_contact_person_id in NUMBER default NULL
    ,p_organization_run_by_id in NUMBER default NULL
    ,p_assignment_id in NUMBER default NULL
    ,p_contact_telephone_number in VARCHAR2 default NULL
    ,p_date_end in DATE default NULL
    ,p_emp_or_apl in VARCHAR2 default NULL
    ,p_event_or_interview in VARCHAR2 default NULL
    ,p_external_contact in VARCHAR2 default NULL
    ,p_time_end in VARCHAR2 default NULL
    ,p_time_start in VARCHAR2 default NULL
    ,p_attribute_category in VARCHAR2 default NULL
    ,p_attribute1 in VARCHAR2 default NULL
    ,p_attribute2 in VARCHAR2 default NULL
    ,p_attribute3 in VARCHAR2 default NULL
    ,p_attribute4 in VARCHAR2 default NULL
    ,p_attribute5 in VARCHAR2 default NULL
    ,p_attribute6 in VARCHAR2 default NULL
    ,p_attribute7 in VARCHAR2 default NULL
    ,p_attribute8 in VARCHAR2 default NULL
    ,p_attribute9 in VARCHAR2 default NULL
    ,p_attribute10 in VARCHAR2 default NULL
    ,p_attribute11 in VARCHAR2 default NULL
    ,p_attribute12 in VARCHAR2 default NULL
    ,p_attribute13 in VARCHAR2 default NULL
    ,p_attribute14 in VARCHAR2 default NULL
    ,p_attribute15 in VARCHAR2 default NULL
    ,p_attribute16 in VARCHAR2 default NULL
    ,p_attribute17 in VARCHAR2 default NULL
    ,p_attribute18 in VARCHAR2 default NULL
    ,p_attribute19 in VARCHAR2 default NULL
    ,p_attribute20 in VARCHAR2 default NULL
    ,p_party_id in NUMBER default NULL -- HR/TCA merge
    ,p_event_id out nocopy NUMBER
    ,p_object_version_number out nocopy NUMBER
    );

    From the menu bar, select
     ▹ System Preferences... ▹ Network
    Click the Assist me button and select Assistant. Follow the prompts.

  • What are  the input parameters for Function Module

    Dear Experts,
    I want to generate a Sales Tax returns report,those fields are not available in my existing Datasources.
    For that i want to write a Generic Datasource with Function Module.
    audat
    bukrs
    vkorg
    vtweg
    spart
    aurat
    auart
    netwr
    mwsbp
    kschl zedp(consition type)
    kschl zvat(condition type)
    ksch   zcst(condition type)
    matkl     material group
    Here what are the Input parameters for Function Module.
    Thanks in Advance.
    Srinivasan.

    Srinivasan-
    For creating a Generic extractor based on a FM, you first of all need to know what is going to be your structure.. i.e. what all fields you need to pull from what all tables. A functional consultant may help you identify the exact DB tables.
    Once you know them, hand over the requirement and the pdf mentioned by Krishna to the ABAP guy, he would be able to take this up further.
    Also decide 1st whether you would be using a full load or delta. There is a slight difference in the way they are built.
    Let me know how it goes.
    -Bhushan.

  • Parameters for opening PDF files in a browser

    I read some of the posts about making a text link from an html page to a specific location in a pdf document in the browser.  I set up the parameters, as I understand it, according to the document "Parameters for Opening PDF Files." The result from my test took me to the top of page 1, not to the bookmark on page 3 that I specified. See the link below. What is wrong with the parameters?
    http://www.tabardtheatre.org/YPASCfolder/2012/SummerYouthProgram2012.pdff#page=3&bookmark= anniejr
    You can also go to the website: http://www.tabardtheatre.org/audition.html and click on the text link (in blue).

    The PDF Open Parameters do not contain the option to link directly to a bookmark, as was mentioned, but I've developed a script that can add this functionality to your files. Have a look here, if you're interested: http://try67.blogspot.com/2011/06/acrobat-link-to-specific-bookmark-in.html

  • Best practice tunning parameters for tunning ADF apps?

    Hi all,
    I am tuning our 11g ADF app for around 3 billions (can be up to 10 billions records) and the concurrent connections up to 100. The app is running on a 16 core Intel chip and 8GB of RAM. The Weblogic used Rockit JDK. Any one have this experience please share and help me! I am considering what is the top ten crucial parameters for this tuning. Up to now I just have tunned some parameters from OS layer to app layers:
    - indexing for queries
    - open cursors, processes and pga memory
    - share pool for app module and jdbc pooling.
    - heap size of JVM memory only max value 1024 because of 32 bit Windows (Perhaps I must upgrade to 64 bit OSs to use more memory)
    The app was tested with Jmeter with only 10 concurrent connection and the test case is logging in and query and logging out. It ran very slow. I found out that the weblogic server did not use CPUs equally (only 1-2 CPus were used)
    Thank you and best regards.
    Elton Son.

    Hi,
    maybe this of interest:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/e13814/toc.htm
    http://download.oracle.com/docs/cd/E15523_01/core.1111/e10108/adf.htm#CIHHGADG
    http://www.oracle.com/technetwork/articles/systems-hardware-architecture/tuning-adf-t-series-168445.pdf
    http://andrejusb.blogspot.com/2009/08/oracle-adf-tuning-preventing-sql-query.html
    Frank

  • I'm looking for a list of parameters for qt media player?

    I'm looking for a list of parameters for qt media player?

    I was looking for Apple's list of quicktime parameter embed tags attributes. Fruitless search through Apple Support, however I Googled and found the information I was looking for. Thanks for contacting me.

  • Parameters for substr and dbms_lob.substr

    The syntax for substr in SQL functions and for the function in dbms_lob package is not matching and hence confusing for programmers. It will be less confusing if parameters for both functions are of the same order.
    In Sql functions the the syntax for substr is substr(string, offset, amount)
    In dbms_lob package the syntax for the substr function is dbms_lob.substr(lob_loc, amount, offset)
    Mohan

    I think he wants to send a suggestion to Oracle via this forum.

  • Time out parameters for ABAP and JAVA instance

    Hello All,
    We are looking for Time out parameters for our ABAP and JAVA instances.
    As users are complaining that they are getting time out error
    while they are trying to access Cprojects from Portal.
    I was able to check/collect the ABAP instance parameters from SMICM Tcode.
    Can anybody tell me which parameters we need to look for JAVA instance.
    Thanks in advance.
    Regards,
    Amber S

    jstart/shutdownTimeout
    (jstartup/shutdown_timeout)
    Specifies the shutdown timeout, i.e. the grace period for the AS Java instance to shut down before the Java process terminates itself.  Unt is in Seconds. Default is 120
    j2ee/ms/connectTimeout
    (jstartup/wait_for_scs)
    Specifies the timeout for the first connection to the message server. The AS Java instance fails to start if this timeout expires.Unt is in Seconds.Default is  60
    j2ee/ms/reconnectTimeout
    (jstartup/wait_for_reconnect)
    Specifies the timeout for the reconnecting to the message server.The AS Java instance shuts down when this timeout expires.Unt is inSeconds.Default is  3600 (one hour)
    Thanks

  • Command line parameters for automator?

    I'm trying to setup a cron job to so that every morning at 8 am "New Mail.workflow" will open and run. I'm able to get it to open but I was wondering if there were command line parameters for Automator that could open AND run a workflow file? Ideally I'd like it to close after running, but I'll worry about that later. Thanks in advance.

    The preferred way is to save your workflow as an application and then call usr/bin/open on it. If for some reason you must have the workflow run inside of Automator (not self-contained) then you're looking at some quality time with man osascript. As it happens Apple has removed even the need for Cron for most users. A click to File -> Save As Plug-In -> for iCal handles it from start to finish.
    Edit: I forgot to mention that Automator has its own simple command line utility for running *.workflow files. Check out man automator

  • Order type dependent parameters for process order

    Hello friends,
    In Order type dependent parameters for process order (T.C COR4), there is subscreen for Process data documentation.Inside it we have three options :a) Batch Record Required
                                                                        b) Order Record Required
                                                                        c) No Process Data Documentation Reqd.
    Through F1 help whatever information i have got regarding them, is not cleared.
    According to it, if i select Order Record Reqd, than first of all i will have to delete (archieve) the order record than only i can delete (archieve) the process order.The same is with Batch Record Required.
    So according to it if i want to delete the  process order than first i will have to delete order record.So guys may i know which order record firstly i have to delete?Than only the system status for process order will not have the status ORRQ (Order Record Reqd).
    And one more thing friends,if i select the third option No Process Data Documentation Reqd than which process data documentation system will not create?Or what will happen if  i select this third option?
    Thankingy you guys in advance.

    HI
    For process data documentaion pls check the following link:
    http://help.sap.com/saphelp_47x200/helpdata/en/89/a43ea8461e11d182b50000e829fbfe/frameset.htm
    Thanks

  • Parameters for Opening PDF Files in Version XI

    I have an application that opens a PDF document using Reader Version 7 - 10 at a particular page.
    In Version XI this feature has been removed or changed and I can't find any documentation on Opening parameters for latest version.

    Due to your answer I have done some further testing and it appears Version XI does not accept spaces in the file name.
    If I remove the spaces in the file name it works fine.
    I have tried enclosing the file name in single and double quotes but no luck.
    I am using Delphi 7 and calling the routine Shellexecute with application parameter
    C:\Program Files\Adobe\Reader 10.0\Reader\AcroRd32.exe
    and run parameters
    /A"Page=33"C:\MP5\Manuals\1145009 Operating Instructions.PDF
    The above works fine with version 7-10.
    With version XI it fails to find the file.

  • Basis Parameters for CRM

    Hi,
    are there any performance related / recommended parameters for CRM 4 systems?
    Can't find a specific note from SAP like is the case with BW and R/3.
    Many thanks,
    AB

    Hello Andrey,
    I think SAP will provide you this parameters during the Going Live check.
    Regards
    Gregor

Maybe you are looking for