Bapi or FM for T.Code CJIC

Hi ,
I need a BAPI or FM For T.Code CJIC to upload the data, for this BDC is not working.
Pls do the need full.
Regards,
Kranthi

Hi Daniel,
Please try FM CO_IH_ORDER_GENER_2.
CALL FUNCTION 'CO_IH_ORDER_GENER_2'
  EXPORTING
    AUART       = RIWO00-AUART
    GEWRK       = VIQMEL-ARBPL
    GEWRK_OBJTY = VIQMEL-CROBJTY
    VIQMEL_I    = VIQMEL
  IMPORTING
    AUFNR       = VIQMEL-AUFNR.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.

Similar Messages

  • BAPI or RFC  FOR T-CODE F-32

    hi all,
            can any one help please..
           i am searching for a bapi or RFC for t-code f-32..please help me if any one know about this.
    regards,
    devi....

    hi all,
            can any one help please..
           i am searching for a bapi or RFC for t-code f-32..please help me if any one know about this.
    regards,
    devi....

  • BAPI FUNCTIONAL MODULES FOR T codes FB50,FB60,KB31n,KP46

    Hi friends
    Can u suggest me BAPI function modules for T codes FB50,FB60,KB31n,KP46
    Thanks in advance

    Use BAPI_INCOMINGINVOICE_PARK
    Import parameters HEADERDATA is mandatory in BAPI_INCOMINGINVOICE_PARK .
    Also tables ITEMDATA and RETURN are mandatory.
    Check the following sample code
    LOOP AT i_ekbe INTO wa_ekbe.
    CLEAR: wa_invoice_header,
    i_invoice_item,
    i_return,
    v_inv_doc_no,
    v_fisc_year,
    wa_return.
    REFRESH: i_invoice_item,
    i_return.
    Appending Invoice header Work Area
    wa_invoice_header-invoice_ind = c_x.
    wa_invoice_header-doc_date = sy-datum.
    wa_invoice_header-pstng_date = wa_ekbe-budat.
    wa_invoice_header-comp_code = c_100.
    wa_invoice_header-gross_amount =
    wa_invoice_header-currency = c_usd.
    wa_invoice_header-calc_tax_ind = c_x.
    Appending Invoice item data
    i_invoice_item-invoice_doc_item = '0001'.
    i_invoice_item-po_number = wa_ekbe-ebeln.
    i_invoice_item-po_item = wa_ekbe-ebelp.
    i_invoice_item-tax_code = ' '.
    i_invoice_item-item_amount = '20.00'.
    i_invoice_item-quantity = '10.000'.
    i_invoice_item-ref_doc = '5600000634'.
    i_invoice_item-ref_doc_year = '2006'.
    i_invoice_item-ref_doc_it = '10'.
    i_invoice_item-po_unit = 'EA'.
    i_invoice_item-COND_TYPE = 'VPRS'.
    APPEND i_invoice_item.
    Calling module BAPI_INCOMINGINVOICE_PARK
    CALL FUNCTION 'BAPI_INCOMINGINVOICE_PARK'
    EXPORTING
    headerdata = wa_invoice_header
    ADDRESSDATA =
    IMPORTING
    invoicedocnumber = v_inv_doc_no
    fiscalyear = v_fisc_year
    TABLES
    itemdata = i_invoice_item
    NFMETALLITMS =
    ACCOUNTINGDATA =
    GLACCOUNTDATA = i_gla
    MATERIALDATA = i_mat
    TAXDATA =
    WITHTAXDATA =
    VENDORITEMSPLITDATA =
    return = i_return.
    READ TABLE i_return INTO wa_return
    WITH KEY type = c_e.
    IF sy-subrc EQ 0.
    ENDIF.
    ENDLOOP.
    Reward if useful.

  • Bapi or Func for T-code LT0G

    Hi, everybody,
    Is there any bapi or function module for t-code: LT0G? 
    or anyone can show me how to do it using BDC?(we must generate a TO for every item, one item one TO)

    hello,
    i tried for u r tcode its working fine...
    report ZTEST_12334
           no standard page heading line-size 255.
    include bdcrecx1.
    parameters: dataset(132) lower case.
       DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***
      If it is nessesary to change the data section use the rules:
      1.) Each definition of a field exists of two lines
      2.) The first line shows exactly the comment
          '* data element: ' followed with the data element
          which describes the field.
          If you don't have a data element use the
          comment without a data element name
      3.) The second line shows the fieldname of the
          structure, the fieldname must consist of
          a fieldname and optional the character '_' and
          three numbers and the field length in brackets
      4.) Each field must be type C.
    Generated data section with specific formatting - DO NOT CHANGE  ***
    data: begin of record,
    data element:
            LGNUM_001(003),
    data element:
            LOW_002(010),
    data element:
            HIGH_003(010),
    data element:
            LOW_004(003),
    data element:
            P_VBELN_005(001),
    data element:
            P_TAPOS_006(001),
          end of record.
    End generated data section ***
    start-of-selection.
    perform open_dataset using dataset.
    perform open_group.
    do.
    read dataset dataset into record.
    if sy-subrc <> 0. exit. endif.
    perform bdc_dynpro      using 'RLLT0G00' '1000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'P_TAPOS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ONLI'.
    perform bdc_field       using 'LGNUM'
                                  record-LGNUM_001.
    perform bdc_field       using 'VBELN-LOW'
                                  record-LOW_002.
    perform bdc_field       using 'VBELN-HIGH'
                                  record-HIGH_003.
    perform bdc_field       using 'BWLVS-LOW'
                                  record-LOW_004.
    perform bdc_field       using 'P_VBELN'
                                  record-P_VBELN_005.
    perform bdc_field       using 'P_TAPOS'
                                  record-P_TAPOS_006.
    perform bdc_transaction using 'LT0G'.
    enddo.
    perform close_group.
    thank u,
    santhosh

  • BAPI: bapi or RFC for t-code f-28

    Hi all,
            can any one tell me bapi or rfc available for t-code f-28
           please help me...
    Regards,
    devika G.

    Hi,
    i dont think there is a BAPI for this Transaction...
    you can do  BDC on F-28
    FORM fill_bdc_data_f-28_9005 USING p_i_mult_doc TYPE c.
    **BDC from screen 9005
    DATA : l_amt_bdc(13), l_amt_bdc_remain(13), l_amt_bdc_mult(13),
    l_amt_bdc_mult_remain(13), l_assignment(14), l_period(2),
    l_amount(13).
    CLEAR t_bdcdata.
    REFRESH t_bdcdata.
    PERFORM bdc_dynpro USING 'SAPMF05A' '0103'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=AB'. "OK CODE - doc overview
    **get user default date format and pass date in that format
    PERFORM convert_date_to_user_format USING bkpf-bldat.
    PERFORM bdc_field USING 'BKPF-BLDAT' w_date. "cheque date
    CLEAR w_date.
    PERFORM bdc_field USING 'BKPF-BLART' i_blart. "doc type
    PERFORM bdc_field USING 'BKPF-BUKRS' i_bukrs. "comp code
    **get user default date format and pass date in that format
    PERFORM convert_date_to_user_format USING bkpf-budat.
    PERFORM bdc_field USING 'BKPF-BUDAT' w_date. "posting date
    CLEAR w_date.
    l_period = sy-datum+4(2).
    PERFORM bdc_field USING 'BKPF-MONAT' l_period. "period
    PERFORM bdc_field USING 'BKPF-WAERS' 'INR'. "currency
    PERFORM bdc_field USING 'BKPF-BKTXT' i_bankl. "doc. hdr. text
    PERFORM bdc_field USING 'BKPF-XBLNR' i_xblnr. "Ref. Document No.
    PERFORM bdc_field USING 'BSEG-ZUONR' i_zuonr. "Assignment(Depot Code)
    PERFORM bdc_field USING 'RF05A-KONTO' i_bank_gl. "Bank GL acc
    PERFORM bdc_field USING 'BSEG-GSBER' i_gsber. "Business Area
    l_amount = bseg-wrbtr.
    PERFORM bdc_field USING 'BSEG-WRBTR' l_amount. "Amount
    PERFORM bdc_field USING 'BSEG-PRCTR' ''. "Profit Center
    **open items data
    PERFORM bdc_field USING 'RF05A-AGKOA' 'D'. "Acc type (D=customers)
    PERFORM bdc_field USING 'RF05A-XNOPS' 'X'. "Std OIs check box
    **end of first screen
    **document overview screen
    PERFORM bdc_dynpro USING 'SAPMF05A' '0700'. "Overview Screen
    PERFORM bdc_field USING 'BDC_CURSOR' 'RF05A-AZEI1(01)'. "cursor
    PERFORM bdc_field USING 'BDC_OKCODE' '/00'. "OK CODE
    PERFORM bdc_field USING 'RF05A-NEWBS' '19'. "posting key
    PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
    PERFORM bdc_field USING 'RF05A-NEWUM' 'B'. "Spl GL Indicator
    **for single document selected
    CLEAR l_amt_bdc.
    IF p_i_mult_doc = ''.
    ***new screen - next line item
    PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE
    **for single document, use the bouncing amount calculated earlier
    l_amt_bdc = w_amt_ant_bouncing.
    PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc. "amount
    **due date - same as posting date on screen
    **get user default date format and pass date in that format
    PERFORM convert_date_to_user_format USING bkpf-budat.
    PERFORM bdc_field USING 'BSEG-ZFBDT' w_date. "due date
    CLEAR w_date.
    **assignment
    CLEAR l_assignment.
    CONCATENATE t_seldoc_ant_bouncing-belnr
    t_seldoc_ant_bouncing-gjahr INTO l_assignment.
    PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
    PERFORM bdc_field USING 'BSEG-GSBER' i_gsber.
    **if there is some remaining amount, then go for another line item
    IF w_rem_amt_ant_bouncing > 0.
    PERFORM bdc_field USING 'RF05A-NEWBS' '15'. "posting key
    PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
    **new screen
    PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
    PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-ZTERM'. "CURSOR
    PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE-ENTER
    l_amt_bdc_remain = w_rem_amt_ant_bouncing.
    PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
    PERFORM bdc_field USING 'BSEG-ZTERM' '0001'.
    **AGAIN
    PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
    PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-WRBTR'. "CURSOR
    PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE-SAVE
    PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_remain.
    PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term -hardcoded
    PERFORM bdc_field USING 'BSEG-SKFBT' l_amt_bdc_remain.
    ENDIF.
    **multiple documents
    ELSE.
    **initialize remaining amount to amt entered on screen
    l_amt_bdc_mult_remain = bseg-wrbtr.
    LOOP AT t_seldoc_ant_bouncing.
    IF l_amt_bdc_mult_remain > 0.
    IF bseg-wrbtr > t_seldoc_ant_bouncing-rem_amt.
    l_amt_bdc_mult = t_seldoc_ant_bouncing-rem_amt.
    ELSE.
    l_amt_bdc_mult = bseg-wrbtr.
    ENDIF.
    **remaining amt = screen amt - amt calculated above.
    l_amt_bdc_mult_remain = l_amt_bdc_mult_remain - l_amt_bdc_mult.
    PERFORM bdc_dynpro USING 'SAPMF05A' '0303'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE
    PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult. "amount
    PERFORM bdc_field USING 'BSEG-GSBER' i_gsber. "Business Area
    **due date - same as posting date on screen
    **get user default date format and pass date in that format
    PERFORM convert_date_to_user_format USING bkpf-budat.
    PERFORM bdc_field USING 'BSEG-ZFBDT' w_date. "due date
    CLEAR w_date.
    **assignment
    CLEAR l_assignment.
    CONCATENATE t_seldoc_ant_bouncing-belnr
    t_seldoc_ant_bouncing-gjahr INTO l_assignment.
    PERFORM bdc_field USING 'BSEG-ZUONR' l_assignment. "assignment
    **posting key 19 for all but last document
    PERFORM bdc_field USING 'RF05A-NEWBS' '19'. "posting key
    PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
    PERFORM bdc_field USING 'RF05A-NEWUM' 'B'. "Spl GL
    ENDIF.
    ENDLOOP.
    ENDIF.
    **post remaining amount
    IF p_i_mult_doc = 'X'.
    **new screen if there is some amount left
    IF l_amt_bdc_mult_remain > 0.
    **posting key 15 with remaining amount
    PERFORM bdc_field USING 'RF05A-NEWBS' '15'. "posting key
    PERFORM bdc_field USING 'RF05A-NEWKO' i_kunnr. "customer
    PERFORM bdc_field USING 'RF05A-NEWUM' ''. "Spl GL
    **new screen
    PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
    PERFORM bdc_field USING 'BDC_OKCODE' '=BU'. "OK CODE
    PERFORM bdc_field USING 'BSEG-WRBTR' l_amt_bdc_mult_remain.
    PERFORM bdc_field USING 'BSEG-ZTERM' '0001'. "pmt term - hardcoded
    ELSE.
    **if no amount is left, no need for a further line item
    PERFORM bdc_field USING 'RF05A-NEWBS' ''. "posting key
    PERFORM bdc_field USING 'RF05A-NEWKO' ''. "customer
    PERFORM bdc_field USING 'RF05A-NEWUM' ''. "Spl GL
    ENDIF.
    ENDIF.
    **clear variables
    CLEAR : l_amount, l_assignment, l_amt_bdc,
    l_amt_bdc_remain,l_amt_bdc_mult, l_amt_bdc_mult_remain.
    ENDFORM. " fill_bdc_data_F-28_9005
    Regards

  • BAPI Extending Vendor for Company Code

    Gurus,
    Is anybody aware of a BAPI which can be used to extend a vendor for multiple compnay codes .
    regards
    jain

    >
    J@Y wrote:
    > in the fm goto> documentation
    >
    >
    With this method you can create or extend a vendor online.
    I think the issue here is that it is an online BAPI - you have to go through the screens.

  • BAPI or FM for t-code IW34

    Hi all,
    i need create service order for existing service notifications (like transaction IW34).  I have already used bapi BAPI_ALM_ORDER_MAINTAIN to create service order, but i dont know link or connecting the generated order with the notification.
    Please let me know Is there any process to do this ??
    Best Regards,
    Daniel Pinto

    Hi Daniel,
    Please try FM CO_IH_ORDER_GENER_2.
    CALL FUNCTION 'CO_IH_ORDER_GENER_2'
      EXPORTING
        AUART       = RIWO00-AUART
        GEWRK       = VIQMEL-ARBPL
        GEWRK_OBJTY = VIQMEL-CROBJTY
        VIQMEL_I    = VIQMEL
      IMPORTING
        AUFNR       = VIQMEL-AUFNR.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Finding BAPI/RFC/FM For ME41(Create RFQ)

    Hi,
       Plz help me for finding Bapi/Rfc/Fm for t-code ME41(Create RFQ).
    Thanks,
    Sunil Sahoo

    hi
    we have BAPI'S for many requirements like
    BAPI_VENDOR_CREATE
    BAPI_REQUISITION_CREATE.
    BAPI_QUOTATION_CREATEFROMDATA
    you try this BAPI
    ME_CREATE_REQUISITION_EXT
    hope this helps
    regards
    Aakash

  • Standard or Customizing Bapi for T-code F-44

    Hi
    I need to clear vendor open invoices using BAPI's for T-code F-44 .I've got through various FM like <b>bapi_acc_document_post</b> and <b>bapi_ar_acc_getbalanceditems</b> but could'nt find solution because this FM's are for customer clearing the open items from table BSAD(cleared accounts of customer).Have any boby worked on this tcode to clear vendor accounts using bapi's or do we have any standard FM to use the scenario same as FM mentioned above for table BSAK(vendor clear items).
    Its really simple working with bdc's to transfer data from flat file to the above transaction.But as known every vendor has huge sets of items and this could be a huge performance issue....so to avoid this in future we need to work on this using exclusively BAPI's......Any suggestions or sample codes wud surely be appreciated....
    Thanks in Advance......

    hi,
    look here
    Re: BAPI for transaction F-03
    <b>Reward points</b>
    Regards

  • Standard BAPI for T-code f-44

    Hi
    I need to clear vendor open invoices using BAPI's for T-code F-44 .I've got through various FM like <b>bapi_acc_document_post</b> and <b>bapi_ar_acc_getbalanceditems</b> but could'nt find solution because this FM's are for customer clearing the open items from table BSAD(cleared accounts of customer).Have any boby worked on this tcode to clear vendor accounts using bapi's or do we have any standard FM to use the scenario same as FM mentioned above for table BSAK(vendor clear items).
    Its really simple working with bdc's to transfer data from flat file to the above transaction.But as known every vendor has huge sets of items and this could be a huge performance issue....so to avoid this in future we need to work on this using exclusively BAPI's......Any suggestions or sample codes wud surely be appreciated....
    Thanks in Advance......

    Thanks for ur response Anji Reddy garu,
    I've tried to check up this given FM but could'nt find it here in my sap system both in QAS and in DEV more  the FM <b>Bapi_payit_post_clearing</b> is also not available here in my sap system what could be the problem it should display this standard FM if available right but its say FM does not exit......Can u do me a favour of forwarding the source code for both the FM's so that i can create a new customizing FM if its fits my requirement.....

  • BAPI for t-code MIR7

    Hi Friends,
    Can anybody help me get the BAPI for t-code MIR7? Also, please provide the code if available.
    Thanks and Regards
    Abinash Kumar

    Hi Amit,
    Can you give me a sample code for BAPI .. if you have any..... Also I need to know what all mandatory data I need to supply to HEADERDATA and  ITEMDATA.
    Thanks and Regards
    Abinash

  • IDOC/BAPI for T.code PIC01 to uplaod using LSMW

    Hi friends,
    I want to upload the data for T.code PIC01. can any one worked using IDOC/BAPI to uplaod using LSMW.
    Thanks,
    Sivaram.

    What T-code is that PIC01??
    --Ragu

  • BAPI FOR T-CODE PA30

    Hi GURU ,
    Is there any BAPI for T-Code PA30 .
    Please reply me.

    Hi
    Go through This link
    bapi for pa30
    Ranga

  • BAPI for t-code F-43

    Any one can tell me, is there any BAPI for t-code F-43.
    I have a req to create BDC session for t-Code F-43.
    I think instead of BDC,better BAPI.Please anyone knows,tell me.
    Thanks

    thanks for bapi..but in this bapi,there is no field for payee(EMPFB),what it is in t-code f-43.
    So if any other bapi,pls send me
    Thanks in advance

  • For transaction code MD61, I want to upload data using BAPI

    Hi,
    for transaction code MD61, I want to upload data using BAPI.
    Which BAPi I ll call ?
    Can anyone suggest me how to do it with any simple example program ?

    Refer the thread for details about coding-
    BAPI_REQUIREMENTS_CREATE
    Reards,
    Amit

Maybe you are looking for

  • IPhone and Subaru 2011 Legacy

    Recently purchased a 2011 Subaru Legacy with a navigation system.  Bluetooth is compatible with the Verizon Iphone, but does not support the auto reconnect feature (transferring the call back to the phone when turning off the car).  Most other phones

  • WMS2011 Domain Logon / Network Issues

    We have recently installed 3 MS6200 Series HP MultiPoint Servers for a school and we are having a sporadic problem with one or more of the servers losing connectivity with the domain, preventing users from loggin on to the clients (t150 zero clients)

  • In OS 10.8.4 is there a way to delete unread emails as a batch?

    I have a lot of unread emails. In OS 10.8.4 is there a way to delete unread emails as a batch?

  • Windows keeps thinking Premiere is not responding?

    Hey guys, so I am curious to know if anyone else has encountered this and how it might be solved. Basically the problem presents itself as Windows immediately greys out  Premiere and has the 'This program has stopped responding, please wait  while Wi

  • AET and extraction into BI

    Hi guys,  BI consultant here so apologies I don't speak the language but... the CRM developer has added 3 fields to crmd_order_h via AET.  He has marked all the 3 fields as 'BW reporting relevant'. I have now checked the BW extractors in the hope tha