BAPI_ISUACCOUNT_CREATEFROMDATA

Hi guru,
i must create a contract account so i use
BAPI_ISUACCOUNT_CREATEFROMDATA but i must put in transation caa the filed posting lock but i don' t find file the field to pass to the BAPI_ISUACCOUNT_CREATEFROMDATA How i can do?
This is the part of program
REFRESH: t_contractdata.
PERFORM contractacc_FI_number_create USING partner
i_contractaccount.
IF tipoi = 'M'.
i_contractaccountcategory = '51'.
ELSE.
i_contractaccountcategory = '50'.
ENDIF.
wa_contractdata-partner = partner.
wa_contractdata-account_old = data_cc-vkona.
wa_contractdata-auth_group = 'RM'.
wa_contractdata-ca_name = I_serv.
wa_contractdata-resp_comp_code = 'EPI'.
wa_contractdata-addr_no = I_ADDRNUM.
wa_contractdata-interest_key = '01'.
wa_contractdata-dunning_proc = '01'.
wa_contractdata-dun_group_type = 'S1'.
wa_contractdata-planning_group = 'CLPE'.
wa_contractdata-tolerance_group = '0001'. "Gruppo Tolleranza
wa_contractdata-corresp_variant = '0003'. "Var.Corrispondenza
wa_contractdata-clearing_category = '0002'. "Categ.compensaz.
wa_contractdata-terms_of_payment = 'ZD30'.
wa_contractdata-settle_cat_cl_entries = '0002'. "Categ.compensaz.
wa_contractdata-account_determ_id = '09'.
wa_contractdata-account_class = 'Z008'.
wa_contractdata-appl_form = 'ZISU_BI_CAPOFATT'.
wa_contractdata-langu = 'I'.
wa_contractdata-bus_area = '1AA'.
wa_contractdata-sendcontrol_gp = '0001'.
*UPG - Varazzi 06.03.2007 -
wa_contractdata-STANDARD_COMP_CODE = 'EPI'.
*UPG - end
APPEND wa_contractdata TO t_contractdata.
***>>>> insert dttsdimarino 17.10.2006
DATA: extension TYPE bapiparex OCCURS 1.
DATA: wa_extension TYPE bapiparex.
DATA: x_bapi_te_fkkvkp TYPE bapi_te_fkkvkp.
x_bapi_te_fkkvkp-gpart = partner.
x_bapi_te_fkkvkp-vkont = i_contractaccount.
x_bapi_te_fkkvkp-zzinvio_fatt = tipo_invio_fatt.
x_bapi_te_fkkvkp-zidcontratto = idcontratto.
MOVE 'BAPI_TE_FKKVKP' TO wa_extension-structure.
MOVE x_bapi_te_fkkvkp TO wa_extension-valuepart1.
MOVE x_bapi_te_fkkvkp TO wa_extension-valuepart1.
APPEND wa_extension TO extension.
***<<<< end insert dttsdimarino 17.10.2006
ContractAccount create *
CALL FUNCTION 'BAPI_ISUACCOUNT_CREATEFROMDATA'
EXPORTING
contractaccount = i_contractaccount
partner = partner
contractaccountcategory = i_contractaccountcategory
TESTRUN =
IMPORTING
return = wa_return
contract_account = e_contractaccount
TABLES
tcontractaccountdata = t_contractdata
TCTRACLOCKDETAIL =
extensionin = extension

