I need the function module name

i got the requirement to post data to FBS1 FB01 FBV1 transaction before posting the data to transaction i need to check the data in the iternal table for validity . this can be hadled by function modules or bapi
if any now the name please reply

hi  santaliestra.
XBLNR(16) TYPE C,                  " Reference
BLDAT(10) TYPE C,                  " Document date
BUDAT(10) TYPE C,                  " Posting date
BKTXT(25) TYPE C,                  " Short text
BLART(2)  TYPE C,                  " Document type
WAERS(5)  TYPE C,                  " Currency
BUKRH(4)  TYPE C,                  " Company code in Header
    STODT(10) TYPE C,                  " Reversal date
    STGRD(2)  TYPE C,                  " Reason
    BUKRS(4)  TYPE C,                  " Company code
    GSBER(4)  TYPE C,                  " Business area
    HKONT(10) TYPE C,                  " Account number
    KOSTL(10) TYPE C,                  " Cost center
    AUFNR(12) TYPE C,                  " Order number
    PROJK(8)  TYPE C,                  " Wbs
    NPLNR(12) TYPE C,                  " Network
    VORNR(4)  TYPE C,                  " Network activity
    PRCTR(10) TYPE C,                  " Profit center
    ZUONR(18) TYPE C,                  " Assignment number
    PERNR(8)  TYPE C,                  " Personnel number
    VBUND(6)  TYPE C,                  " Trading parnter
    WRBTR(13) TYPE C,                  " Amount
    DMBTR(13) TYPE C,                  " Amount
    MWSKZ(2)  TYPE C,                  " Tax code
    SGTXT(50) TYPE C,                  " Item text
    MATNR(18) TYPE C,                  " Material
    LZBKZ(3)  TYPE C,                  " Bank indicator
    LANDL(3)  TYPE C,                  " Supplying country
    WWCNT(3)  TYPE C,                  " Ship to country
    WWPRL(2)  TYPE C,                  " Product line
    WWPG1(5)  TYPE C,                  " Product group
    WERKS(4)  TYPE C,                  " Plant
    BZIRK(6)  TYPE C,                  " Sales district
    BATR2(3)  TYPE C,                  " Bus. Attr 2
    WWPL4(11) TYPE C,                  " Product level 4
    WWPL5(14) TYPE C,                  " Product level 5
    PRODT(18) TYPE C,                  " Product
    KNDNR(10) TYPE C,                  " Customer
    VKORG(4)  TYPE C,                  " Sales org.
    VTWEG(2)  TYPE C,                  " Distribution channel
    SPART(2)  TYPE C,                  " Division
    VKBUR(4)  TYPE C,                  " Sales office
    INDUS(4)  TYPE C,                  " Industry
    CSGRP(2)  TYPE C,                  " Customer group
    MTNR1(18) TYPE C,                  " Material
    VKGRP(3)  TYPE C,                  " Sales group
    BATR1(18) TYPE C,                  " Bus. Attr 1
    WWPL3(8)  TYPE C,                  " Product level 3
    FKART(4)  TYPE C,                  " Billing type
    MGENT(8)  TYPE C,                  " Management entity
    WWPL6(18) TYPE C,                  " Product level 6
for these fields i need to check for validity .

