cancel
Showing results for 
Search instead for 
Did you mean: 

Doc date and posting date

former_member589891
Participant
0 Kudos

Hii,

If document date is 16.01.2012 and posting date is 10.11.2011 for one vendor invoice.As I know it is not possible.posting date should be after document date.but system does not raise any message.Is there any ABAP development to control this??or write a validation rule for particular transaction code?here FI period is open.If I locked then it will never happen.Please let me know the reason why system allow this type of scenario??

Cheers

Joy

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

This message was moderated.

former_member213733
Active Contributor
0 Kudos

Hi ,

System issues an information message that posting date is in past .

Secondly the postings control is achieved through OB52 system would allow you to post to the periods which are open in OB52 .

In case if you want any kind of validation that posting date = document date etc. then in that case you can very well user GGB0 and exit functionality of the same to achieve it .

Cheers ,

Dewang

former_member220489
Active Contributor
0 Kudos

Hi,

In the standard system, it will allow the later document date for earlier posting date.

If you want to restict, you write validation like below in GGB0-> Financial Accounting -> Document Header

Prerequisite: TRUE

Condition: BKPF-BLDAT <= SYST-DATUM AND BKPF-BLDAT <= BKPF-BUDAT

Message: Put Error message as you want to tell the user to change the date

TRUE means no prerequisite and condition is set like doc date must be earlier than current date / posting date.

This will solve your issue.

Regards,

Srinu

former_member589891
Participant
0 Kudos

Hiii,

In the standard system, it will allow the later document date for earlier posting date...why?could you tell me?

Cheers

Joy

saurabh_khandelwal
Active Participant
0 Kudos

Dear Joy,

Please follow below steps,

> Goto OBA5

> Work Area F5

> New Entry

> Msg No. 192 - Online E - Batchl E

The system will throw error if posting date is in future.

Regards

Saurabh

former_member589891
Participant
0 Kudos

Dear Saurabh,

I am trying this.But it is giving warning message not error message.If I press enter then next screen will appear.in this stage what shall i do?

Cheers

Joy

saurabh_khandelwal
Active Participant
0 Kudos

Dear Joy,

Its a simple task for your ABAP Team,

Ask them to create a User Exit for the same.

This will surely solve your issue.

Regards

Saurabh

former_member589891
Participant
0 Kudos

Dear Saurabh,

Shall I give them any logic for user exit?If yes,then what logic i will provide them?

Cheers

Joy

saurabh_khandelwal
Active Participant
0 Kudos

Dear Joy,

You need not provide any logic.

I had same requirement with one of my client, I just gave ABAP team the requirement and they applied the user exit.

Regards

Saurabh

saurabh_khandelwal
Active Participant
0 Kudos

I think Srinu has provided some logic.

You can take this as reference.

Regards

Saurabh

former_member220489
Active Contributor
0 Kudos

Mr Joy,

Standard system has designed in that way only. Coz of many business requiremnets, SAP made this has possible to accept DOC DATE > POSTING DATE.

At the same time, SAP has given provision to change the message type to ERROR, as it is already suggested by someone above.

Another workaround for this would be VALIDATION, which i have already suggested as we are also using the same to avoid such postings.

Cheers,

SRinu

Former Member
0 Kudos

Hi

Check with ABAPer

Posting Date:

When entering documents, the system checks whether the posting date entered is allowed by means of the posting period permitted.

The posting date can differ from both the entry date (day of entry into the system) and the document date (day of creation of the original document).

Document Date:

The document date is the date on which the original document was issued.

The document date must not be the same as the posting date on which G/L account balances or customer and vendor balances are updated.

The document date can be the issue date of an invoice or a payment, for example.

Former Member
0 Kudos

Hi Joy

For standard SAP system under ur case,

the 1st mesg u receive is "Period 01 adjusted in line with posting date 2011/11/16".

the 2nd mesg u receive is "Posting takes place in previous fiscal year".

the 3rd mesg u receive is "Document date and posting date are in different fiscal years".

Those all mesg are warning to hint u that have different fiscal years and date.

The FI period is to control post date not doc. date .

And the doc. date is reference to ur system date or vendor invoice date.

Hope help u to clear something.

Adrian.

srinivasa_maruvada
Active Contributor
0 Kudos

If posting date is before document date, system displays message. check below

Posting takes place in previous fiscal year

Message no. F5202 : Effects on Customizing : You can define when this system message is to be issued in accordance with your requirements.

You do this in Customizing as follows: Cross-Application Components -> Bank Directory -> Change Message Control.

The application area and message number can be taken from the technical documentation.

If it is previous period system shows message

The system determines posting period 09 from the posting date

16.12.2011. However, you explicitly entered posting period 10. Error message F5000

Former Member
0 Kudos

when doc date is after posting date system raises the warning message not error message. if your system is behaving diffrently take help of your abaper to write validation for same

regards

former_member589891
Participant
0 Kudos

there is no warning message will occur...system smoothly running.validation rule we can write also for particular transaction code.

cheers

Joy

Former Member
0 Kudos

Hi Joy,

Generally document date is not controlled by any condition in SAP. Exception to this would be writing a validation rule exclusively for this purpose.

Warm regards,

Murukan Arunachalam