Please tell me the group assets configuration
my client wants , add the assets to groups assets, and how many assets are there for a particular group, but i am unable to search that . i dont know group assets concept. please tell me the configuration.
Hi anji,
the system calculates depreciation at the level of individual assets. Certain types of calculation needs or tax requirements (such as in the U.S.A.) make it necessary, however, to calculate depreciation at a higher level. For this purpose, you can group assets in the FI-AA system together into so-called group assets. You can group assets together per depreciation area to form group assets.
It is basically possible to use all asset classes for creating group assets. you need to set aside particular asset classes for use in conjunction with group assets. These asset classes are then reserved solely for group assets, and are not allowed to be used for normal assets.
A group asset is represented in the system by a separate master record.
FI-AA: Master Data -> Group Assets
http://help.sap.com/saphelp_45b/helpdata/en/4f/71dfff448011d189f00000e81ddfac/content.htm
asset acounting
Assign points if useful
Regards
genie
Similar Messages
-
Please tell me the step by step process of HP Tape drive configuration.
Dear all,
we are using ECC5.0 and windows 2003 server and oracle 9i .Please tell me the step by step process of HP Tape drive configuration. I Think initSID.sap file in to change the parameter,but which parameter configure.Please suggest.
Best Regards,
ThiruHello Thiru,
Once the backup completes,tape willl be automatically ejected.
I dont think there is any way by means of which you can see the data stored in the disk but yes what you can do is to run the backup with verify option
This BRBACKUP command option verifies the backup after the files have been backed up
Please refer to following for more info.
http://help.sap.com/saphelp_nw70/helpdata/EN/55/c491f37407e74781bc0ebd96befba7/content.htm
Rohit -
How to change the group asset in asset master
Dear ALL,
If i want to change the group asset in asset master it is appearing in disable mode.Kindly suggest how to make in enable mode. I check the configuration settings and group asset make it is an optional filedl But still it shows in disable mode.Please suggest.
Regards
MaruthiHi
Thanks for all,
Problem i wrote to sap, Once transaction happend, it is not possible to change the group asset. I convienced my client no issue.
Regards
Maruthi. -
I have few PDf files on my computer and I want to add them to my ipod touch, please tell me the procedure on how should I do that? Secondly I want to run these Pdf files through the ibook app, as it also have the Pdf file sections
You should be able to just place them in your Books library in iTunes and check to ensure that your Book library is configured to sync to your iPod when you sync your iPod to iTunes.
-
Please tell me the different events in program
Hi,
Please tell me the different events in program
Saurabh Garg INITIALIZATION
AT SELECTION-SCREEN
START-OF-SELECTION
TOP-OF-PAGE
END-OF-PAGE
END-OF-SELECTION
<b>
AT SELECTION-SCREEN ON <field></b>
Additions
1. ... ON psel
2. ... ON END OF sel
3. ... ON VALUE-REQUEST FOR psel_low_high .
4. ... ON HELP-REQUEST FOR psel_low_high
5. ... ON RADIOBUTTON GROUP radi
6. ... ON BLOCK block
7. ... OUTPUT
<b>Interactive Events</b>
At line-selection
At user-command
Message was edited by: Ashok Parupalli -
Could you please tell me the BAPI of CJ37 or CJ38?
Dear experts,
Could you please tell me the BAPI of CJ37 or CJ38?
Best Regards,
MerryHi Merry,
Gotot Transaction CJ37 screen. Gotot Menu, System >> Status.
There you will get the Program Name. Double Click on that name, it will open the Source code of the T-code.
Goto Menu Attribute. It will show the Package of T-code. IT will be KABP.
Now double Click on the Package name, it will navigate to T-code SE80 i.e. Object Repository.
There under the folder Function Group you can search for BAPI or RFC of your interest.
You can get the Exits or BADIs also relevant to the T-code CJ37/38. -
Please wait for the group policy client - shutting down issues
Hi
I have issues with shutting down machines. When machine is connected to company's LAN everything works fine. However, if machine is connected to VPN - Juniper NC - 1 hour or more it always hangs when it is shutting down. When I shut down the machine
(verbose mode on), first stage is:
Please wait for the system Event Notification service.
This ends exactly
after 3 minutes. Next stage:
Please wait for the group policy client windows 7
...is never timed out (even after few hours). Machine never shuts down.
In Application logs there are always these 4 events when machine is unsuccessfully shutting down:
6005: The winlogon notification subscriber <Sens> is taking long time to handle the notification event (Logoff).
4627: The COM+ Event System timed out attempting to fire the Logoff method on event class {D5978650-5B9F-11D1-8DD2-00AA004ABD5E} for publisher and subscriber . The subscriber failed to respond within 180 seconds.
The display name of the subscription is "ISensLogon2". The HRESULT was 80010002.
6006: The winlogon notification subscriber <Sens> took 180 second(s) to handle the notification event (Logoff).
6005: The winlogon notification subscriber <GPClient> is taking long time to handle the notification event (Logoff).
Sens is timed out after 3 minutes while there is no 6006 event for GPClient and machine is stuck there for ages (Please wait for the group policy client
stage). I noticed in System logs that machine always hangs if there is this error
5783: The session setup to the Windows NT or Windows 2000 Domain Controller \\server for the domain X is not responsive. The current RPC call from Netlogon on \\machine to \\server has been cancelled.
I made a group policy log and below you can see part of GPSVC log when machine is unsuccessfully shutting down:
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: Entering with event 0xe58
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asyn registration is pending
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: Canceling pending calls
GPSVC(2d4.1cfc) 21:31:24:327 Client_CompleteNotificationCall: failed with 0x71a
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: Cancelled pending calls
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: Exiting with dwStatus = 0x0
GPSVC(438.1a04) 21:31:24:327 Waiting for user group policy thread to terminate.
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: Entering with event 0xe10
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asyn registration is pending
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: Canceling pending calls
GPSVC(218.c88) 21:31:24:327 Client_CompleteNotificationCall: failed with 0x525
GPSVC(2d4.1cfc) 21:31:24:327 Client_CompleteNotificationCall: failed with 0x71a
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: Cancelled pending calls
GPSVC(2d4.9c8) 21:31:24:327 CGPNotify::OnNotificationTriggered: Completenotification failed with 1317
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: Entering with event 0xdcc
GPSVC(218.1054) 21:31:24:327 CGPNotify::UnregisterNotification: Entering with event 0x20cc
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asyn registration is pending
GPSVC(2d4.9c8) 21:31:24:327 CGPNotify::OnNotificationTriggered: Completenotification failed with 1317
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::UnregisterNotification: Entering with event 0xd90
GPSVC(218.1054) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asyn registration is pending
GPSVC(2d4.1cfc) 21:31:24:327 CGPNotify::AbortAsyncRegistration: No asyn registration is pending
GPSVC(2d4.1cfc) 21:31:24:342 CGPNotify::UnregisterNotification: Exiting with dwStatus = 0x0
GPSVC(218.d48) 21:31:24:342 Client_CompleteNotificationCall: failed with 0x525
GPSVC(218.d48) 21:31:24:342 CGPNotify::OnNotificationTriggered: Completenotification failed with 1317
GPSVC(218.1c04) 21:31:24:327 Client_CompleteNotificationCall: failed with 0x525
GPSVC(218.1c04) 21:31:24:342 CGPNotify::OnNotificationTriggered: Completenotification failed with 1317
GPSVC(218.1054) 21:31:24:342 CGPNotify::AbortAsyncRegistration: No asyn registration is pending
GPSVC(218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: Exiting with dwStatus = 0x0
GPSVC(218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: Entering with event 0x2100
GPSVC(218.1054) 21:31:24:342 CGPNotify::AbortAsyncRegistration: No asyn registration is pending
GPSVC(218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: Exiting with dwStatus = 0x0
GPSVC(218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: Entering with event 0x1264
GPSVC(218.1054) 21:31:24:342 CGPNotify::AbortAsyncRegistration: No asyn registration is pending
GPSVC(218.1054) 21:31:24:342 CGPNotify::UnregisterNotification: Exiting with dwStatus = 0x0
I tried with signing out from VPN before shutting down machine, I even switched off WiFi but machine still hung. If i tried to get GP results before shutting down machine it takes ages and it is stuck in "Getting the user name" stage.
Gpupdate /force never updates policy (It stops at Updating Policy...). I tired with installing different hotfixes which did not resolve the issue. I never have any
issues with logging in, no GP scripts are applied when user is logging off or on, no roaming profiles. The only issue is when machine needs to be shut down.
I excluded 1 machine from GP and left it on VPN for a few hours, several times. It always shuts down successfully. I applied GP back one by one and the one which is presumably causing an issue is Avecto which adds admin rights when VPN application
starts (event 100):
Process started with admin rights added to token.
Command Line: "C:\Users\User\AppData\Roaming\Juniper Networks\Setup Client\JuniperSetupClient.exe"
Process Id: 5540
Parent Process Id: 2252
Policy: EA-PrivilegeGuardSettings.UK Policy
Application Group: EA-PrivilegeGuardSettings.Applications Granted Admin Rights
Reason: <None>
File Name: c:\users\User\appdata\roaming\juniper networks\setup client\junipersetupclient.exe
Hash: 27D8463A913A802E555AEEF45717B122249AA993
Certificate: Juniper Networks, Inc.
Description: Juniper Setup Client
Application Type: exe
Product Name: Juniper Setup Client
Product Code: <None>
Upgrade Code: <None>
Product Version: 8.0.6.48695
I guess there is a DNS issues when machine is on VPN which leads that GP cannot be applied / updated. Not sure if or why Avecto would have an impact on this. When machine is trying to shut down it still somehow thinks it is connected to DC. What
I also noticed are several explorer crashes while machine is on VPN.
Does anyone have same issues? All machines are Dell with Juniper NC (VPN).
Thanks,Hi,
According to event log, Winlogon process takes a long time to handle logoff event. That's to say winlogon process is waiting for response to logoff.
According to your description after, this problem is most probably caused by Avecto. You can try to disable or uninstall it temporarily for test.
To make further troubleshoot with this problem, you can try to use WPT (Windows Performance Tool) to make troubleshoot.
http://blogs.technet.com/b/askpfeplat/archive/2013/03/22/troubleshooting-windows-performance-issues-using-the-windows-performance-recorder.aspx
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Can anyone please tell me the cause of the msg-The song" " could no be used
because the original file could not be found-and how I might correct that problem? LouI stupidly tried to copy my music files to an external drive so I could transfer them to my new iMac (old Macbook Pro is being retired). I now know I should've tried home sharing or something to transfer the music.
Anyway, the situation I am in is that I have not managed to transfer anything and I now cannot access the music on my old Macbook Pro either! I have the message "the song 'xyz' could not be used because the original file could not be found. Would you like to locate it?". I understand that this is because iTunes cannot locate the files. When I try to locate the files I find nothing.
I have tried searching my whole Macbook Pro for mp3 files and m4a files and Spotlight cant find any! The tracks are all still listed in iTunes. I also searched the external hard drive. I definitely haven't deleted anything. So where could they have gone and is there anything else I can do to search for them? I have a feeling I am just not searching for them in the right way because I have not deleted anything.
Old computer is Macbook Pro OS X 10.6.8 with iTunes 10.4.1
New computer is iMac OS X 10.7.2 with iTunes 10.5
All I want to do is to set everything back to how it was so I can try the transfer a better way.
Please help. Thanks, Dashford. -
Please tell me the soluation How can I give the soluation bilow issue.
Dear Experts,
Please tell me the soluation How can I give the soluation bilow issue.
Currently user are facing one problem with respect of Line item report.
In any of the line item report (i.e. FBL1N, FBL3N, FBL5N) we want to view header reference as column data wonu2019t appear in any of the reference filed.
For Example in Bank G/L Cheque number was enter in reference field but same is not apear
In Sales G/L or tax G/L invoice number is to be appear which is again invoice number as reference in document.
Regards
Devendra.
Moderator: Give proper titles to your threadsHi,
To add Reference field in line item report do below.
From FBL1N output screen.
Click change layout / (clr + F8)
Now add Hidden field u2018Referenceu201D to column content and push copy button.
Now you should be able to view reference field (BKPF- XBLNR) in line item report.
Best Regards,
Raju -
Please tell me the step by step process of backup and full restore
Dear all,
we are using ecc5 and windows and oracle 9i I am going to apply support package .Please tell me the step by step process of backup and full restore . I am using DB13 for backup. Please suggest.
Regards,
ShivaHi,
Login as <SID>adm user & run the following command
brrestore -b <backup logfilelogfile> -m full
this command restore the backup.
you can find backup logfile in /oracle/<SID>/sapbackup/.ant or .aft .
For backup using brtools follow the following procedure:-
Run Brtools Than you get the following option
1 = Database backup
2 - Archivelog backup
3 - Database copy
4 - Non-database backup
5 - Verification of database backup
6 - Verification of archivelog backup
7 + Additional functions
8 - Reset input values
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR662I Enter your choice:
1
BR280I Time stamp 2008-04-04 18.41.57
BR663I Your choice: '1'
BR280I Time stamp 2008-04-04 18.41.57
BR657I Input menu 15 - please check/enter input values
BRBACKUP main options for backup and database copy
1 - BRBACKUP profile (profile) ....... [initPRD.sap]
2 - Backup device type (device) ...... [tape]
3 ~ Tape volumes for backup (volume) . []
4 # BACKINT/Mount profile (parfile) .. []
5 - Database user/password (user) .... [system/*******]
6 - Backup type (type) ............... [online]
7 - Back up disk backup (backup) ..... [no]
8 # Delete disk backup (delete) ...... [no]
9 ~ Files for backup (mode) .......... [all]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR662I Enter your choice:
3
BR280I Time stamp 2008-04-04 18.42.25
BR663I Your choice: '3'
BR280I Time stamp 2008-04-04 18.42.25
BR681I Enter string value for "volume" (scratch|<tape_vol>|<tape_vol
PRDB04
BR280I Time stamp 2008-04-04 18.43.06
BR683I New value for "volume": 'PRDB04'
BR280I Time stamp 2008-04-04 18.43.06
BR657I Input menu 15 - please check/enter input values
BRBACKUP main options for backup and database copy
1 - BRBACKUP profile (profile) ....... [initPRD.sap]
2 - Backup device type (device) ...... [tape]
3 ~ Tape volumes for backup (volume) . [PRDB04]
4 # BACKINT/Mount profile (parfile) .. []
5 - Database user/password (user) .... [system/*******]
6 - Backup type (type) ............... [online]
7 - Back up disk backup (backup) ..... [no]
8 # Delete disk backup (delete) ...... [no]
9 ~ Files for backup (mode) .......... [all]
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR662I Enter your choice:
c
BR280I Time stamp 2008-04-04 18.43.46
BR663I Your choice: 'c'
BR259I Program execution will be continued...
BR280I Time stamp 2008-04-04 18.43.46
BR657I Input menu 16 - please check/enter input values
Additional BRBACKUP options for backup and database copy
1 - Confirmation mode (confirm) ....... [yes]
2 - Query mode (query) ................ [no]
3 - Compression mode (compress) ....... [hardware]
4 - Verification mode (verify) ........ [no]
5 - Fill-up previous backups (fillup) . [no]
6 - Parallel execution (execute) ...... [0]
7 - Additional output (output) ........ [no]
8 - Message language (language) ....... [E]
9 - BRBACKUP command line (command) ... [-p initPRD.sap -d tape -v
Standard keys: c - cont, b - back, s - stop, r - refr, h - help
BR662I Enter your choice:
c
BR280I Time stamp 2008-04-04 18.44.29
BR663I Your choice: 'c'
BR259I Program execution will be continued...
BR291I BRBACKUP will be started with options '-p initPRD.sap -d tape
E'
BR280I Time stamp 2008-04-04 18.44.29
BR670I Enter 'c[ont]' to continue, 'b[ack]' to go back, 's[top]' to
c
BR280I Time stamp 2008-04-04 18.45.13
BR257I Your reply: 'c'
BR259I Program execution will be continued...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
BR051I BRBACKUP 6.20 (113)
BR189W Expiration period equal 0 - backup volumes could be immediate
BR055I Start of database backup: bdxpzadt.ant 2008-04-04 18.45.13
BR319I Control file copy was created: /oracle/PRD/sapbackup/cntrlPRD
BR280I Time stamp 2008-04-04 18.45.13
BR057I Backup of database: PRD
BR058I BRBACKUP action ID: bdxpzadt
BR059I BRBACKUP function ID: ant
BR110I Backup mode: ALL
BR077I Database file for backup: /oracle/PRD/sapbackup/cntrlPRD.dbf
BR061I 25 files found for backup, total size 45884.883 MB
BR143I Backup type: online
BR113I Files will be compressed by hardware
BR130I Backup device type: tape
BR102I Following backup device will be used: /dev/rmt0.1
BR103I Following backup volume will be used: PRDB04
BR280I Time stamp 2008-04-04 18.45.13
BR256I Enter 'c[ont]' to continue, 's[top]' to cancel the program:
c
BR280I Time stamp 2008-04-04 18.45.50
BR257I Your reply: 'c'
BR259I Program execution will be continued...
BR208I Volume with name PRDB04 required in device /dev/rmt0.1
BR210I Please mount BRBACKUP volume, if you have not already done so
BR280I Time stamp 2008-04-04 18.45.50
BR256I Enter 'c[ont]' to continue, 's[top]' to cancel the program:
c
BR280I Time stamp 2008-04-04 18.46.26
BR257I Your reply: 'c'
BR259I Program execution will be continued...
BR280I Time stamp 2008-04-04 18.46.26
BR226I Rewinding tape volume in device /dev/rmt0 ...
BR351I Restoring /oracle/PRD/sapbackup/.tape.hdr0
BR355I from /dev/rmt0.1 ...
BR241I Checking label on volume in device /dev/rmt0.1
BR280I Time stamp 2008-04-04 18.46.26
BR226I Rewinding tape volume in device /dev/rmt0 ...
BR202I Saving /oracle/PRD/sapbackup/.tape.hdr0
BR203I to /dev/rmt0.1 ...
BR209I Volume in device /dev/rmt0.1 has name PRDB04
BR202I Saving init_ora
BR203I to /dev/rmt0.1 ...
BR202I Saving /oracle/PRD/920_64/dbs/initPRD.sap
BR203I to /dev/rmt0.1 ...
Let me know If you have any problem regarding backup & restore
karan -
Please tell me the step by step process of backup and full restore recovery
Dear all,
we are using ECC5.0 and windows 2003 and oracle 9i .Please tell me the step by step process of backup and full restore . I am using DB13 for backup and taken the backup. Please suggest.
Best Regards,
ThiruHi,
Please refer to following link
SAP on Oracle - Backup and Recovery [original link is broken]
Hope this helps.
Manoj Chintawar -
Please tell me the procedure .
I am using eclipse IDE.
I see a.java and b.java file in my eclipse IDE.
Now i put c.java and d.java in the same physical location side by side to a.java and b.java
But , i dont see those in the eclipse IDE !!
i want those files inside the IDE...what needs to be done ?
please tell me the procedure .
thanksRight click svn update only two actions!!!!
cmd = open prompt cd to dir then svn
Thats three!!!
That extra moment could be priceless lolIf you're used to working with command-line tools, you'll have at least a couple of shells open all the time anyway. I always have a few, one of which is already at the root of whatever source code I'm working on. The shell has all the common tasks in it's history, so a quick tap on the up arrow and you're there :-)
Plus, I'm not using Windows so Tortoise is irrelevant anyway -
Please tell me The Procedure to open apple reseller store
Hiii,
I am a post graduate in Inetrnational Business And Marketing From Amity university (india) . I want to open apple reseller store or a service center. please tell me the procedure and investment
Thanx
Ankit Sharma
<Email Edited by Host>I'm afraid I can't offer you good news. I quote:
'Apple is not currently accepting reseller or service provider applications. Please check the Apple Channel Programs page periodically for new information.' -
Please tell me the way to find the person who has booked the conferenceroom
HI All,
When i am trying to book a conference room. it was showing the status a s busy in zimbra.But i am not able to find the person who has booked the room ?? how do i know the person who has booked teh conference room??if i can know that person i can negiotate with him abt the room.
please tell me the way to find the person who has booked teh conference room ?????
Thanks in advance
VenugopalHi Venugopal,
If you add approvers using beekeeper for that resource AND that you use Outlook, you can see who is 'in charge' of that resource, ie the person that will hand over the keys to that room when you need them. That person is the only one who may be able to tell you who has booked the resource, you can then go and 'negociate' ;o)
In Zimbra (1.5.1.5) you can't see the contacts..
hth
David -
Please tell me the functionality of this piece of code
vl_faedn = sy-datum - 15.
All amount fields are 0.00 initially.
Please tell me the functionality of this code.What is the purpose of each query?
YD = Commission Advance
AB = Automatic Clearing Doc
Y4 = Commission Invoice
X4 = Commission Credit Memo
K1 = Commission Adj. Invoice
K2 = Commission Adj.Credit Memo
Retrieve the YD document type total for a Customer
SELECT WRBTR SHKZG
INTO (VL_WRBTR, VL_SHKZG)
FROM BSID
WHERE BUKRS = VL_BUKRS AND
KUNNR = VL_KUNNR AND
UMSKS = 'C' AND
UMSKZ = 'C' AND
BLART = 'YD' AND
ZFBDT <= VL_FAEDN.
IF VL_SHKZG = 'H'.
VL_WRBTR = VL_WRBTR * -1.
ENDIF.
VL_YD_AMNT = VL_YD_AMNT + VL_WRBTR.
ENDSELECT.
Retrieve the AB document type total for a Customer
SELECT WRBTR SHKZG
INTO (VL_WRBTR, VL_SHKZG)
FROM BSID
WHERE BUKRS = VL_BUKRS AND
KUNNR = VL_KUNNR AND
UMSKS = 'G' AND
UMSKZ = 'G' AND
BLART = 'AB' AND
ZFBDT <= VL_FAEDN.
IF VL_SHKZG = 'H'.
VL_WRBTR = VL_WRBTR * -1.
ENDIF.
VL_AB_AMNT = VL_AB_AMNT + VL_WRBTR.
ENDSELECT.
Retrieve the Y4 document type total for a Vendor
SELECT WRBTR SHKZG
INTO (VL_WRBTR, VL_SHKZG)
FROM BSIK
WHERE BUKRS = VL_BUKRS AND
LIFNR = VL_LIFNR AND
( blart = 'Y4' OR blart = 'X4' OR blart = 'K1' OR blart = 'K2' ).
IF VL_SHKZG = 'H'.
VL_WRBTR = VL_WRBTR * -1.
ENDIF.
VL_Y4_AMNT = VL_Y4_AMNT + VL_WRBTR .
ENDSELECT.
VL_Y4_AMNT = -1 * VL_Y4_AMNT.
Retrieve the YD document type total for a Vendor
SELECT WRBTR SHKZG
INTO (VL_WRBTR, VL_SHKZG)
FROM BSIK
WHERE BUKRS = VL_BUKRS AND
LIFNR = VL_LIFNR AND
blart = 'YD'.
( BLART = 'YD' OR BLART = 'K1' OR
BLART = 'K2' ). " Insert
IF VL_SHKZG = 'H'.
VL_WRBTR = VL_WRBTR * -1.
ENDIF.
VL_YD_AMNT1 = VL_YD_AMNT1 + VL_WRBTR.
ENDSELECT.
VL_YD_AMNT1 = -1 * VL_YD_AMNT1 .
IF VL_Y4_AMNT = 0.
VL_TOT_AMOUNT = VL_YD_AMNT1 - VL_AB_AMNT.
ELSE.
VL_TOT_AMOUNT = VL_Y4_AMNT - ( VL_YD_AMNT + VL_AB_AMNT ).
ENDIF.Hi
I dont know what functionality you are asking, Still I try to answer some things, If it's not forgive
vl_faedn = sy-datum - 15.
All amount fields are 0.00 initially.
Please tell me the functionality of this code.What is the purpose of each query?
YD = Commission Advance
AB = Automatic Clearing Doc
Y4 = Commission Invoice
X4 = Commission Credit Memo
K1 = Commission Adj. Invoice
K2 = Commission Adj.Credit Memo
Retrieve the YD document type total for a Customer
SELECT WRBTR SHKZG
INTO (VL_WRBTR, VL_SHKZG)
FROM BSID
WHERE BUKRS = VL_BUKRS AND
KUNNR = VL_KUNNR AND
UMSKS = 'C' AND
UMSKZ = 'C' AND
BLART = 'YD' AND
ZFBDT <= VL_FAEDN.
The Above query retrieves field values WRBTR SHKZG from BSID table to the Local Variable VL_WRBTR & VL_SHKZG , if it satisfies the WHERE condition mentioned for the YD docu type for the Customer
What I suggests , the IF operation should be outside the SELECT-ENDSELECT. May be you have a requirement, I dont know
Atleast You have to perform SUBRC check.. Before the IF operation. for the VL_SHKZG = 'H'.
IF VL_SHKZG = 'H'.
VL_WRBTR = VL_WRBTR * -1.
ENDIF.
VL_YD_AMNT = VL_YD_AMNT + VL_WRBTR.
ENDSELECT.
i.e., What , Here every SELECT query is performing for some document type for customer and vendor with some variable arithmetic operations .
Retrieve the AB document type total for a Customer
SELECT WRBTR SHKZG
INTO (VL_WRBTR, VL_SHKZG)
FROM BSID
WHERE BUKRS = VL_BUKRS AND
KUNNR = VL_KUNNR AND
UMSKS = 'G' AND
UMSKZ = 'G' AND
BLART = 'AB' AND
ZFBDT <= VL_FAEDN.
IF VL_SHKZG = 'H'.
VL_WRBTR = VL_WRBTR * -1.
ENDIF.
VL_AB_AMNT = VL_AB_AMNT + VL_WRBTR.
ENDSELECT.
Retrieve the Y4 document type total for a Vendor
SELECT WRBTR SHKZG
INTO (VL_WRBTR, VL_SHKZG)
FROM BSIK
WHERE BUKRS = VL_BUKRS AND
LIFNR = VL_LIFNR AND
( blart = 'Y4' OR blart = 'X4' OR blart = 'K1' OR blart = 'K2' ).
IF VL_SHKZG = 'H'.
VL_WRBTR = VL_WRBTR * -1.
ENDIF.
VL_Y4_AMNT = VL_Y4_AMNT + VL_WRBTR .
ENDSELECT.
VL_Y4_AMNT = -1 * VL_Y4_AMNT.
Retrieve the YD document type total for a Vendor
SELECT WRBTR SHKZG
INTO (VL_WRBTR, VL_SHKZG)
FROM BSIK
WHERE BUKRS = VL_BUKRS AND
LIFNR = VL_LIFNR AND
blart = 'YD'.
( BLART = 'YD' OR BLART = 'K1' OR
BLART = 'K2' ). " Insert
IF VL_SHKZG = 'H'.
VL_WRBTR = VL_WRBTR * -1.
ENDIF.
VL_YD_AMNT1 = VL_YD_AMNT1 + VL_WRBTR.
ENDSELECT.
VL_YD_AMNT1 = -1 * VL_YD_AMNT1 .
IF VL_Y4_AMNT = 0.
VL_TOT_AMOUNT = VL_YD_AMNT1 - VL_AB_AMNT.
ELSE.
VL_TOT_AMOUNT = VL_Y4_AMNT - ( VL_YD_AMNT + VL_AB_AMNT ).
ENDIF.
Reward points if useful
Edited by: GP on May 10, 2008 9:02 PM
Maybe you are looking for
-
My iTunes gift card has no numbers on the back
They accedently got scratched off
-
3 levels certificate!! URGENT PLZ!!!!
If I have 3 level certificates in my chain, how can i import it in keystore? Width .cer files? i get this certificate from 1 .pfx file. i want to make one standalone application plz help me!!! thnx
-
!Please Help! I have built a site with muse but cant pull it up on a smartphone!
!Please Bail Me Out! I have built a site with Muse but cant pull it up on a smartphone! I am getting an internal server error. I have another site up on the same host server using Weebly & it works fine. Ive just started using Muse.
-
Programati​cally advance Scroll bar in Listbox
Scrollbar has many multiple lines in it. Only one item at a time is programatically selected during a repetitive process. I need to make the scroll bar move to allow the selected item to always be at center or is there a better way? As it is now the
-
Hi, To anyone who can answer this question.... When I copy a 20 digit number from eg excel and attempt to paste it into (clientserver) text field, which has a max length of 10. The paste gets truncated to the first 10 digits, however in webforms the