Find out previous Monday based on 0CALDAY

Hi Gurus,
I want a way to return the date of a pervious Monday regardless of the run day of the query. I have 0CALDAY field in query. How to do it please advice ?
Thanks
Liza

Hello,
There are lots of function modules for date conversion, you can use them in the User Exit and get the Prev Monday you want by using the system date
see this which function is used for  adding days to given month
see this fm to find saturday & sunday .
Thanks
Chandran

Similar Messages

  • Regarding finding out Partner function based on Sales Order/Output Type

    Hi All,
    <b>I have a issue in finding out Partner function[PARVW],  Message partner[PARNR], Message transmission medium[NACHA], Teletex number[TELTX], User name[USNAM], Message processed manually[MANUE], Country Key[TLAND] and some other fields all are related to NAST table.</b>
    Actually we have one script which is already working when we run from from <b>VA02/03</b> for single order.
    When we execute from <b>VA02/03</b> all <b>NAST</b> table entries are filled up and by using those entries we are fetching remaining entries and displaying them in Output.
    Now we are developing another program where we will have a selection screen with <b>Sales order, Output Type & Order Type</b> and execute the program and then we will get list of sales orders in <b>ALV list output</b> with check boxes before every record.
    Now if we select one (or) multiple records from there and click on Print Prevview button i am calling above <b>SAP Script Print Program</b> but now in that P.Program we will not have any <b>NAST</b> table entries other than Sales Order and Output Type those can be moved to [<b>NAST-OBJKY, NAST-KSCHL</b>].
    But here what about other fields in <b>NAST</b> table like <b>PARVW, PARNR, NACHA, TELTX, USNAM, MANUE, TLAND</b> etc.
    How can we get them as we are exclusively using those other <b>NAST</b> table entries in above <b>SCRIPT/Print Program</b>.
    Can anybody solve this issue!
    Thanks in advance.
    Thanks & Regards,
    Prasad.

    Check this FM
    WFMC_MESSAGES_SELECT
    example
    tables : nase.
    constants: appl     like nase-kappl value 'V2'.
    select-options:
      rg_nacha  for nase-nacha default '1',
      rg_kschl  for nase-kschl.
    ranges: rg_objky for nast-objky.
    data:
    msgs_1 like msg0   occurs 100 with header line.
    *-Fill Object Key
    *-Execute fm
    call function 'WFMC_MESSAGES_SELECT'
         exporting
              pi_application = appl
              pi_processing  = '1'
         tables
              ri_medium      = rg_nacha
              ri_type        = rg_kschl
              ri_object      = rg_objky
              tx_messages    = msgs_1.

  • Find out modell specs based on serial number?

    is it possible to find our a phone exact specifications based on the serial number or IMEI?
    I recieved a replacement iPhone, but bought an iPhone 5 in the meantime.
    So I wann sell this "new" iPhone on ebay, without having to unwrap it. Wanna make sure I got the same spec phone that i sent in, before selling it.
    Thx

    Plug the SN in here:
    http://www.chipmunk.nl/klantenservice/applemodel.html

  • How to find out company code from a plant ?

    Hello friends,
    I have to modify a program that uses FM "BAPI_COMPANYCODE_GET_PERIOD".   For that, we have to export company code ID.  Currently it is hard coded with one company code.  Now we want to make this program usable by all company codes.  So instead of hard coding, I would like to dynamically find out company code based on the plant.   So I want to know - how to find out company code from a plant ?  Is there any table that has plant to company-code assignment data, or any other FM/BAPI to get this info ?
    Thanks,
    - Chetan

    hi
    u can find this from table T001K
    or just goto EC01
    here click on STRUCTURE>NAVIGATION
    double click on co code u will get the list
    u can slo try this in EC02
    regards
    kunal

  • How to find out asset number in SAP

    Hi,
    Please let me know how to find out asset number based on the depreciation document number.
    Regards,
    Bhaskar Suruvu

    In the FI document header text / line item text you found back the asset document number like:
    AFB01200900101-0000000001
    In the table ANLP you can found back the document number -0000000001
    On this way you can make the link

  • How to find out the user iD that previously deleted?

    Hi,
    My client has deleted some user ID in SBO v2004b. HOwever, when the client did that, he forgot to "deselect" the license that granted to the users going to be deleted. What's worse, he forgot the user ID that he deleted.
    It makes the license available decrease. So, how can i find out the user ID that i previously deleted? Or any method to retrieve the correct number of license originally. ?
    Thanks for your advice

    Hi,
    Have a look at the FAQ weblog, Missing licence topic:
    /people/ibai.pea/blog/2006/07/26/sbo-faq
    Regards,
    Ibai Peñ

  • I am trying to find out if I can change a setting of the calendar in my iPhone.   When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change? SS

    I am trying to find out if I can change a setting of the calendar in my iPhone. 
    When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change?

    Hello SMEvans32
    You can use iCloud to share the Calendar, that way she will always be up to date on that particular section of your work calendar. If you want to use iCloud, I would recommend backing up so you have a safe copy of your data.
    iCloud: Calendar sharing overview
    http://support.apple.com/kb/PH2689
    iCloud Setup
    http://www.apple.com/icloud/setup/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • My ipod was stolen, can I find out what the serial number of it is, based on looking at a connection history in my itunes? How would I do this? I didn't register it.

    My ipod was stolen, can I find out what the serial number of it is, based on looking at a connection history in my itunes? How would I do this? I didn't register it. I think I found the guy selling it, just looking to confirm the serial number and I'll make a phone call to the police.
    Thanks

    kevilay2013 wrote:
    is this possible?
    Yes.
    Open iTunes on the computer you used to sync the iPod and select Preferences… from the iTunes menu.
    Select the Devices pane. Position the cursor over any of its backups. The iPod's serial number will appear in a popup window.

  • How to find out the top 10 data loads based on time duration?.

    Hi,
    We are working on performance tuning. so we want to find out the top 10 loads which had run long time in date wise.
    We need the load start time and end time of the load process, Infosource and datatarget name.
    There are nearly 1000 loads, So it is very difficult to collect the load's timings in RSMO.
    Is there any another alternative to collect the top 10 loads based on time duration in date wise?
    Thanks & Regards,
    Raju

    Hi Gangaraju,
    You can install BI Statistics for getting these type of data.
    Or you check in RSDDSTAT or RSMDATASTATE_EXT or  table for the Load process time.
    Or goto t-code ST13 to get detailed analysis of a Process chain for a given period.
    Hope this helps.
    Regards,
    Ravi Kanth

  • How to find out the service conformation details based on service order

    Hi.
    I open the CRMD_ORDER
    In this i open a service order.
    I got all the information of that particular service order number in the CRM_ORDER_READ program.
    But i unable to find out conformation details of that particular service order.
    In CRM_ORDER_READ we have DOC_FLOW. But in that i did not find Conformation data. like Conformation number.
    Can anybody explain me regarding finding the conformation details based on the service order.
    I want service conformation number based on the service order.
    Is there any other function module to get all the details of service order with the service conformation also.
    Thank You.
    Regards,
    B. Krishna.

    Hi Krishna,
    You can get the confirmation order guid based on service order number from CRM_ORDER_READ.
    Under ET_DOC_FLOW structure where OBJTYPE_B=BUS2000117 ,OBJKEY_B=Confirmation guid.
    Then from guid you can get the confirmation number.
    Hope this resolves your querry.
    Regards,
    PePe

  • HT4113 hello, I have an Iphone 4 and im trying to "erase all content and settings" but it asks for a passcode that i have no idea what is. its none of my previous passcodes ive ever had. What should i do to find out that passcode?

    Hello im trying to "erase all content and settings" on my iphone 4, but it keeps asking for a 4 digit passcode and i have no idea what that passcode is. It's none of my previous passwords I've had on the phone since i've used it. How do i find out that Passcode?

    Are you sure it's asking for a four digit code?
    iOS 7 has a new feature called Activation Lock.  It requires your Apple ID and password before doing something like an iPhone reset.  This is a new anti-theft feature.

  • How can I find out the previous service provider my device is still registered with?

    When trying to create a BIS account, I received the error message that my device was already registered with a different service provider and that I would have to reregister it. The problem is that I bought it new from cordlessphoneworld.co.uk and it was supposedly "completely refurbished".
    My Pearl 8100 is a BT phone, however BT confirmed to me that it was not registered with their network. The seller,  cordlessphoneworld.co.uk, told me to contact BlackBerry support, and BB support told me to talk to my service provider (O2 UK) who has already told me I would have to get in touch with the previous service provider.
    How can I get my BB released from its current BIS registration, or at least find out who it is registered with, in order to finally enjoy its full functionality and not just the regular phone stuff?
    My BB info:
    PIN: *********
    IMEI: #################
    Happy for any help or ideas!!
    Thanks.
    EDIT: Removed personal information
    Message Edited by Andy on 08-30-2009 02:33 PM

    Theres a high chance it was set up with the original carrier that is was sold with.
    To find this out you need to get the vendor id of the device.
    Do this by holding down (all at the same time ) the ALT+CAP+H button..
    Or
    Whilst pressing down ALT, select E Then S then C then R
    You should see a little page pop up with random info.
    What you are looking for is the vendor ID. a three digit number.
    Then I will post a list of all the vendors IDS at the end of this message as i can't remember the link..
    Anyhow, find the carrier from the list and call them asking them to release the PIN..
    IF... the prev user didn't register it with that carrier (which would mean you phone has possibly been used twice before) then you can call your current Carrier and ask them to escalate the call to RIM who will be able to tell...
    Hope this helps..
    ALT+CAP+H
    OR
    ALT+ E,S,C,R
    100 T-Mobile US
    101 AWS
    102 Cingular Wireless
    103 Nextel
    104 Sprint PCS
    105 Verizon
    106 Alltel
    107 Rogers
    109 BWA (Aliant/Sasktel)
    111 MM02 DE
    113 Telfort
    114 T-Mobile DE/AU
    115 TIM
    116 Hutchison
    117 Bouygues
    118 SFR
    119 Orange_France
    120 VODAFONE (UK)
    121 Telcel
    122 Telstra
    123 T-Mobile (UK)
    124 Vodafone Germany
    125 MM02 UK/IRL/NL
    126 Telus
    127 SMART
    128 Starhub
    129 Telefonica
    130 Swisscom
    131 Cable & Wireless
    132 Vodafone (IT)
    133 Vodafone (ES)
    134 T-Mobile (NL)
    135 Cincinnati Bell
    136 Telefonica_LAM
    137 Vodafone Austria
    138 Vodafone Australia
    139 Vodafone Ireland
    140 Vodafone Sweden
    141 CSL
    142 Orange UK
    143 Vodafone New Zealand
    144 SingTel
    145 Globe
    146 Optus
    147 Orange Mobistar
    148 Vodafone_HU
    149 Bharti
    150 KPN
    151 TIM_Greece
    152 Proximus
    153 Vodafone_Portugal
    154 TIM_Brazil
    155 BT_Mobile
    156 Earthlink
    158 E-Plus
    159 BASE
    160 Dobson
    161 Vodafone_Egypt
    162 Orange_Switzerland
    164 Triton
    165 Maxis
    166 Vodafone_Denmark_(TDC)
    167 MobileOne_(Voda_Singapore)
    168 Vodacom
    169 T-Mobile_PO
    170 T-Mobile_CZ
    171 T-Mobile_HU
    173 MTN
    174 Entel
    175 Amena
    176 SmarTone
    177 TCS
    178 Avea
    179 F100
    180 Turkcell
    181 Partner
    183 Orange_Global
    186 Telkomsel
    188 Vodafone_Greece
    189 USCC
    190 Mobilink
    194 Voda_Luxembourg
    195 Voda_Iceland
    198 Vodafone_CZ
    204 China_Mobile
    205 Movilnet
    209 Sympac
    210 TIM_Argentina
    212 Etisalat
    214 AMX
    215 Telefonica_Venezuela
    217 Orange Romania
    218 KTP
    222 Mobitel Bulgaria
    224 PCCW/Sunday
    227 Mobily
    229 Eurotel
    230 Hutchison Essar
    If your issue is resolved, put a checkmark in the green box that contains the resolution.
    OR
    If it was just/or also really helpful - Give it a Kudos.. Go on Mate.. Help the rest of the clueless blackberry user world find their answer too..
    ~Gday from Down Under~

  • Ip SLA RTP based VOIP Operation - To find out MOS value

    Hi All,
    I am new to VOIP. We are trying to find out the MOS value in our VOIP network. For that we thought of using IP SLA RTP Based VOIP operation to get the MOS values. http://www.cisco.com/en/US/docs/ios/12_4t/12_4t4/htrtpvip.html
    I ve used 3825 with NM HDV module with 3 DSP as SLA originator and AS 5400 XM as SLA responder.
    But i'm not getting the MOS values,
    show ip sla statistics shows that the operation failed due to Format Failure.
    I ve attached the config of my 3825. Kindly go through it and advise if any changes to be done.
    In AS 5400 XM there is no special config related to this. I ve enabled only " IP SLA RESPONDER"
    Error message:
    LAB-3825-R6# sh ip sla stat
    Round Trip Time (RTT) for Index 1
    Type of operation: rtp
    Latest operation start time: *05:04:58.707 UTC Wed May 14 2008
    Latest operation return code: Format failure
    Latest RTT (milliseconds): 0
    Source to Destination Path Measurements:
    Interarrival Jitter: 0
    Packets Sent: 0
    Packets Lost: 0
    Estimated R-factor: 0 MOS-CQ: 0.00
    Destination to Source Path Measurements:
    Interarrival Jitter: 0
    Packets Sent: 0
    Packets Lost: 0
    Estimated R-factor: 0 MOS-CQ: 0.00
    Operation time to live: Forever
    Operational state of entry: Active
    Last time this entry was reset: Never
    LAB-3825-R6# sh ip sla stat aggre
    Round Trip Time (RTT) for Index 1
    Type of operation: rtp
    Start Time Index: *05:06:21.019 UTC Wed May 14 2008
    Number of successful operations: 0
    Number of operations over threshold: 0
    Number of failed operations due to a Timeout: 0
    Number of failed operations due to a No Connection: 1
    Number of failed operations due to an Internal Error: 5
    Number of failed operations due to a Sequence Error: 0
    RTT (avg/min/max): 0/0/0 ms
    Source to Destination Path Measurements:
    Interarrival Jitter (avg/min/max): 0/0/0
    Packets Sent (avg/min/max): 0/0/0
    Packets Lost (avg/min/max): 0/0/0
    Estimated R-factor (avg/min/max): 0/0/0
    MOS-CQ (avg/min/max): 0.00/0.00/0.00
    Destination to Source Path Measurements:
    Interarrival Jitter (avg/min/max): 0/0/0
    Packets Sent (avg/min/max): 0/0/0
    Packets Lost (avg/min/max): 0/0/0
    Estimated R-factor (avg/min/max): 0/0/0
    MOS-CQ (avg/min/max): 0.00/0.00/0.00
    Any help is greatly appreciated.
    thanks in advance.

    Hi,
    AS 5400 cannot be used even as SLA responder for RTP probe. Thats the reason i got the Format Failure error. We can view the type of SLA Probes the router supports by issuing the following command:
    sh ip sla application.
    for eg below is what i ve taken from AS 5400
    sh ip sla application
    IP Service Level Agreements
    Version: Round Trip Time MIB 2.2.0, Infrastructure Engine-II
    Time of last change in whole IP SLAs: 10:48:00.737 IST Tue May 20 2008
    Estimated system max number of entries: 49625
    Estimated number of configurable operations: 49608
    Number of Entries configured : 17
    Number of active Entries : 17
    Number of pending Entries : 0
    Number of inactive Entries : 0
    Supported Operation Types
    Type of Operation to Perform: dhcp
    Type of Operation to Perform: dlsw
    Type of Operation to Perform: dns
    Type of Operation to Perform: echo
    Type of Operation to Perform: frameRelay
    Type of Operation to Perform: ftp
    Type of Operation to Perform: http
    Type of Operation to Perform: icmpJitter
    Type of Operation to Perform: jitter
    Type of Operation to Perform: pathEcho
    Type of Operation to Perform: pathJitter
    Type of Operation to Perform: tcpConnect
    Type of Operation to Perform: udpEcho
    Type of Operation to Perform: voip
    IP SLAs low memory water mark: 68416281
    chnmgw1#
    Hope this will help others looking for RTP based VOIP operation..

  • How to find out the Sales order no based on spool no

    Hi Experts,
    Anyone tell me how to find out the Sales order no based on Spool no.
    Thanks and regards,
    Amjad

    Hello Mohammed,
    Please check the following SAP Spool tables for your spool request.
    You will find your required document number as an Object key in these tables.
    TSCMSTAT   --> Field OBJNO
    SOOS           --> Field APPLKEY (Document number will be a part of this key)
    If your document is getting printed by SAP Script, then dont forget to take SCR value in the OBJTP field while searching for your record.
    Thanks and Best Regards,
    Vikas Bittera.
    ***Points for Usefull answers ***

  • I bought a secondhand iphone 4s.when i reset all content,i cant activate my iphone 4s.i cant find the previous owner because i didnt save his number.how can i activate my iphone?im so messed out.

    i bought a secondhand iphone 4s.when i reset all content,i cant activate my iphone 4s.i cant find the previous owner because i didnt save his number.how can i activate my iphone?im so messed out.

    If you mean activating it as far as using it on your phone plan, then you're going to have to go to your cell provider and have them do that for you and add the device to your current plan. Otherwise without activating it, the most your iPhone will be, is a thick iPod. Of course with wifi, you could still send iMessages, but that's the extent without adding it to a cell plan.

Maybe you are looking for

  • Can not promote server from Standalone to PDC

    Hi, I am currently trying to promote my SMB service from a Stand Alone server to a Primary Domain Controller (PDC). It get to an Authentication window asking for my Directory Admin name and password. Which I enter correctly. I click okay, and the set

  • Hp laserjet 1025nw won't print

    I have 3 computers connected wirelessly to my hp laserjet 1025nw. I can't print from any of the computers. The green light flashes on the printer. When you check the status on the computer, it says the printer is ready and the document is printing...

  • Incorrect free space reported on FAT32 USB drive

    I'm suspecting this is an issue deeper than Finder, but here we go: I have an 80GB external drive that connects via USB and is formatted FAT32 (for compatibility with my Windows machine and PS3, so this can't change, unfortunately). The other day, I

  • Purchase Order Creation Query

    Gurus, How do I know if a purchase order is created with reference to a contract and purchase requistion (no RFQ)? Thanks

  • EVALUATE_AGENT_VIA_EXPESSION - Issue in Production

    Hi Experts!! We are facing a very strange issue. We have done agent determination through a ztable. Approvers ID will be selected from that ztable. Approver ID is being filled in (as US0001) but still it is showing the error EVALUATE_AGENT_VIA_EXPESS