Function Module require for Accounting Document

Hi All,
Is there any Function Module available for getting Accounting document no which is created after IR.
Regards,
Paras

Hi,
You can use BAPI_ACC_DOCUMENT_POST.
Regards,
Eli

Similar Messages

  • Functional Module required for getting list of successful jobs

    Hi All,
    There is one function module BP_JOB_SELECT which gives me name of unsuccessful job. Now I want to find the name of all successful job. Can anyone please tell me the function module name for that?
    Thanks in advance,
    Siddarth.

    You can use the same FM - BP_SELECT_JOB.
    While filling structure JOBSEL_PARAM_IN, you can pass FINISHED = 'X' and
    SCHEDUL = ' '
    READY     = ' '
    RUNNING  = ' '
    ABORTED = ' '
    Regards,
    Mohaiyuddin

  • Function Module/BAPI for updating Document Status.

    Hi Experts,
    Is there any Function Module/BAPI available for updating the document status ?
    Thank You,
    Radhika.

    unresolved!

  • Function Module/BAPI For Material Document

    Dear All,
    I am looking for a function Module/BAPI to get details relevant for a Material Document.
    I can get those details using table MSEG & MKPF, but still looking for a Function Module.
    Kindly help.

    Hi
    Try with these BAPI's
    BAPI_GOODSMVT_GETITEMS
    BAPI_GOODSMVT_GETDETAIL
    Regards
    Brahmaji

  • Function module CVAPI_DOC_VIEW for opening document by webdynpro applicatio

    Hello all,
    i have a requierement to open the document when user click in filename i am using this function module but it is giving me error
    'Screen output without connection to user.'
    CALL FUNCTION 'CVAPI_DOC_VIEW'
          EXPORTING
            pf_dokar               = ls_final-dokar
            pf_doknr               = ls_final-doknr
            pf_dokvr               = ls_final-dokvr
            pf_doktl               = ls_final-doktl
         PF_HOSTNAME            = '10.141.104.40'
         pf_appl_start          = 'X'
         PF_GET_URL             = 'X'
         pf_apptp               = '1'
        PF_ASK_FILENAME        = ' '
         pf_filename            = lv_filep
        PS_FILE                =
        PF_PARENT              =
         PF_USE_DYNP            = 'X'
        PS_DRAP_AUDIT          =
      IMPORTING
        PFX_FILE               =
        PFX_URL                =
        PFX_VIEW_INPLACE       =
       EXCEPTIONS
         error                  = 1
         not_found              = 2
         no_auth                = 3
         no_original            = 4
         OTHERS                 = 5.
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.

    Hi Shilpi,
    I had the same error.  I got round them by pulling parts of the FM out as below
        call function 'CV120_DOC_GET_APPLICATION'
          exporting
            pf_dokar  = ls_drad-dokar
            pf_doknr  = ls_drad-doknr
            pf_dokvr  = ls_drad-dokvr
            pf_doktl  = ls_drad-doktl
          importing
            psx_file  = lv_file
          exceptions
            not_found = 1
            no_auth   = 2
            error     = 3
            others    = 4.
        concatenate 'file://' lv_file-filename into lv_url.
        lv_url2 = lv_url.
        call method lo_window_manager->create_external_window
          exporting
            url            = lv_url2
            modal          = abap_false
            has_menubar    = abap_true
            is_resizable   = abap_true
            has_scrollbars = abap_true
            has_statusbar  = abap_true
            has_toolbar    = abap_true
            has_location   = abap_true
          receiving
            window         = lo_window.
        lo_window->open( ).
    Regards
    Bruce

  • Process code's function module required for the IDOC Message type PROACT

    Hi,
    I am trying to trigger an IDOC from ME32K transaction which will carry my Contract agreement details to XI. The IDOC I am using for this purpose is PROACT.PROACT01. But I couldn't find the outbound process code / Function module for the process code associated to this IDOC message type.
    Pls help me out....
    Thanks,
    Ram Kalyan

    I checked table EDIFCT for the message type and found this:
    Function module            Function type    Basic type                                      Message Type
    IDOC_INPUT_PROACT          F               PROACT01                                       PROACT
    Oops...I think you are looking for outbound..Ignore

  • Function Module Required for fetching contact details from BUT000

    Hi Everybody.
    I have created a contact using transaction BP.
    these details according to me will get saved in standard table BUT000.
    Now i need standard FM used for fetching all these Contact details.
    Help me i am new to CRM.

    Hi Amit,
    Please check the following:
    Data Retrieval Function Modules:
    Name                                                             Description
    BAPI_BUPA_ADDRESSES_GET              Determine All Addresses
    BAPI_BUPA_ADDRESS_GETDETAIL                Read Address
    BAPI_BUPA_ADDRESS_GET_NUMBERS          Read Address Numbers
    BAPI_BUPA_BANKDETAILS_GET                Determine All Bank Details
    BAPI_BUPA_BANKDETAIL_GETDETAIL            Read Bank Details
    BAPI_BUPA_BANKDETAIL_NUMBERS               Read Bank Details Numbers
    BAPI_BUPA_CENTRAL_GETDETAIL               Read Central Data
    BAPI_BUPA_EXISTENCE_CHECK              Check Existence of Business Partner
    BAPI_BUPA_GET_NUMBERS                               Read Business Partner Numbers
    BAPI_BUPA_RELATIONSHIPS_GET               Determine All BP Relationships
    BAPI_BUPA_ROLES_GET                               Determine All Roles
    BAPI_BUPA_ROLE_EXISTENCE_CHECK          Check Existence of Role
    BAPI_BUPA_SEARCH                              Search Business Partner for Telephone, E-Mail, Address
    BAPI_BUPA_STATUS_GETDETAIL             Business Partner: Read Status
    BAPI_BUPR_ACTIVITYP_EXISTCHECK              Check Existence of Contact Partner Relationship
    BAPI_BUPR_CONTP_ADDRESSES_GET          Read Contact Person Relationship Addresses
    BAPI_BUPR_CONTP_ADDR_GETDETAIL          Read Contact Person Relationship Addresses
    BAPI_BUPR_CONTP_GETDETAIL              Read Contact Person Relationship
    BAPI_BUPR_EMPLO_ADDRESSES_GET        Read Contact Person Relationship Addresses
    BAPI_BUPR_EMPLO_ADDR_GETDETAIL        Read Employee Relationship Address
    BAPI_BUPR_EMPLO_GETDETAIL             Read Employee Relationship
    BAPI_BUPR_RELATIONSHIP_GET              Read General Relationship
    BAPI_BUPR_RELSHIP_CHECKEXIST             Check Existence of General Relationship
    BAPI_BUPR_RELSHIP_GET_DETAIL             Read General Relationship
    BAPI_BUPR_RESP_EMPLO_CHEKEXIST        Read Relationship of Employee Responsible
    BUPA_PARTNER_CONTACT_SEARCH           Searches business partners for telephone, E-Mail, address
    CRM_ORDER_READ                     Get all the Service Contract details.
    Hope this helps!
    Regards,
    Saumya

  • Function module required for BOM Changes

    Dear SAP Guru
    I need the function module which gives me the details of changes done in the BOM.
    Scenario: Need to develop the report which gives only the details of BOM changed on the given date. The BOM level might vary.
    Regards
    Rahul

    Dear
    I think you should have ECM in place to have tracability for any changes carried out in BOM .
    Refer earlier posting : Re: ECM ECR
    If the ECM is in place , then you can see what changes has been done in CC02/03 Environmnet - > Reporting -> Bill of Material.
    Otherwise please try the following Functinal Module : You can also try CEWB and CS80
    1. CSAP_BOM_ITEM_MAINTAIN
    2.CS_BOM_EXPL_MAT_V2
    3.CHANGEDOCUMENT_READ  and CDHDR
    Refer : http://help.sap.com/saphelp_40b/helpdata/en/92/58b521417011d189ec0000e81ddfac/content.htm
    Regards
    JH

  • Function Module required for getting Value Range data

    I need a function module where in i can get the data from a value range in a domain.
    Message was edited by:
            Gurpreet Singh

    Hi,
    You can use this code to get the Doman's fixed values.
    DATA:  lt_fixed_values     TYPE ddfixvalues,
      CALL METHOD cl_abap_typedescr=>describe_by_name
        EXPORTING
          p_data      = 'Domain_name' " Pass the domain name here
        RECEIVING
          p_descr_ref = lcl_abap_typedescr.
      TRY.
          lcl_abap_elemdescr ?= lcl_abap_typedescr.
        CATCH cx_sy_move_cast_error.
      ENDTRY.
      IF lcl_abap_elemdescr IS BOUND.
        CALL METHOD lcl_abap_elemdescr->get_ddic_fixed_values
          EXPORTING
            p_langu        = sy-langu " Give the language
          RECEIVING
            p_fixed_values = lt_fixed_values " This table will have the fixed values
          EXCEPTIONS
            not_found      = 1
            no_ddic_type   = 2
            OTHERS         = 3.
      ENDIF.
    Regards,
    Sesh

  • Function module required for time stamp conversion into MST

    Hello,
    Please let me know if there is a SAP function module that can convert timestamp from GMT or provided timestamp into MST. I will need to use this function in BW transformation.
    Thanks.

    Try this one: TZ_GLOBAL_TO_LOCAL.
    Haven't used it myself yet, but it looks good.
    Good luck!
    Best regards,
    Zhou

  • Function Module required for IBASE component

    Hi Experts,
    Is there any FM which can get the warranty start date with IBASE component??
    Warranty is assigned to IBASE component under relationship tab.
    Points shall be rewarded for sure
    Regards,
    Madhu

    Hi Madhu,
    This the Table that is used to retrieve the Warranty Profile for the Installed Base. CDBD_IL_IBCWTY - Installed Base Components - Warranty Relationship. If you know the IBASE no and the corresponding COMP number then you can get the Warranty related details. Till now I was unable to find any FM that would do the same.
    For the IBASE related details, you can have a look at the following Function Group. IB_CRM_API - IB: CRM APIs for IBase.
    Thanks,
    Samantak.
    Rewards points for useful answers.

  • Update Function Module Required for Deletion/Truncation of Open Hub Table

    Hi All,
    I need to delete/Truncate DB tables i.e. Ztables using Update FM
    can anyone help me with few Update FM.
    Regards,
    NS.

    If you want to Delete Custom DB table then you can use FM RS_DD_DELETE.
    You can delete, if the table is not used anywhere in SAP.
    Close thread if you got a answer
    Kanagaraja L
    Edited by: Kanagaraja  Lokanathan on Mar 16, 2010 9:54 AM

  • Any functional module to get financial document based on billing document

    hi all,
    do we have any functional module to get accounting document (bseg-BELNR) based on billing document (bseg-VBELN)?
    i have a requirement to retrieve the clearing document (bseg-augcp) & date(bseg-augdt) from BSEG with billing document.
    billing document is not a key, so i would like to retrieve the accounting document from any function module and use that to get clearing document (bseg-augcp) & date(bseg-augdt).
    thanks.

    hi all,
    i got other option to get this....thanks.
          select single * from bkpf
          where bukrs = <data>-werks
            and AWTYP = 'VBRK'
            and AWKEY = billing doc.
          if sy-subrc EQ 0.
            select single * from bseg
            where bukrs = bkpf-bukrs
              and belnr = bkpf-belnr
              and gjahr = bkpf-gjahr.
            if sy-subrc EQ 0.
              <data>-AUGDT = bseg-augdt.
              <data>-AUGBL = bseg-augbl.
            endif.

  • Exit/Badi for Accounting Document

    Dear Friends
    Is there any user exit/BADI for accounting document. My requirement is quite simple which you would also faced in many implimentation. Client wants number ranges business area/plantwise. I was just thinking as plant/business area is a line item field it may be little difficult to have different number range controll at that level, so I thought we could use user id as the import parameter. But these is possible once I get any user exit/badi for number range change. We dont want to create so many document type also.
    Thanks and Regards
    Pankaj Gupta

    Hi Marta,
    Check these notes
    SAP Note 1259505 - FAQ: New cancellation procedure in SD,
    SAP Note 400000 - FAQ: Transaction VF11: Cancellation of SD billing documents
    See with attention note 1259505 question 4. It says
    Most of the userexits in the SD-FI interface (see note 301077) will not be
    performed.
    So, try to do it with BTE's
    Sorry, try with USEREXIT_PRICING_COPY in program RV61AFZA.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Nov 21, 2011 9:15 AM

  • BADI/EXIT for MIGO for accounting  document posting

    Hi
    I am using MIGO where SAP post Mat Document and Accountying document.
    This Uses FM  'MB_POST_GOODS_MOVEMENT  < Include LMIGOKG1>, once this FM executed both MKPF and BKPF data gets filled . I can see tha data for MKPF in debug but I am not able to see data for Accounting Document.Even I cant see the Acc. document no assigned by SAP
    I need to change some fieds for Acc. Document <BSEG-VBUND>
    Can any one help me to find in which structure or table I can get data for Accounting document

    am using the method POST_DOCUMENT,
    am writing the code like..
    sample code..
    DATA: wa_mseg type mseg,
    wa_mch1 type mch1,
    wa_ausp type ausp.
    loop at it_mseg into wa_mseg.
    *select single * from mch1 into wa_mch1 where matnr = wa_mseg-matnr*
                                                               and charg = wa_mseg-charg.
    if sy-subrc is initial.
    *select * from ausp into wa_ausp where objek = wa_mch1-cuonj_bm*
                                                   and klart = '023'.
    if sy-subrc is initial.
    if wa_ausp-atwrt EQ 'ACCEPTED'.
    continue.
    else.
    if wa_ausp-atwrt EQ 'REJECTED'.
    call function 'popup_to_display_text'.
    endif.
    endif.
    endif.
    endif.
    endloop.
    when i debug ,i find no data in the mch1 table ..
    any help..
    thanx

Maybe you are looking for

  • After iOS7 update I cannot launch the music app. It crashes after a few seconds of white screen. What to do?

    Just updated my iPhone 5 (16g) to iOS7 and now I cannot launch the music app anymore. It opens and then just crashes after a few seconds of white screen. Also If I go to Settings General About the phone crashes all the time after just a few seconds.

  • Copying photos from HD to IPOD

    IPOD Video: Hi new to the game...i am trying to copy imgaes (jpg's) from HD onto my IPOD. get that famous message "cannot write to or read". Help..apple dont seem to care..

  • How to restore photo previews

    When I upgraded to iLife11, my photo previews disappeared.  How do I restore them?

  • Resize smaller not working for JTextArea

    I have a series of JTextAreas and JTextFields being added to a JPanel. The problem is I want them to always be the same size as the JPanel in the horizontal direction. This works fine for expanding the window, the JTextAreas and JTextFields expand wi

  • Batch Reports in HFM

    We are on version 11.1.1 of HFM and we are trying to use the feature where you can batch reports. We can get the batches set up and they run but it seems that when we try to use the bursting options, we can't get any emails to go out. We followed the