Query  for transfering rm from on whse to another

hi,
i need a query so that my particular user gets an alert while transferring material to one whse to another.
i have assigned the approval .
whse names are
bdi-m  bdi-pcb

An approval for this type of transaction is not possible, because only header level information is accessible in an alert query (you can refer only to the first line row level information). And in an inventory transfer only the u2018fromu2019 warehouse is at the header level. 
An alert is a message after an event you want to send information about. So it shows result only after adding the transaction. For this purpose you can try this:
SELECT T0.[DocNum], T0.[DocDate], T1.[ItemCode], T1.[Quantity]
FROM OWTR T0  INNER JOIN WTR1 T1 ON T0.DocEntry = T1.DocEntry
WHERE T0.[Filler] ='bdi-m' and  T1.[WhsCode] ='bdi-pcb'
   and datediff(d,T0.[DocDate],getdate())=0

Similar Messages

  • BADI for transfering data from one modal to another modal within single appset

    Hallo Experts,
    My Business Requirement is Transfer of data from one modal to another in same environment and did this taking reference from below document.(How to custom badi for replicating destination app)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e04b5d24-085f-2c10-d5a2-c1153a9f9346?QuickLink=index&…
    Document contains TR for implementing BADI, but this document supports bpc version 7.0 and we are using is bpc 10.0.
    So i make all compatible changes in BADI implementation and activate it. Now i am testing using transaction UJKT using following script.
    and the result is records successfully written back to application MIS, but when i check data is not moved to target application MIS.
    I am facing stuck situation in my project work. Please Suggest. Hope for positive reply.
    Script:
    *XDIM_MEMBERSET WM_ACCOUNT = WM_041,
    *XDIM_MEMBERSET WM_UOM_02 = UOM_004
    *XDIM_MEMBERSET WM_UD_2 = WM_07
    *XDIM_MEMBERSET WD_EXT_MAT_GRP =CHALK-PH-I,CHALK-PH-II,CHAVN-PH-I,CHAVN-PH-II,NASHIK-WM,RAJASTHAN-WM,TAMILNADU-WM
    *XDIM_MEMBERSET CATEGORY= Plan
    *XDIM_MEMBERSET AUDITTRAIL=Input
    *XDIM_MEMBERSET P_ENTITY = SIL
    *XDIM_MEMBERSET RPTCURRENCY = LC
    *START_BADI DAPP
       DESTINATION_APP ="MIS"
       RENAME_DIM ="WD_EXT_MAT_GRP= PRODUCT"
       ADD_DIM ="PLANT=NO_PLANT","MIS_ACCOUNTS=CAIN0058040008","COST_CENTER=NO_COST_CENTER","FLOW=Opening","UOM=AMT","CUSTOMER_SALES_2=NO_CUSTOMER","CATEGORY=Plan","AUDITTRAIL=Input"             
       DEBUG = ON
       WRITE = OFF
       QUERY = ON
    *END_BADI
    Please find attached result.
    Regards,
    Dipesh Mudras.

    Hello,
    Here is the manual to copy data between apps (it works with BPC NW75):
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0480970-894f-2d10-f9a5-d4b1160be203?quicklink=index&overridelayout=true
    It works me, but now I need to modify the Script Logic to make that a "property" from the origin dimension has to be copied to the destination dimension as "id", like follow:
    //*XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
    //*XDIM_MEMBERSET TIME = %TIME_SET%
    //*XDIM_MEMBERSET ENTITY = %ENTITY_SET%
    //*XDIM_MEMBERSET RPTCURRENCY =  %RPTCURRENCY_SET%
    *START_BADI FiltroPD
         WRITE = OFF
         APPL = $APPLICATION$
         ADD_DIM = "ORIGEN = APPVENTAS"
         ADD_DIM ="O_COSTE = no_input"
         ADD_DIM="CECO = no_input"
         RENAME_DIM="P_ACCT = RATIOS.P_ACCT "
    *END_BADI

  • Best method for transferring data from one database to another?

    There is an 8i database I have to deal with on a regular basis. Besides being completely outdated and unsupported, in my opinion the database has not been well-maintained--for a table with 25 million records, should ‘select count(*) from table;’ take 5 minutes to run? I don’t really know, but that seems long to me. Many complex queries (most including only tables with less than a million records) take a ridiculously long time to run, to the point that I can’t even run some of them.
    I am not the DBA; I don't have the authority to fiddle with the database (nor would I feel comfortable doing that), and the powers that be will not put effort into improving functionality of this database due to an alleged plan to update/replace it within the next year. However, in the mean time, I still have to get data out of this database on a regular basis.
    I have XE 10g installed on my local machine, and I have set up a database link in it to the 8i database. I have found that I can pull in basic data (simple queries) from the 8i database into tables in my XE database (e.g. create table tbl1 as select data from tbl1@8idb) and then query those tables to get the information I need much, much faster (including creation of the tables). While this option does not allow me to create queries/reports that other people can run, it makes work I’m doing only for myself much faster.
    What I’m wondering is, what is the best way to bring the information I need over to my database? I usually don’t need entire tables, and I can probably identify a number of key tables (or parts of tables) I need. What I’ve been doing up until now is writing CREATE TABLE statements on the fly, but then I end up forgetting what all I’ve done, and each time I want up-to-date data, I have to drop the tables and re-create them. It seems to me that there should be an easier way to do this than to copy and paste from a text document into SQL*Plus.
    Does anyone have any suggestions for me on how best to do this?

    Sorry, I guess I posted this in the wrong forum. I re-posted in the database-general forum.

  • Program for transferring amount from one GL to another based on due date.

    Hi
    There is one requirement to show customers in differnt way (i.e. dues less than 6months seperately and more than 6 months seperately).
    I have created one GL (customers due less than 6 months)
    Now all balances are in one GL account i.e. customer due more than 6 monhts)
    So is there any program which will transfer all the amount for due less than six months from one GL to other GL.
    I also need such program for items (like prepaid accounts) which are entered directly into GL accounts.
    Edited by: Meenu_ND on Dec 23, 2010 5:01 PM

    Hi,
    Yes there is one functionality available that is Reclassification or sorting of Receivables and payables. The tcode is FAGLF101 - Sorting/Reclassification (New), for this you need to do some configuration settings. The navigation path is New gl- periodic processing-Reclassify-Transfer and sort receivables & payables.
    Regards,
    Azeem

  • What is the direct connect method for transfering photos from my macbook pro to my iphone without using iTunes syncronization? (iow: a simple photo copy from mac to iphone?)

    I feel like I should know the answer to this. I can't believe it is a hard question.
    What is the direct connect method for transfering photos from my macbook pro to my iphone without using iTunes syncronization? (iow: a simple photo copy from mac to iphone?)
    Easy? Right?
    Just plug my iphone in to a mac and copy a photo from the mac to my iphone.
    I don't have internet access - I can't email it, or mobileme it, or dropbox it.

    iTunes. Other than that there is no direct method. However, do try the iPhone forums.

  • Event for transferring information from the billing document to the fica do

    Dear all,
    We are having a requirement in which we need to transfer the information from the billing document to the fica document..Can anybody tell me which event can be used for  transferring information from the billing document to the fica document
    Susmita

    Susmitha Harini,
    Can you provide exactly what you want to transfer? Do u want to transfer that information at billing moment?
    Best Regards,
    Pedro Nunes

  • PI setting for transferring Contract from SRM to ECC - Classic scenario

    Dear Experts
    SRM 702
    ECC 6.0 EHP6
    SRM - Classic scenario
    Need to understand PI setting for transferring Contract from SRM to ECC, as currently document Central Contract document getting created in SRM, but it is not getting transfer to ECC
    No XML message getting triggered in ECC systm as well
    can you help me in this
    if any additional information needed, pls revert
    Regards
    Prashant K

    Fully approve and release the contract. It will trigger the XML Message.
    Go to https://websmp203.sap-ag.de/~form/handler?_APP=00200682500000002672&_EVENT=DISPLAY&_SCENARIO=01100035870000000122&_HIER_… and download the configuration guide & check the PI setting and required Software Components in PI.

  • TS1314 can you write the steps for transferring photos from my pc to ipad2

    Can you please write down the steps for transferring photos from my PC to IPAD2?

    Sync photos to iPad
    http://support.apple.com/kb/HT4236

  • Business scenairo for transfering data from Non Sourace system.

    Hi everyone,
    i am looking for sample business scenario for transferring data from non source system.
    If the case study is for any Financial system that will be even great.
    if any one has good Document Please Fwd it to e-mail [email protected]

    hi rk,
    what you means to say something source like flat file, not from r/3 side.
    or
    what exactly you want,plz explain?
    regards,
    San!
    if helped,assign point!

  • I have an iphone 4 with videos on it that I'd like to transfer to an IMac so that I can email them.  (the iphone isn't in use anymore.)  What's the procedure for transfering videos from an iphone to an iMac?

    I have an iphone 4 with videos on it that I'd like to transfer to an IMac so that I can email them.  (the iphone isn't in use anymore.)  What's the procedure for transfering videos from an iphone to an iMac?

    Connect the iPhone to your Mac with its USB cable and launch iPhoto.  In iPhoto you can select which files to upload into the library.  Once in the library export them out of iPhoto to a folder on the Desktop via File ➙ Export ➙ File Export  with Kind=Original. That will give you copies of the videos in the folder for use outside of iPhoto.
    If you want to bypass importing into iPhoto try launching Image Capture and manually upload the selected video files to the folder of your choice.
    OT

  • I recently transfered everything from my emac to another one but now when I try to open iTunes I get the window that states: The file "iTunes Library" cannot be read because it was created by a newer version of iTunes.

    I recently transfered everything from my emac to another one but now when I try to open iTunes I get the window that states: The file "iTunes Library" cannot be read because it was created by a newer version of iTunes. The computer I transfered to had a bunch of files on it and I got full ownership of what was already there, so, how do I get to my iTunes library, I do have access as an administrator to the iTunes library (that works just fine) already there and I guess I must have had a newer version ofiTunes on my defunt eMac....

    Tell us some version numbers please, of your Mac OS versions and iTunes versions on both computers (two eMacs yes?).
    dlrobinson49 wrote:
    I guess I must have had a newer version ofiTunes on my defunt eMac....
    That is a pretty good guess.Try updating the second eMac's iTunes to at least the version that was on the first.

  • What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?

    Hi All,
    I am new to TestStand. Still in the process of learning it.
    What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?
    Thanks in advance,
    LaVIEWan
    Solved!
    Go to Solution.

    Hi,
    Using the Parameters is the correct method to pass data into and out of a sub sequence. You assign your data to be passed into or out of a Sequence when you are in the Edit Sequence Call dialog and in the Sequence Parameter list.
    Regards
    Ray Farmer

  • SCAT program for copying BOM from one material to another material??

    Hi Gurus,
    Tried creating SCAT program for copying BOM from one material to another material and founf that the copying function does not work.
    Please advise??
    Thank you.
    Naveen.

    HI Satish Ji,
    We are using version 6.0.
    We were able to create SCAT for creating new BOM but, for copying we are facing an issue.
    Kindly advice.
    Thank you.
    Naveen.

  • Can anyone give me step by step for calling FM from one SAP to another SAP

    can anyone give me step by step for calling FM from one SAP to another SAP
    points will be rewarded,
    thank you,
    Regards,
    Jagrut BharatKumar Shukla

    *& Report  RFC_FOR_CUSTOMER_LIST
    *& RFC to a Fn. module from another system which implements BAPI
    REPORT  rfc_for_customer_list.
    DATA:
      fl_status TYPE i.
    DATA:
      fs_message TYPE bapiret2.
    DATA:
      BEGIN OF fs_customers,
        id   TYPE s_customer,
        name TYPE s_custname,
      END OF fs_customers.
    DATA:
      t_customers LIKE
         STANDARD TABLE
               OF fs_customers.
    CALL FUNCTION 'Z_BAPI_GET_CUSTOMER_LIST' DESTINATION 'R3N'
      IMPORTING
        return = fs_message
      TABLES
        customerlist = t_customers.
    IF sy-subrc EQ 0.
      fl_status = 1.
      LOOP AT t_customers INTO fs_customers.
        WRITE:
          /10 fs_customers-id,
           30 fs_customers-name.
        AT LAST.
          WRITE:
            /,/5 'No of customers in R3N = ', sy-tabix.
        ENDAT.
      ENDLOOP.
    ELSE.
      MESSAGE 'RFC failed' TYPE 'S'.
      EXIT.
    ENDIF.
                           TOP-OF-PAGE EVENT                            *
    TOP-OF-PAGE.
      IF fl_status NE 0.
        WRITE:
          /12 'ID'   COLOR 6,
           32 'NAME' COLOR 6.
        SKIP.
      ENDIF.
    This is one small example...
    Regards,
    Pavan

  • Query for transferred calls

    I am attempting to create a report of transferred calls from the calldetailrecord table in the CDR database using Call Manager 4.2. I have read the documentation provided for the table and it looks to me like if there is a call from 555-1212 to ext 100 and ext 100 transfers it to 101, I should see something like this:
    CallingPartyNumber,FinalCalledPartyNumber
    555-1212,100
    100,101
    555-1212,101
    However, I have a few problems. First of all, I can't find anything like this pattern in over 4 months worth of data from our system, where lots of calls are transferred each day, although right now I'm just kind of combing through using different queries by time etc. Also, I have a lot of records where the CallingPartyNumber column is blank, or the OriginalCalledPartyNumber field has a weird value starting with b, like b5627368934. Also I cannot seem to determine which column would link together all of the segments of a call for a transferred call, so that I can see all transfers for one actual call (which is why I'm just trying all sorts of different queries right now). Can anyone help me out with an example query to find some transferred calls and list out all of the transfers for each call?
    Thanks

    Hi,
    OriginalCalledPartyNumber beginning with 'b' means conference call to conference Bridge.
    Transfered calls you can analyze using lastRedirectDN (redirecting number) field.
    Empty callingPartyNumber means that PSTN caller has restricted number presentation.
    Detailed CDR description for CCM 4.2.3 you can find at:
    http://www.cisco.com/univercd/cc/td/doc/product/voice/vpdd/cdd/4_2/4_2_3/cdr423.pdf
    regards,
    pk

Maybe you are looking for