Any function module available for...

hi all,
i need a function module to do a goods receipt for the PO using
movement type 161,
movement ind B,
goodsmvt code '01'.
i couldnt able to post using BAPI_GOODSMVT_CREATE as iam getting
'NO GOODS RECEIPT POSSIBLE FOR PO XXXXXXXX XXXXX'.
So is there any function module other than bapi to do a goodsmvt with my requirements.
Thanks in advance,
Prem.

hi,
the code i use is,
loop at gt_final into gs_wa_final.
        gt_item-move_type     = '161'.
        gt_item-entry_uom     = gs_wa_final-meins.
        gt_item-stge_loc        = gs_wa_final-lgort.
        gt_item-entry_qnt      = gs_wa_final-menge.
        gt_item-entry_uom_iso = gs_wa_final-meins.
        gt_header-ref_doc_no                   = gs_wa_final-submi.
        gt_item-base_uom = gs_wa_final-meins.
        gt_header-doc_date                      = gv_last_date.
        gt_header-pstng_date                   = sy-datum.       
        gt_item-ind_propose_quanx           = 'X'.
        gt_item-serialno_auto_numberassignment = 'X'.
        gt_item-material                           = gs_wa_final-matnr.
        gt_item-plant                               = gs_wa_final-werks.
        gt_item-po_number                      = gs_wa_final-ebeln.
        gt_item-po_item                          = gs_wa_final-ebelp.
        gt_item-mvt_ind                          = 'B'.
      append gt_item.
      clear gt_item.
*call bapi goodsmvt create to do the gr
    set update task local.
    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header       = gt_header
        goodsmvt_code         = gt_bapigm_code
      importing
        goodsmvt_headret      = gs_headret
      tables
        goodsmvt_item         = gt_item
        goodsmvt_serialnumber = gt_serialno
        return                = gt_return.
call bapi_transaction_commit to commit if success
    if gt_return-type <> 'E'.
      call function 'BAPI_TRANSACTION_COMMIT'
        exporting
          wait = 'X'.
    else.
      call function 'BAPI_TRANSACTION_ROLLBACK'.
    endif.
After executing iam getting an error mess in gt_return[]
'NO GOODS RECEIPT POSSIBLE FOR PO XXXXXXXXXX XXXXX'
i cant understand y the function module is returning this error message,
can any one help me in this issue,
Thanks in adavance,
Prem.

