cancel
Showing results for 
Search instead for 
Did you mean: 

PO to be printed with Present Date instead of PO default Date

Former Member
0 Kudos

Hi SAP Gurus,

We have a requirement to Print POs and send the PO to vendor.. as normal process PO would be created on any previous date.. but the PO approval and release would also happen with due time...

But our client requires the time we send the PO to vendor.. it should contain the latest date ie.. the present today's date at the PO header,

I too think this is very logical requirement... but in SAP how to write a program to fetch the present date and place the same in PO header..while any one prints the PO..

i need a simple work around so that the PO is printed with current date with least no of steps..

Thanks in Advance..

Sari

Accepted Solutions (1)

Accepted Solutions (1)

ajitkumar
Active Contributor
0 Kudos

I suppose your developer can get it using SY- Datum or Sy- Datlo from the form

Answers (3)

Answers (3)

bharat_rathod2
Active Participant
0 Kudos

print sy-datum in smartforms so it print current date every time means when ever you take print a same po with different days then date should be different all time.

Former Member
0 Kudos

Hi Experts,

Have any one encountered this Requirement and were successful.. pls let me know the steps.. as our developer feels it is bit complicated... to inform the system about the present date and time while dynamically printing the POs..

logically they feel where will the present date and time field store in  SAP ? in which table and field in SAP..? so that it can be retrieved in to the PO print program.

as i don't have much IDEA of ABAP so cannot explore much of it on my own.. pls help..

Thanks and regards

Sari

bharat_rathod2
Active Participant
0 Kudos

Dear,

in debugg mode check sy-datum field

SY is workarea

Former Member
0 Kudos

Hi J. Saritha,

Actually what you are asking is purely ABAP work, you could have post it in ABAPer's community.

While printing PO a print program is called, you can mention in that program to pick up SYDATE instead of PO creation date or in script itself you can mention to pick up SYDATE for the PO creation date field.