Similar Messages

  • Tell me the function module name

    Hi ,
       By using material in MSEG table I need to get BOM field from MAST table. Then using that BOM I have to retrieve BMENG from STKO table and POSTP (item category) in STOP table and here I need to search table STPO with BOM#; retrieve component quantity from field STPO/MENGE for all materials with Item category N     …
    I can do the above things by using select for all entries…
    But One function module is there to do all these things..
    Can any one tell me the function module name…
    Thanks,
    Navaneeth

    check this  BOM related
    CSAP_BOM_ITEM_MAINTAIN
    CSAP_DOC_BOM_CREATE
    CSAP_DOC_BOM_DELETE
    CSAP_DOC_BOM_ITEM_SELECT
    CSAP_DOC_BOM_MAINTAIN
    CSAP_DOC_BOM_READ
    CSAP_MAT_BOM_ALLOC_CREATE
    CSAP_MAT_BOM_ALLOC_DELETE
    CSAP_MAT_BOM_CLOSE
    CSAP_MAT_BOM_CREATE
    CSAP_MAT_BOM_DELETE
    CSAP_MAT_BOM_ITEM_SELECT
    CSAP_MAT_BOM_MAINTAIN
    CSAP_MAT_BOM_OPEN
    CSAP_MAT_BOM_READ
    CSAP_MAT_BOM_SELECT
    CSAP_ORD_BOM_CREATE
    CSAP_ORD_BOM_DELETE
    CSAP_ORD_BOM_ITEM_SELECT
    CSAP_ORD_BOM_MAINTAIN
    CSAP_STOCK_TYPE_CREATE
    CSAP_STOCK_TYPE_DELETE
    CAVC_I_CHANGE_BOM_ITEM_DATA
    CAVC_I_DELETE_BOM_ITEM
    Check Above function modules which all related to BOM
    And also Check function groups CSAP, CSAI, CSAR, CSBD etc...
    Check out the following:
    http://help.sap.com/saphelp_40b/helpdata/en/92/58b521417011d189ec0000e81ddfac/content.htm
    regards,
    prabhu
    reward if it is useful

  • Need Appointment Function Module Name to Read any Opportunity  No.

    Hello Gurus
    Can anyone  tell me the Appointment  type Function Module Name where Header_guid and  Appt_type are to be supplied .
    Means i want to only read(not to change or create)  an opportunity no for a particular Appointment type(Date_type).  I tried for the following FMs:
    1.CRM_APPOINTMENT_READ_OW
    2.CRM_APPOINTMENT_DETERMINE_OW
    3.CRM_APPOINTMENT_CHECK_OW
    thanks in advance
    Madhusudan

    Hello Madhusudan,
    for the activities you can use the following coding (example):
    -Beginn-
      CALL FUNCTION 'BAPI_ACTIVITYCRM_GETDETAILMULT'
        TABLES
          guid   = lt_guid
          header = lt_header
          date   = lt_bapibus20001_app_dis.
      CALL FUNCTION '/DKVES/SM_ACTIVITY_GETFROMBUPA'
        EXPORTING
          iv_partner  = lv_partner
        TABLES
          et_contacts = lt_sm_activity_simple.
      LOOP AT lt_sm_activity_simple INTO ls_sm_activity_simple.
        CLEAR ls_bapibus20001_app_dis.
        READ TABLE lt_bapibus20001_app_dis INTO ls_bapibus20001_app_dis
        WITH KEY ref_guid = ls_sm_activity_simple-activity_guid appt_type = 'ORDERPLANNED'.
          ls_order_aktiv-date_from = ls_bapibus20001_app_dis-date_from.
        APPEND ls_order_aktiv TO lt_order_aktiv.
      ENDLOOP.
    -end-
    If you want the other 'one order Objects' you can perhaps modify the selection.
    I hope that helps
    Torsten

  • Urgent ...Need for  function module name.

    I have a requirement to print label using smartforms,in transaction VL02N.In which i need to get the name1(ship to information) information at run time as the
    user can change the Address in Stock transport order (most likely) or at the Delivery at the run time. We need to find a function module that reads the run time structure data (VTTPVB\name1) and gives us the data.
    Any pointers on this regards would be helpful
    With Thanks and Regards
    Arun T
    [email protected]

    Hi Sap Surfer,  
    VTTK and VTTP are the delivery tables here all the details with respect to delivery is stored and retrieved.
    To get the name1 and address fields the partner function plays a vital role and thus you can achieve this from VBPA.
    By selecting the correct partner function the right information can be retrieved.
    The structure contains data only during the transaction or the transaction programs run thus it is not advisible to get data from that so data is usually fetched from Tables.
    Hope this solves your query.
    Reward Points if useful.
    Thanks,
    Tej..

  • How to find the Function module name

    Hi,
         Use the appropriate function module to get the manager.  (Z_GET_MANAGER )
    OR:  Given the Org Unit,  find the Manager  for that Organization.  Relationship  O – B012 – S   gives the position of the Manager.
    for that we used  HRP1001 table in that fields
    OTYPE = O,  RSIGN = B, RELAT =012.
    This is the Job that desribes the position,  relationship  S – B007 – C.
    Use the appropriate Function Module to find the Job?witch table it willbe???
    Thanks & Regards
    Kavitha

    use table HRP1001 or FM RH_GET_LEADING_POSITION. this will give the position of the manager. now from PA0001 get the manager name by using this position(PLANS).
    You can also use FM - RH_GET_LEADER
    Regards,
    Amit
    Reward all helpful replies.

  • Where to define remote function module name in RFC adapter

    R/2(IDOC) <->XI <-> R/3 (RFC)
    I can only define remote server information in RFC receiver adpater, but where to define the function module on remote server&#65311;

    Hi,
    the communication channel need the request in an specific xml format.
    Part of this format is the function modul name.
    when you use an imported rfc module you have automaticly the right xml format which the communication channel understand.
    the Communication channel need as root tag the function module name
    like:
    <ns0:Z_MY_FUNCTION xmlns:ns0="urn.sap-com:document:sap:rfc:functions">
    so it is with xslt mappings (for example) as well possible to call a rfc modules without importing it into your repository.
    regards,
    Robin

  • Identify tables from where the function module extracts data for the ES

    Hi All,
    For the datasource, 0CRM_SALES_ORDER_I in the CRM system, we need to add a new field (in the table level). This datasource's extraction type is 'F1 - function module'. Is the extractor itself is this function module? If it is a sepeate FM, where can we find the function module name used for this datasource?
    We need to identify the tables from where the fields in this datasource fetch data from. Where can we find this information?
    To be specific, in the sales order in tcode crmd_order, if we goto conditions tab and create a new condition, in what table this will get stored?
    Thank you in advance,
    Hari

    Ignore this thread! there is another thread I have created for the same problem.
    I created only one; wonder how it became two!!

  • Functional Module Name

    Hi Experts,
    I would like to do initial load of Business Objes (BUPA_MAIN) from R/3 to CRM. How to find the functional module name.
    Thanks in Advance

    Hi,
    I"m sorry but I didn't get your question. If your question was about the extractor function module which will be called on the R/3 when the initial laod takes place,you can goto the table CRMSUBTAB on the R/3 and check for the respective Function module name for BUPA_MAIN.
    Furthermore you can go to the transaction R3AC1 in CRM and look for the details of the adapter object BUPA_MAIN<see all tabs>
    Regards,

  • Functional module name of smartform

    Hi,
    I have created a smartform and generated it.
    what will be the name of the Functional module?
    how to use it in abap
    Thanks,
    Mounika.

    hi,
    Use
    You trigger form printing by calling as few as two function modules. The first module uses the name of the form to determine the name of the generated function module. Then you call this module.
    The name of the generated function module is unique only within one system. Therefore, you must always call that function module first that uses the form name to determine the current name of the generated module.
    Prerequisites
    You defined the form interface in your form and activated the form.
    Procedure
    In the Form Builder call the function Environment ® Name of the function module and use STRG-Y and STRG-C to copy its name.
    In the application program define a variable of type RS38L_FNAM for the name of the generated function module:
    data fm_name type RS38L_FNAM .
    You can call the Smart Form in other parts of the application program as well. However, in that case you must make sure that the system can access the data to be passed from that location. We recommend to encapsulate the data retrieval in a function module as well.
    If desired, you can call the function module SSF_FIELD_LIST . It returns a list of the form parameters actually used in the form. You can use this information to limit data selection, if necessary.
    Call function module SSF_FUNCTION_MODULE_NAME . It returns the name of the generated function module:
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME             = '
    ENDIF.
    If the form is not active, SSF_FUNCTION_MODULE_NAME triggers the exception NO_FORM . There are two cases in which the function module generates an active version by itself:
    After a transport into another system
    After you changed the form interface of a previously activated form
    Call the generated function module. To do this, use the Insert Statement function for CALL FUNCTION in the ABAP Editor and use the name you copied in step 1 (to avoid having to copy all interface parameters manually). Then replace the function module name with the variable fm_name defined in step 2.
    CALL FUNCTION fm_name
      EXPORTING
      ARCHIVE_INDEX =
      ARCHIVE_PARAMETERS =
      CONTROL_PARAMETERS =
      MAIL_APPL_OBJ =
      MAIL_RECIPIENT =
      MAIL_SENDER =
      OUTPUT_OPTIONS =
      USER_SETTINGS = 'X'
        G_CARRID =
    IMPORTING
      DOCUMENT_OUTPUT_INFO =
      JOB_OUTPUT_INFO =
      JOB_OUTPUT_OPTIONS =
      TABLES
        GT_SBOOK =
    ENDIF.
    In this example, three variables and an internal table are passed. The parameters G_CARRID , G_CONNID , G_FLDATA , and GT_SBOOK have been defined before in the form interface.
    In the interface, pass all data you want to transfer to the form.
    Result
    The generated function module processes the form logic defined in the Smart Form. Its output is sent to spool processing.
    As long as you do not change the form interface, you can make any changes to the form. When you activate it again, the system generates the current version of the form as soon as you call the function module. Only if you change the form interface, you must adapt the interface in the application program.
    plzz reward if this information is usefull to u....
    plzz dont forget to reward

  • Find Triggered report name in the function module.

    Hi All,
    A function module is being called by many Reports say (100). Now the question is, I need to find out the Triggered report name in the function module where I can do required logic change based on the report. I cannot include an import parameter in the function module to capture the Report name, for this solution I need to change 100 reports. Is there any better way to find the Triggered report name in the Function Module?
    thanks in advance.
    ravi

    Try system parameter SY-CPROG.

  • Name of the function module to logon to other server

    Dear All
                        i would like to know the name of the functional module through which user can logon to other server ex: from DEV to PRD for debug the programs . i tried through st03N i am able to get only used tcode but not functional module from which they are logon to prd server
    is there any way to get logs for particular user to get log for last 10 days used tcodes all my traces are not active and audit also not active..
    Regards

    Dear
    I need the name of the FM through which we can log on to any other server
    there is S_RFC authorization object now i disabled that but i need the name so i can manually restrict the FM 
    Regards

  • I need a Functional module to get the header material from the component .

    Dear Guru's
    Please help me .
    I need a name of the Functional module to get the header material from the component .
    As in if I put the Component in the Input I should get ALL the Main header materials using this Component.
    Regards,
    Roshan Lilaram Wadhwani.

    This was not answered

  • Log on into the function module with different user name.

    hi,
            i log on into the system with my user id suppose 'mukka' and i have to check the authorization of another user say 'you' using the function module "authority_check_tcode". but here i am getting the problem that when i assigned sy-uname to 'you' and execute the function module it is entering into the function module with 'mukka' user name only.
    sample code:-
                                sy-uname  = p_uname.
        CALL FUNCTION 'AUTHORITY_CHECK_TCODE'  "#EC"
          EXPORTING
            tcode  = v_tcode
          EXCEPTIONS
            ok     = 1
            not_ok = 2.
    when i am changing the sy-uname with p_uname the sy-uname is changed but when i entered into the function module authority_check_tcode in the debugging mode at the below the sy-uname variable is showing  as 'mukka' only. but i need to check the authorizations of user 'you' pls give me solution to my problem.

    Hi,
    Why would you want to check the authorisation of another user and not the one currently logged in?  The idea of authorisations is to check the current user is able to perform a certain activity.  The majority of fields on SYST are constantly updated to have the correct values (partly so you can't fiddel authorisation checks like this
    Maybe if you explain to us what you are trying to do we can offer some other help.
    Gareth.

  • Function module to get the name of all the function module used

    I want to populate a internal table with the name of all function module used in the submitted program?? Is there any function module which return the name of all the function module used?

    Hi Priya
    Try this one RPY_FUNCTIONMODULE_READ.
    Ranga

  • Can I add special character "$" in the function module parameter name??

    Hi Friends
    Can I add special character "$" in the function module parameter name??
    awaiting for your reply,
    Regards
    Praveen

    >
    prashanth kishan wrote:
    > Thomas,
    > ... What if Praveen passes the $ parameter in that unknown FM and suddenly theres smoke coming from the rear of the CPU? Who's answerable to that??
    >
    > pk
    Blame Canada!

Maybe you are looking for