‎2009 Mar 11 8:08 PM
Hi
It's a 'Z' development the problem is when a document is search ( with_item-ctnumber ) inside code it's a GET bkpf, in DEV and QA environment I get right bkpf-monat but not in PRD environment.
For example:
DEV and QA for document 1600003569(03.06.2009) Monat = 03.
PRD for document 1600003538(03.06.2009) Monat = 01.
How can I do for get usin GET BKPF one document info?
Thanks in advance!!!
‎2009 Mar 11 8:13 PM
Well, you've given two different document numbers. The fiscal periods for the two documents could be different in the different systems for those document numbers.
Rob
‎2009 Mar 11 8:13 PM
Well, you've given two different document numbers. The fiscal periods for the two documents could be different in the different systems for those document numbers.
Rob
‎2009 Mar 11 8:16 PM
Can you please be more specific. It's not clear to me. I think your problem is MONAT is coming different in two different server. I think, that should be corrected by functional people. There is something called "Fiscal Year variant" where we can declare Jan as MONAT 01 as well as MARCH as 01.
Kuntal
‎2009 Mar 11 8:25 PM
Thanks both for answering!!!
yes I agree with The fiscal periods could be different systems, but documents were created as PRD case, same month and year.
where could I check "Fiscal Year variant" ( If you are not talking about program variant ).
Guys, I was debugging and I check that exactly on GET BKPF ( is like a loop ) for my document 1600003538 bkpf-monat = 03, but suddenly in GET instruction with another document 1700003522 bkpf-monat = 01
and this is the value printed
document = 1600003538 .
monat = 01 ( must be monat = 03).
I really appreciate your answer, thanks.
‎2009 Mar 11 8:28 PM
Goto transaction -> SPRO -> Search with "Fiscal Year Variants" -> There you can find one option "Maintain Fiscal Year Variant" Run this as well as go through the documentation also, If this is happening with all the document, I think then, there might be some configuration change in prod server.
Kuntal
‎2009 Mar 11 8:33 PM
>
> Guys, I was debugging and I check that exactly on GET BKPF ( is like a loop ) for my document 1600003538 bkpf-monat = 03, but suddenly in GET instruction with another document 1700003522 bkpf-monat = 01
Well, the different documents are in differnt number ranges.
You can use SE16 to examine both documents and see what the fiscal period is.
Rob
‎2009 Mar 11 8:34 PM
‎2009 Mar 11 8:35 PM
Thanks Rob, I've already check that, and monat in system is well registered.
‎2009 Mar 11 8:40 PM
Rob & Kuntal sorry, but 'Z' program is using a Logical Database (BRM)
‎2009 Mar 11 8:46 PM
>
> Rob & Kuntal sorry, but 'Z' program is using a Logical Database (BRM)
I think we understood that
‎2009 Mar 11 8:50 PM
‎2009 Mar 11 8:55 PM
No - it's just that GET works with logical databases.
What happens if you put a single company code, fiscal year and document type on the selection screen (leaving the accounting document open)? Should be the same in all systems.
Rob
‎2009 Mar 11 9:13 PM
I am not getting any clue, what else may be the reason except configuration.
Kuntal