on 11-13-2006 11:09 AM
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.
Hi Arjun,
To create a Lead you need to fill header headerx and created process structures only. ( Test run should be true ).But this will leave leave so many header data as blank which you need and The lead will be created with Errors that you can see in lead transaction. So Its better to fill all the necessary data initially otherwise you may need to Procees the lead later.
For Details of the fields in the BAPI just click on FM Documentation.
Regards,
Animesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.