hi
good
go through this code
Look at the below code
CALL FUNCTION 'SD_SALESDOCUMENT_CREATE'
EXPORTING
SALESDOCUMENT =
SALES_HEADER_IN = IT2_HEADER
SALES_HEADER_INX =
SENDER =
BINARY_RELATIONSHIPTYPE = ' '
INT_NUMBER_ASSIGNMENT = ' '
BEHAVE_WHEN_ERROR = ' '
LOGIC_SWITCH = ' '
BUSINESS_OBJECT = ' '
TESTRUN =
CONVERT_PARVW_AUART = ' '
STATUS_BUFFER_REFRESH = 'X'
IMPORTING
SALESDOCUMENT_EX = IT2_SALESDOC
SALES_HEADER_OUT = IT2_HEADERSALES
TABLES
RETURN = IT2_RETURN
SALES_ITEMS_IN = IT2_ORDERITEMSIN
SALES_ITEMS_INX =
SALES_PARTNERS = IT2_ORDERPARTNERS
SALES_SCHEDULES_IN = IT2_ORDERSCHEDIN
SALES_SCHEDULES_INX =
SALES_CONDITIONS_IN = IT2_CONDITIONS
SALES_CFGS_REF =
SALES_CFGS_INST =
SALES_CFGS_PART_OF =
SALES_CFGS_VALUE =
SALES_CFGS_BLOB =
SALES_CFGS_VK =
SALES_CFGS_REFINST =
SALES_CCARD =
SALES_TEXT = IT2_ORDERTEXT
SALES_KEYS =
SALES_CONTRACT_IN =
SALES_CONTRACT_INX =
EXTENSIONIN =
PARTNERADDRESSES =
SALES_SCHED_CONF_IN =
ITEMS_EX =
SCHEDULE_EX =
BUSINESS_EX =
INCOMPLETE_LOG =
EXTENSIONEX =
CONDITIONS_EX =
if it wont work than try with  SD_SALESDOCUMENT_CREATE .
reward point if helpful.
thanks
mrutyun^

Similar Messages

  • Creation of Security Deposits through a function module

    Hi Expert,
    I will be getting data from Oracle CRM to create Business Partner and Contract account. And also to create security deposit request (cash or non cash) against each contract account.
    I will be using BAPI_BusinessPartner_CA_CreateFromData to create Business Partner and BAPI_CtrAcContractAccount_Create to create contract account. Could you please suggest whether my approach is right?
    If this approach is right, Could you please suggest me how to create security deposit request programmatically for each contract account thus created? (through BAPI or any Events)
    Thanks in advance.
    Regards,
    Rupam

    Hi ,
    For security deposits you can use the BAPI - BAPI_CTRASECURITY_CREATE .
    In case of Creation of business partner and contract account you can check the following BAPI's specifically for IS-U .
    BAPI_ISUPARTNER_CREATEFROMDATA - for Business partner .
    BAPI_ISUACCOUNT_CREATEFROMDATA - for contract account .
    Hope this helps .
    Regards ,
    Dewang T.

Maybe you are looking for

  • Leopard Disk made my Mac Pro Kernel Panic

    I have used original OSX 10.5 Leopard Disk to repair my mac pro HD, but it made my Mac Pro Kernel Panic. It was strange that the Mac Pro install disk one can success enter install mode! Although I have conducted RESET PRAM procedure, the Leopard disk

  • Features that are not supported by Excel in the browser and interactive reports will be removed from the saved copy

    I Created a power view in Excel 2013 and uploaded to my Power BI for o365 site. But when i click on my excel file it opens in browser,After that i click on File tab its showing me two option  1. Save a Copy 2.Download a copy When i click on save a co

  • Best Method of Transferring From Old Mac to New Mac

    I've got a 27" iMac on order that's supposed to ship sometime in early January, and am wondering what is the best method of transferring everything from this Mac to the new one (once it arrives)? As I understand it, there are essentially three ways o

  • Oracle 9i Installation error

    friends when i am trying to install oracle 9i through OUI it shows me path of Inventory as : c:\program files\oracle\inventory is corrputed . and it says inventory is corrupted . AND when i am running setup file it shows me javaw is missing . plz hel

  • Fatal Error Code 6 "Invalid Play List"

    Ughh, trying to burn a Blu-ray project and I get this error before Encore can even burn the disc. Using Encore CS5.5.1 Any suggestions? Kellso