Is there any bapi returns dynamic value of reorder point and safety stock

Hi all,
Is there any bapi returns the runtime value of ROP and SS by passing changenr/objectid taken from CDPOS.
if exists please send me with code.
Thanks
PRR R

hi,
As far as i know is static means manual entry of reorder point.
The dynamic or automatic reorder point is used for Forecast based planning...
the sysstem wii automatically calculate the reoder point evrytime there is the forecast run.
So, it dependig on ur scenario , select either manual or automatic.
First entry for both is always manual entry....
hope u got this..
Regards,
Smitha

Similar Messages

  • Static or Dynamic Reorder Point and Safety Stock

    Hi,
    In a retail scenario, what would be the advantages over the other of setting a static or dynamic reorder point and safety stock?
    The MRP type used is Time Phased Planning, but whether to let the system automatically set the reorder point and safety stock is the question. What should be considered in implementing this?
    Regards,
    Lee

    hi,
    As far as i know is static means manual entry of reorder point.
    The dynamic or automatic reorder point is used for Forecast based planning...
    the sysstem wii automatically calculate the reoder point evrytime there is the forecast run.
    So, it dependig on ur scenario , select either manual or automatic.
    First entry for both is always manual entry....
    hope u got this..
    Regards,
    Smitha

  • Is there any BAPI returning the affected organisational units to users?

    Dear all,
    I would like to ask a question about organizational units. Whenever I want to affect a user to a given unit I
    use PPOME transaction. If I want to do this in ABAP level I use the function module RH_RELATION_WRITE.
    I would like to know, is there any BAPI returning the affected organizational unit to a given user?
    Thanks in advance,
    Kind Regards,
    Dariyoosh

    Alberto Sesma wrote:
    You can use Function Module RH_STRUC_GET
    >
    >
    > CALL FUNCTION 'RH_STRUC_GET'
    >   EXPORTING
    >      ACT_OTYPE = 'US'
    >      ACT_OBJID = user_name
    >      ACT_WEGID = 'US_CP_O'
    >   TABLES
    >        RESULT_TAB = LT_RESULT_TAB.
    >
    >
    > You will get the related org units in LT_RESULT_TAB. There are other two table parameters in that function module that you may find useful.
    >
    > If the function does not return any valid data you may try with other values for WEGID. You will find all the possible evaluation paths in transaction OOAW.
    >
    > Kind regards
    Dear Alberto,
    Thank you very much for your answer. I didn't know this FM and it solved my problem.
    For those who may be intered here is exactly I proceed. Suppose that in the table HRP1000 you have an
    structure (type S) with ObjID = 50000342 and you wish to have the SapUserID of the affected persons.
    DATA:
          affected_users TYPE STANDARD TABLE OF swhactor,
          user LIKE LINE OF affected_users.
    START-OF-SELECTION.
      CALL FUNCTION 'RH_STRUC_GET'
        EXPORTING
          act_otype              = 'S'
          act_objid              = '50000342'
          act_wegid              = 'A008'
          act_plvar              = '01'
          act_begda              = sy-datum
          act_endda              = sy-datum
          act_tdepth             = 0
       TABLES
         result_tab             = affected_users
    EXCEPTIONS
       NO_PLVAR_FOUND         = 1
       NO_ENTRY_FOUND         = 2
       OTHERS                 = 3
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT affected_users INTO user.
        WRITE: / user-objid.
      ENDLOOP.
    Also in transaction OOAW we can have all possible values for the third argument of the module function (act_wegid).
    For those who are interested, here are a few among many possible values which seem to be intesting for my
    problem.
    DFPS_DG1----
    Organizational Unit of User
    DFPS_DG3----
    All Org. Units Above a User
    ORGAS----
    Closest Organizational Unit and structure
    ORGASS----
    Closest Organizational Unit and structure     
    PPLEORG     -
    Organizational unit of an employee or position
    SAP_ORGP----
    Organizational assignments of a user/person
    SAP_USOG----
    Organizational Assignments of a User
    SAP_US_S----
    Positions and Personnel Number of a User
    US_S_S_C----
    All positions and jobs of a user
    WFM_ORGU----
    Organizational Assignment of User
    WF_ORGUN----
    Organizational unit of a user/person (module id Ben./Pers.)
    For example, let's say we have a userid named MYUSER01 and we would like to find all structures to which the user
    is affected. Here is how I proceed.
    DATA:
          itab_user_structures TYPE STANDARD TABLE OF swhactor,
          row_user_structures LIKE LINE OF itab_user_structures.
    START-OF-SELECTION.
    CALL FUNCTION 'RH_STRUC_GET'
        EXPORTING
          act_otype              = 'US'
          act_objid              = 'MYUSER01'
          act_wegid              = 'US_S_S_C'
          act_plvar              = '01'
          act_begda              = sy-datum
          act_endda              = sy-datum
          act_tdepth             = 0
       TABLES
         result_tab             = itab_user_structures
    EXCEPTIONS
       NO_PLVAR_FOUND         = 1
       NO_ENTRY_FOUND         = 2
       OTHERS                 = 3
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      LOOP AT itab_user_structures INTO row_user_structures.
        WRITE: / row_user_structures-objid.
      ENDLOOP.
    Thank you very much for your help.
    Kind Regards,
    Dariyoosh

  • Is there any bapi that i can create sales order and date

    Hi Gurus
    is there any bapi that i can create sales order and date .

    This appears to be related to Problem With BAPI_SALESORDER_CREATEFROMDATA but without the detail. If you want to ask again, please add that detail.
    locked
    Rob

  • Is there any BAPI for Goods receipt that uses LIKP and LIPS tables?

    Hi experts
             I want to pull info for a given delivery note(DN) by joining LIKP and LIPS tables. Is there any existing BAPI that can give my info by using the two tables?
    Please help
    Thanks
    Gopal

    Check the above link and reward points if helpful
    http://help.sap.com/saphelp_nw04/helpdata/en/b0/dad2b40b3611d2a55a0060087832f8/content.htm

  • Is there any BAPI/FM to create a trasnport request and add objects into it?

    Hi Experts,
    Could anyone please assist me in finding a BAPI/FM to create a transport request and add objects to it.
    I could find a BAPI BAPI_REQUEST_CREATE, it creates trasnport request but doesn't have option to add objects.
    Thanks
    Yogesh Gupta

    Create a custom Function Module , in that write a BDC to create a transport request and add objects to it.
    Thats it.

  • Is there any BAPI allowing to retreive dump information in details?

    Dear all,
    I would like to ask a question about dumps that are sometimes generated on SAP sytems.
    Each morning, by using the transaction ST22 I can see the dumps that were generated during
    the precedent day. I click on each dump label then in the menu System > list > save
    I can save the dump file which includes technical information about the error (our
    developers look inside in order to find out what went wrong that gernerated the error)
    Now, sometimes there are actually too many dumps and saving each file by ST22 one by one
    takes too much time.
    I know ABAP programming language, I would like to ask is there any BAPI in SAP which could be called
    and that provides the same details that you can have by ST22 about the generated dumps? I was thinking
    to call inside a loop (as many times as there are dumps) this BAPI and write the datails about each
    dump in DATASET and creates the files.
    So, do you know any BAPI providing information about dumps?
    Thank you very much for your attention,
    Kind Regards,
    Dariyoosh

    Hello there,
    Thanks for this information, I'm going to look into the function group in order to
    see how I may use its function modules properly for my purpose.
    Thank you very much,
    Kind Regards,
    Dariyoosh

  • Is there any bapi to upload c/s value for a material  in MRP3 view.

    Hello Expert
    Is there any bapi available to change material and upload the characteristic values in its MRP3 view? I want to change material and assign values for characteristic, I got one bapi /SAPMP/BAPI_MATERIAL_SAVEDATA which change material.. but I donu2019t know how to use it.. i.e. how to set c/s vales in MRP3 view. plz help.
    -Shweta

    Hi
    Check the BAPI
    <b>BAPI_CHARACT_CREATE</b>
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Is there any BAPI or function module  to delete entries from a table (VBAK)

    Hi Everybody,
    this is my first thread in SDN...
    my problem follows...
    A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
    tables:
    VBAK     sales document: header data
    selection fields:
    VBAK-LIFSK      &#8800;     <BLANK>
    VBAK-ERNAM     =     userID used by e-Sales / IVE
              (EP-BATCH / EAI-BATCH)
    VBAK-ERDAT      <=     Current system Date
    VBAK-ERZET     <=     Current system Time - 20 minutes
    These orders should be deleted from SAP system.
    This report should be scheduled to run regularly every 10 minutes.
    my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
    best replies will be rewarded....
    regards
    Reddy

    Hi Vasanth ,
    thanks for your reply.
    i tried in the same manner what u mentioned.
    but how to pass only one parameter to the functionmodule..
    here in this case we have to pass only update flag as 'D'..
    i did the same it giving dump..
    An exception occurred that is explained in detail below.                          
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was      
      not caught and                                                                   
    therefore caused a runtime error.                                                 
    The reason for the exception is:                                                  
    The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:                                                                               
    In the function module interface, you can specify only                            
    fields of a specific type and length under "ORDER_HEADER_INX".                    
    Although the currently specified field                                            
    "INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.              
    my pgm :
    *& Report  YNEW_ORDER_DELETION
    REPORT  ynew_order_deletion.
    TABLES:vbak.
    PARAMETERS:
         p_lifsk LIKE vbak-lifsk DEFAULT '02'.
    SELECT-OPTIONS:
       s_lifsk FOR vbak-lifsk DEFAULT '10',
        s_ernam FOR vbak-ernam,
        s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
        s_erzet FOR sy-uzeit.
    *PARAMETERS:
    p_erzet LIKE sy-uzeit.
       s_erdat like vbak-erdat,
       s_erzet like vbak-erzet.
    DATA:
       BEGIN OF int_final OCCURS 0,
            w_vbeln TYPE vbak-vbeln,
       END OF int_final.
    DATA:
      int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
    DATA:
      wf_time TYPE sy-uzeit.
    INITIALIZATION.
      s_ernam-low = 'KULKARMA'.
      s_ernam-sign = 'I'.
      s_ernam-option = 'EQ'.
      APPEND s_ernam.
    s_ernam-low = 'EAI-BATCH'.
    s_ernam-sign = 'I'.
    s_ernam-option = 'EQ'.
    APPEND s_ernam.
    wf_time = sy-uzeit - 1200.
    p_erzet = sy-uzeit - 1200.
    p_erzet-low = wf_time.
    APPEND s_erzet.
      int_order_header_inx-updateflag = 'D'.
      APPEND int_order_header_inx.
    START-OF-SELECTION.
      SELECT vbeln FROM vbak
                       INTO TABLE int_final
                       WHERE lifsk EQ p_lifsk
                         AND ernam IN s_ernam
                         AND erdat IN s_erdat
                         AND erzet IN s_erzet.
      IF sy-subrc = 0.
        LOOP AT int_final.
          CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
            EXPORTING
              salesdocument         = int_final-w_vbeln
      ORDER_HEADER_IN             =
        order_header_inx            = int_order_header_inx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
            TABLES
              return                      = int_return
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
        ENDLOOP.
        LOOP AT int_return.
          WRITE:/ int_return-type,
                  int_return-id,
                  int_return-number,
                  int_return-message.
        ENDLOOP.
      ENDIF.
    please help me ..its a very urgent issue to be solved...
    am waiting for ur reply...
    regards
    gangareddy

  • Is there any BAPI for closing projects through CJ20 transaction?

    Hello Experts,
    Is there any BAPI available for the CJ20 transaction to try close a project? I have been trying to locate one but haven't came across anyone. Please do let me know if in case any of you happen to know about 1 such BAPI.
    Regards,
    Uday

    Hi,
    A project definition can be changed using the BAPI "BAPI_BUS2001_CHANGE". To do this, the project definition (PROJECT_DEFINITION) and the new values must be entered in the structure "I_PROJECT_DEFINITION". In the structure "I_PROJECT_DEFINITION_UPD", the fields that are to be changed must be marked with 'x'. The other fields remain unchanged. Before the project definition is changed, the following is checked:
    Is another project already being processed in the LUW ?
    Can the project be locked?
    Is the changed data still consistent (do the company code and controlling area match?)
    If all checks are successful, the project definition is changed in the document tables.
    for example:
    CALL FUNCTION 'BAPI_BUS2001_CHANGE'
      EXPORTING
        I_PROJECT_DEFINITION           =
        I_PROJECT_DEFINITION_UPD       =
    " TABLES
    "   ET_RETURN                      =
    "   EXTENSIONIN                    =
    "   EXTENSIONOUT                   =
    Thanks,
    Dhruv Kumar Malhotra

  • Is there any bapi for standard deviation

    is there any bapi for standard deviation

    You can use the function module
    1. 'QRKT_STD_DEVIATION_SHEWHART'-Algorithms for Shewhart chart for s with internal dispersion and mean line
    2.'QRKT_STD_DEVIATION_SHEWHART_2'- Algorithms for Shewhart chart for s with overall dispersion and mean line.
    You could also calculate it yourself of course - standard deviation is the square root of the sum of the square of the differences between the mean and each value divided by the number of values you have less one.
    Reward points..

  • Is there any BAPI which combines web and SAP??

    Is there any BAPI which combines web and SAP??

    Hi Krishna,
    <b>Good .. check the following documentation
    BAPIs are technically nothing else but RFC-enabled function modules meaning that they provide us with external access to the SAP system.
    However, BAPIs are more than "normal" RFC-enables function modules in that they generally access SAP business objects (like customer, sales order, etc.).
    Usually, a BAPI corresponds to a certain dialog transaction dealing with a SAP business object (e.g. BAPI_USER_CREATE -> SU01 to create SAP users).
    In web terms RFC is similar to HTTP and BAPIs are CGI applications.
    RFC will normally provide sy-subrc 0 or >0. Most of the BAPIS will provide a return-structure.
    RFC and BAPIs are remote enabled function modules. They are practicly the same. A BAPI is one step further as it usually is a self contained business function, such as "Create Purchase Order", or "Change Sales Document". BAPIs interface is very well defined and documented. BAPIs can be found in the BAPI browser via transaction BAPI. RFCs are just remote enabled function modules.
    refer links,
    http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html
    http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm
    http://www.sap-img.com/fu033.htm
    http://www.sap-img.com/abap/ale-bapi.htm</b>
    Good Luck and thanks
    AK

  • Is there any Bapi for Physical Sample creation

    Hi Folks,
    Is there any Bapi for physical sample creation. My scenario is like this I have the data in the table (material, plant, batch, type,vendor, vendorbatch ). For each material i have to create a  physical sample......
    Any ideas or suggestions would be appreciated..
    thanks
    chaithanya.

    HI Chaitanya,
    You can use : BAPI_BATCH_CREATE
    it has import paramaters like Material, Plant , batch , Batch Attributes ( Vendor No, Vendor Batch etc)... I guess this is what you are looking for.
    Regards,
    -Venkat.

  • Is there any BAPI or FM which updates or modifies FD32 transaction

    Is there any BAPI or Function module  which updates or modifies the fields of FD32 transaction screens

    Hi, Srikanth
    Please Have a look at this Link [BAPI for FD32 |bapi for FD32]
    Please Search Before Posting
    Hope will Solve out your Problem,
    Best Regards,
    Faisal

  • Is there any BAPI's to get system information

    HI All,
    Is there any BAPI's to get system information like name which NWcomponent is installed, version, function modules which are implemented.
    ITS VERY URGENT
    Thanks

    Hi,
    bapi for getting the details of system inthe sense euipment i believe so try this bapi
    BAPI_EQUI_GETDETAIL
    BAPI_EQUI_GETLIST
    Regards,
    sana.

Maybe you are looking for

  • I can't update my apps, was asked to change from US store to Lebanese store. How to do that?

    I can't update my apps, was asked to change from US store to Lebanese store. How to do that?

  • Motion + Video Filter order

    I have two things going within one edited shot. 1) I zoom into a still photo via Motion. 2) I use the widescreen Matte video filter. The problem is that it seems like Motion overrides the matte video filter, so that when I zoom into the photo, the ph

  • Add crash on one client and cause all other SAP clients to freeze

    Hi All I have a big problem that I hope someone might help solve... We have a customer adding 2000 invoices in 100-300 batches using a Add-on we have created. Our add-on does what it is suppose to do, but at random intervals (more when many users are

  • Importing video frames to layers show a white screen?

    I've been trying to make some GIFs but when I try to import the video frames to layers it shows a white screen instead of playing the movie. All of them work on windows media player but I've heard that a lot of it has to work on QuickTime. I've alrea

  • Using Hotmail?

    I added my hotmail account using the default settings provided by the mail app when i typed in my email address i can receive and send emails yes but when ever i delete a email from my ipod and check my mail inbox using safari or on my pc the message