Tuesday, November 21, 2017

Account Category Reference / Valuation Classes

Account Category Reference / Valuation Classes
Transaction Code - OMSK

Monday, October 16, 2017

Un-Lock Users in Background

*&---------------------------------------------------------------------*
*& REPORT  ZB_LOCK_UNLOCK
*&
*&---------------------------------------------------------------------*
*&
*&
*&---------------------------------------------------------------------*

REPORT  ZB_LOCK_UNLOCK_2.


TABLES: USR02.
*DATA:  GROUPS   TYPE STANDARD TABLE OF BAPIGROUPS WITH HEADER LINE.
*DATA: FLAG TYPE I.
"PARAMETERS: USRID TYPE USR02-BNAME.

SELECT-OPTIONS : USRID FOR USR02-BNAME.

DATA RETURN_DUMMY LIKE BAPIRET2 OCCURS 0.
DATA: V_UFLAG TYPE USR02-UFLAG.

LOOP AT USRID.
  SELECT UFLAG INTO V_UFLAG FROM USR02 WHERE
    BNAME EQ USRID-LOW AND
    UFLAG NE '0'.
  ENDSELECT.
  IF V_UFLAG NE '0'.
    CALL FUNCTION 'BAPI_USER_UNLOCK'
    EXPORTING
         USERNAME = USRID-LOW
    TABLES
         RETURN   = RETURN_DUMMY.
    IF RETURN_DUMMY IS NOT INITIAL.
      WRITE: USRID-LOW. WRITE: ' USER IS UNLOCKED.'.
    ENDIF.
  ENDIF.
ENDLOOP.

Friday, July 28, 2017

Enable fields in Subsitution OBBH

Goto Tcode - SE11
Table Name - VWTYGB01

Click on change.
Select the field you want to bring in OBBH.
Un-tick the exclude box.

Monday, July 24, 2017

Maintain Fast Entry

Use Tcode - O7E6
Create new variant.
Enter the field from possible fields and use the fast data entry.

Taxes on Customer Advances

Calculate the tax on Customer Advances and give the full amount to Credit Control Area.

Tcode FBKP
Select Special GL
Customer Downpayment
Selecy the Special GL Account and enter output tax clearing as MVA.

Tcode OBXB
Select MVA
Maintain the "Control G/L Account for Advances"

Field Changes after FI Posting

The field should be maintained correctly in the table TBAER.
The table can be maintained in view V_TBAER, calling transaction SM30.

https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=398000659

Friday, June 23, 2017

Copy the Depreciation Area in Asset Accounting

Asset Accounting => Organizational Structures => Copy Reference Chart of Depreciation/Depreciation Areas => Copy/Delete Depreciation Areas

Copy the Book Depreciation with
1- Posting in GL = 0 Area Does Not Post
2- Different Depreciation Area = 01

Now Activate the Depreciation Area in Asset Class by using Tcode - OAYZ
Remove the deactivation tick per asset class-wise.

Then goto
1- TCODE - SE38
2- Enter RAFABNEW
3- Do not tick indicator Leave values initial.
4- Run the program.