вторник, 14 января 2020 г.

SAP FI, Defaulting of 'Tax Reporting Date' (BKPF-VATDATE) in FB01 t-code

As per SAP standard, Tax Reporting Date in Document Header section of FB01 t-code is being defaulted with Posting Date. Let's assume, you're required to enhance it so that it stops defaulting the value in Tax Reporting Date field or ,as an example, you want it to be defaulted with Document Date field value.
Note that below described approach is not supported by SAP standard, so I'd advise you to discuss the approach with your ABAP people.

SE18 t-code:
Enhancement Spot VATDATE_RULES with the BADI definition VATDATE_VALUES.
A default implementation: VATDATE_VALUES_DEFAULT_SAP

Create Z* enhancement implementation:

And add the following logic into it:
IF BKPF-BUKRS= 'this and that' then BKPF-VATDATE to be equal to BKPF- BLDAT when posting document through FB01, FB60, MIRO and VF01 t-codes.

That's about it :) 






понедельник, 13 января 2020 г.

SAP MM, Material Ledger, post New G/L migration issue with J* reports

Suppose New G/L migration is happening in FY 2020, and ,out of the blue, J1GGL report stops displaying data for the specified ledger(s) for G/L accounts, which is linked to GLT0 table update post New G/L migration.
When asking SAP, they might advise you to take a look at the following SAP note # 923946 with some correction instructions provided in it, which ,in fact, is not solving the issue with J* reports. Programs that can be affected are as following:
J_1GALTB Ledger Trial Balance (Official)
J_1GALTL Update A/L (FI) from SPL
J_1GGL000 Detailed Ledger
J_1GJR_ROUTINES Document Journal
J_1GSL000 Summarized Ledger
J_1GTBAC0 Ledger Trial Balance in ASCII file
J_1GTBGL0 Ledger Trial Balance (Unofficial)
J_1GVL_ALPOST_DI Analytical Ledger (A/L) postings for Materials
J_1GVL_WHBT05 Read actual values for given WHB column

In reality workaround to the issue is as simple as below:

(1) Execute J1GGL for ALL of the the prior to FY 2020 fiscal years (i.e. all of the FYs prior to New G/L migration). I believe, some FM is being re-generated at this step. If you know FM technicalities, then just re-generating it via SE37 should be enough (and share FM naming in comments section!:))

(2) Execute J1GGL for the FY 2020 and validate whether now data is being displayed correctly. 


SAP FI, Adding of user-specific fields into Asset standard reportings (for example, Asset Balances report)

Suppose requirement is to add user- specific field Transaction Type into Asset Balances report, in order to do so, ANEP table needs to be added into OAVI t-code/or V_T086_N view, which is not possible through SAP standard restrictions.

So below approach is aimed to enhance Asset Balances report with this regards, which is ,once again, is not supported by SAP standard.


SE38: RABEWG_ALV01 program
Structure: FIAA_SALVTAB_RABEWG




Component: .INCLUDE to be copied into new ZFIAA_SALVTAB component, by using Append Structure, highlighted on above screenshot.
Component type is FIAA_SALVTAB_ALL.

Add BWASL into newly created component ZFIAA_SALVTAB:

Check whether ANEPV-BWASL will be available in ALV fields on RABEWG_ALV01 report.
Alternatively, validate whether adding ANEPV-BWASL into structure CI_REPRABEWG can be applicable.



понедельник, 3 июля 2017 г.

NW, Portal, switching between users

So..
When working in Portal, you want to switch between users ,and when you try to do so, it appears that IE is logging- in with previous credentials.
This appeared not to be Portal issue or something.
All you need to do in this case is following:

GO TO IE settings;
'Advanced' tab;
Scroll down to 'Security' menu;
Tick 'Empty Temporary IE files when browser is closed'

SAVE
Restart

That's about it.

Now every time IE is closed, your NW session is getting closed as well and with following run, you will have to enter credentials of new user.


среда, 12 апреля 2017 г.

J1UFTVG, FK888 error message

While trying to generate batch input, following error may occur (not just in that particular specified t-code, but pretty much everywhere, where SM35 is getting called):

Enter a valid date (for example, 03/30/2017)

Message No. FK888

Diagnosis

A non-existent date was entered.

System Response

The program was terminated.

Procedure

Enter a valid date or inform the System manager.

Solution is- to change date format in user settings from MM/DD/YYYY to DD.MM.YYYY, log- out and log- in again and re-run the problematic t-code.

суббота, 25 февраля 2017 г.

Unreleasing of released tasks/TRs

To all the Basis people out there: tasks and requests CAN be unreleased via RDDIT076 program.

Just specify request/or task on one single field of above mentioned program:


Switch to 'Change' mode and change status of released request/or a task from 'R' to 'D' (which stands for modifiable):



Easy as it is. 

четверг, 5 января 2017 г.

Sergei Donatovich

Dovlatov...

For now, probably, one of my the most fav writers of Soviet era. Even though he himself ,most probably, wouldn't agree with being classified as Soviet writer, Soviet citizen, Soviet person.

He left Soviet Union due to... not really sure if this was his own personal decision, or he didn't have any other alternatives. For some reason, I have a feeling he deeply, well ok, with no exaggeration, he probably somewhere deep inside had a feeling of regret of his decision to abandon home. Needless to say, Vertinsky, Yesenin, Kuprin and etc. etc., all of them were having same feeling of regret of leaving home country. Ah, Joseph Brodsky, I bet he was having a great desire to come back. Actually he even did an attempt to cross the border between EU and Soviet Union via Helsinki (he was about to travel from Helsinki central railway station, which I was using to commute from home to my workplace back and forth every single day) but of course, things were way too complicated.. Not sure of Soljenitzyn though. Same with Nabokov and so on and so forth...

Well this is not the topic actually... you know, what's done is done. You can't judge history, period.

It is great that nowadays Sergey Dovlatov is becoming as popular as he probably would never be while being alive, while trying to meet ends when in Tallinn or in New York. He even lived in Tallinn which I have a special feeling about... they say that one of the streets in Tallinn was named after him, I wonder if it is somewhere in old part of the city, which would be so lovely. Last year they have installed a very decent monument in Dovlatov's Leningrad, on his own Rubinstein street- just a simple, huge man, with a sad look. I think it is just my own incorrect perception that he was more of sad person, not satisfied with how things go in his sometimes messy life (again this perception is based on his own fiction only, which is of course can not be 100% true or something of a kind).

What else... ah, well fiction of Dovlatov is amazingly great; I don't remember me reading a book, laughing out indeed loud. 'Chemodan' and part with Tsar Peter! Dialogues are simple and weird and ironic, full of brilliant humor. If you happened to like Bukovsky, then for sure you will fall in love with books of Soviet and none- Soviet at the same time Dovlatov.

ps: been searching for Lurie's 'Dovlatov's Leningrad' with no luck. I really am interested in his city, even though I am already familiar with most of the places- Pushkino, Rossi street (220 meters long, buildings 22 meters hight and width), LGU, Nevsky district and etc. and etc.

pps: here, Dovlatov carrying Mikhail Baryshnikov