Similar Messages

  • Is there any Function module available for GR IR for purchase order

    Hi
    Is there any function module available in SAP to get the list of Goods Received and Invoice Reciept for a purchase order.
    One way to create a custom fuction to fetch the details from MSEG and BKPF.
    Can somebody suggest a better solution.
    Thanks in advance.
    Ruhi Hira

    Which table in BAPI_PO_GETDETAILS exactly has these information ?
    PO_HEADER_TEXTS
    PO_ITEMS
    PO_ITEM_ACCOUNT_ASSIGNMENT
    PO_ITEM_SCHEDULES
    PO_ITEM_CONFIRMATIONS
    PO_ITEM_TEXTS
    PO_ITEM_HISTORY
    PO_ITEM_HISTORY_TOTALS
    PO_ITEM_LIMITS
    PO_ITEM_CONTRACT_LIMITS
    PO_ITEM_SERVICES
    PO_ITEM_SRV_ACCASS_VALUES
    RETURN
    PO_SERVICES_TEXTS
    EXTENSIONOUT
    NFMETALLITMS
    Regards
    Ruhi Hira

  • Any function module available for updation of Configuration data

    Hi experts,
    i want to know the function module which updates the configuration data.Please help me regarding this,its very urgent..I have some configuration data which needs to be updated .This data is present in the item level configuration data..
    Please help me ...
    Regards,
    Nagaraj

    Hi Nagaraj
    I assume that one of the Sales document(SO/DO/Billing/Shipping,etc) has this custom field YF_ZZZ_STATUS.
    If so, this custom field would be available in any one of sales tables (VBAK/VBAP/VBRk/VBRP/LIKP/LIPS, etc)
    You have to find out where exactly this field is existing.
    If this field is avilable in sales document screen, simply you can write one BDC code to update this field at any one sales userexit.
    For example if you want to update this field at the time of saving sales order, then use MV45AFZZ include..there you will find userexit_save_document (FM). There you can write simple BDC code OR direct update query to update particular table.
    NOTE: YOU CAN NOT FIND OUT ANY FM TO UPDATE CUSTOM FIELDS (IN CONFIGURATION AND DEVELOPMENT)
    Thanks
    Bala

  • Is there any delivered BAPI or Functional modules available for MCHB table

    Hi Experts,
    I have a requirement where I have to pull inventory data from MCHB table without custom code. Is there any delivered BAPI or Functional modules available for MCHB table?
    Kindly help!
    Thanks
    Gopal

    Hi,
    Can you check using the Fun Modules
    MG_BATCH_CHECK_STOCK
    VB_READ_BATCH_WITHOUT_STOCK
    VB_BATCH_GET_ALL_STOCKS
    Regards,
    Anji

  • Is there any function Module available?

    Hi,
    Could you please tell me whether the function module is  available for the scenario below.
    If we pass RFC Name to the function module it should return success or failure message for the particular target server maintained in the RFC.
    We need to check with the help of RFC we just need to know whether the particular target server is running fine or not?
    Please help me in this regard.
    Thanks & Regards,
    Swathi

    Hi Swathi,
    Actually there is a program available that can check an RFC destination (regardsless of what type it is). In fact within transaction SM59, behind the "Connection Test" button this report is runned and the results shown on screen.
    I have made a small ABAP objects method to encapsulate this.
    This method has an interface and ABAP code:
    -->INTERFACE:
    import: RFCDEST  TYPE RFCDEST (OPTIONAL) - Destination to test
    change: REACHED  TYPE BOOLEAN            - Is destination active?
    change: DETAILS  TYPE RFCSI              - RFC system info (see FM RFC_SYSTEM_INFO)
    -->ABAP CODE:
    METHOD reach_rfc_destination .
    * Test RFC destination connection (all types)
      DATA:
        loc_rfcsi TYPE rfcsi.
    * Answer is unknown at the start of the method
      CLEAR:
        loc_rfcsi,
        reached.                  " In this way it is always set to GC_FALSE
    * Only if an RFC Destination is supplied
      IF  rfcdest IS SUPPLIED
      AND rfcdest NE space.
    *   Clear memory area before call
    *   so no details about previous RFC test calls do exist
        FREE MEMORY ID '%_rfctest'.
    *   Remote test call
        SUBMIT rsrfctes
          WITH dest = rfcdest AND RETURN.                    "#EC CI_SUBMIT
    *   Collect possible RFC information
        IMPORT rfcsi TO loc_rfcsi FROM MEMORY ID '%_rfctest'.
    *   Reached
        IF loc_rfcsi IS INITIAL.
    *     Answer is not reached
          reached = gc_false.
        ELSE.
    *     Answer is reached
          reached = gc_true.
          details = loc_rfcsi.
        ENDIF.
      ENDIF.
    * Housekeeping
      CLEAR:
        loc_rfcsi,
        sy-subrc.
    ENDMETHOD.
    This will supply you with gc_false (=constant value with space) or with gc_true (=constant value with X).
    When gc_true the destination is OK and reachable.
    Regards,
    Rob.

  • Any function module available to create return order?

    Hi Experts,
    Is there any Fucntion Module to create a return order? In my scenario, I want to make an RFC call to this FM from CRM system and create a return order.
    Is this scenario possbile?
    Waiting for your inputs!
    Thanks and Regards,
    Rohit

    Hi Rohit,
    As we all know that we can create standard orders by using this function module: IDOC_INPUT_ORDERS
    We can as well create returns order. We can copy the above FM into "Z" customize it as per requirements and use the same in RFC call.
    With this i think you can create returns order in the background.
    Hope this helps
    Regards,
    Syed Nasir

  • Are there any relay modules available for Compact Fieldpoint, and if not, what are the alternatives?

    I'm speccing out a Fieldpoint system, and although Compact Fieldpoint has many features that make it superior to Fieldpoint for my application, I'm wondering why no relay modules seem to be available for it.
    The cFP-RLY-420 is referenced in the manual it shares with the FP-RLY-420, and a search in the product section comes up with several pages that aren't viewable, but it doesn't seem to be currently available.
    More importantly, if there are no relay modules available at this time, what would be the alternatives for switching? A small Opto22 backplane wired to a DO module perhaps?

    Mako,
    Several of the more specialized modules in FieldPoint have not yet been released in Compact FieldPoint. However, National Instruments is presently working on releasing most of these traditional FieldPoint module in the future.
    Depending on your application, either the cFP-DO-401 or cFP-DO-410 (which are both providing sourcing outputs) may be a possible alternative. The DO-401 module can sustain up to 2 A per channel, 8 A squared per module whereas the DO-410 can sustain up to 1 A per channel. Please note that these modules only handle low voltage DC.
    Regards,
    Cyril Bouton
    Applications Engineer
    National Instruments
    Cyril Bouton
    Active LabVIEW Developper

  • Is there any function module for converting text to hyperlink?

    Hello all,
              I am designing an application in BSP wherein the user can enter hypertext values for some
              of the data enteries in the database table. Is there any function module available for converting
              text into hypertext. Eg. if the user enters 'www.mypersonalwp.com' then it should convert this
              text value into a hyperlink.
    Thanks in advance.
    Gurmahima.

    Hi,
    Refer the given below link
    http://help.sap.com/saphelp_erp2004/helpdata/EN/85/ce25c2d7ae11d3b56d006094192fe3/content.htm
    Hope it helps you
    Thanks
    Arun Kayal

  • 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

  • Any function module for PIC01??

    Hi Guys,
    Could you please tell me, do we have any function module / BAPI for the transaction PIC01 - to create supersession....
    suggest me if any one worked on supersession conversion....
    -Mahesh.

    Hi Ragesh,
    try with requirements (in the VOFM area).
    Cheers,
    Stefan.

  • Function module need for 0fiscvarnt

    Hi i have 0comp_code,budat and 0fiscper as a source fields,now i want to get 0fiscvarnt...please give me any logic or function module available for that
    thanks

    Hi,
    Usually fiscal year variant is constant if not getting populated from source system.
    Check with function team member what Fiscal year variant they using.
    Regards,
    Akshay

  • Function module/BAPI for ATP Material

    Hi All,
    Is there any function module/BAPI for ATP(Available-to-Promise check) for Material.
    1) Production order from one plant
    2) Scheduling agreement from another plant.
    Regards,
    Srinivas.

    Hi,
    you can use either of one below for ATP.
    BAPI_MATERIAL_AVAILABILITY
    RV_AVAILABILITY_CHECK
    /SAPNEA/SMAPI_ATP_CHECK
    regards,
    ram

  • Any function module to get Stock and value of material on a given date?

    Hi Friends
    Is there any function module available to get Stock/and  value of material on a given date?
    Thanks
    Harish

    Sorry I didn't elaborate the requirement.
    I am asked to develop a custom report for inventory management. For range of materials it is required to display stock and value on particular date and GRs GIs for the range.
    I need function module to use in Zreport.
    Thanks
    Harish

  • Any Function Module to get date by passing week and year

    Hi,
       Is there any Function Module available to get date by passing week and year. For example, Week 24, Year 2005 and you get the date.
    Regards,
    Mira

    WEEK_GET_FIRST_DAY
    pass 'YYYYWW' (200524) to WEEK parameter it will give you the week start date
    Raja

  • Batch determination process in SD- Delivery: any Function module?

    Hi All,
    I want to use the logic used in SD-Delivery for batch determination in Batch Search Strategy report.
    Is there any function module avaialable for batch determination process done in SD so that I can make use of it?
    Thanks in advance,
    Rgds,
    MAdhuri

    Hi Madhuri,
    My requirement is to select that batches that were picked up by the delivery (i.e. those that passed the search strategy) using the Material and Plant combination, Customer as an optional parameter.
    Could you please provide the function modules that are required to make use of the function module "VB_BATCH_DETERMINATION"? Also, could you please let me know if we need to take into consideration any other factors when using the function module VB_BATCH_DETERMINATION
    Thanks in advance!
    Thanks,
    Manohar. Dubbaka.

Maybe you are looking for

  • Connecting ePrint to Internet via open network and separate security log on page

    My Deskjet 3520 will not connect to the internet because the wireless netwok in my building is open / unsecured but a secondary log on / password is required to fully access the web.  When connecting to the network from a PC these details are entered

  • Burned DVD's have momentary pixelation

    Hi When I export my project from FCPX everything is perfect. When I use IDVD to add theme and chapters there is pixelation for 2 minutes on the burned DVD at the exact same spot of my project every time. Even though the source is 100% it keeps occurr

  • Group By on Calculated Columns Issue

    Dear All, I have some lists and libraries which has some calculated columns for calculating year and month based on created date and we have custom views which has group by on those calculated columns. The problem is group by is not working as expect

  • How to handle exception in driver program

    Dear Friends;      I have been assigned to  object wherein i have to display a form for which i am gathering all my data in smartform and my requirement is that when first time data selection failed i.e. no data found against selected order number (A

  • Passing Java statements in the parameter list

    I am relatively new to Java and have a need to create a method which has a Java statement passed to it in the parameter list. The purpose is to optionally run this statement within the method. For example: I have a method called rotateAndTranslate th