Skip to Content
0
Nov 13, 2006 at 11:09 AM

Creating a z FM Module for Lead Creation

18 Views

Hi Experts,

I need to create a z Function module for lead creation, I'm using BAPI_LEAD_CREATEMULTI for this.

Can anybody tell the details of the Input or the parameter tobe passed to the above BAPI??such as :

<b>TESTRUN LIKE BAPIFLAG-BAPIFLAG OPTIONAL

TABLES

HEADERX STRUCTURE BAPIBUS2000108_HEADER_INSX

ITEMX STRUCTURE BAPIBUS20001_ITEM_INSX

PARTNERX STRUCTURE BAPIBUS20001_PARTNER_INSX

PRODUCTX STRUCTURE BAPIBUS20001_PRODUCT_INSX

ORGANISATIONX STRUCTURE BAPIBUS20001_ORGMAN_INSX

DATEX STRUCTURE BAPIBUS20001_APPOINTMENT_INSX

TEXTX STRUCTURE BAPIBUS20001_TEXT_INSX

SCHED_LINX STRUCTURE BAPIBUS20001_SCHEDLINX

SERVICE_OSX STRUCTURE BAPIBUS20001_SERVICE_OS_INSX

HEADER STRUCTURE BAPIBUS2000108_HEADER_INS

ITEM STRUCTURE BAPIBUS20001_ITEM

ORGANISATION STRUCTURE BAPIBUS20001_ORGMAN_INS

PARTNER STRUCTURE BAPIBUS20001_PARTNER_INS

DATE STRUCTURE BAPIBUS20001_APPOINTMENT_INS

TEXT STRUCTURE BAPIBUS20001_TEXT_INS

PRODUCT STRUCTURE BAPIBUS20001_PRODUCT_INS

SERVICE_OS STRUCTURE BAPIBUS20001_SERVICE_OS_INS

SCHED_LIN STRUCTURE BAPIBUS20001_SCHEDLIN

RETURN STRUCTURE BAPIRET2

SAVED_PROCESS STRUCTURE BAPIBUS20001_OBJECT_ID

CREATED_PROCESS STRUCTURE BAPIBUS20001_HEADER_INS

INPUT_FIELDS STRUCTURE BAPIBUS20001_INPUT_FIELDS

DOCUMENT_FLOW STRUCTURE BAPIBUS20001_DOC_FLOW_INS</b>

What are the parameters (minimum) required tobe passed to this BAPI for creating the LEAD sucessfully??

As all these parameters are defined as optional to this BAPI; so im not in position to decide which to be passed also tried some these; not able to create the lead successfully??

Can anybody help in this regard.??

Thanks & Regards,

Arjun Pawar.