cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_INSPLOT_SETUSAGEDECISION Backdating Posting Date and Document Date

Former Member
0 Kudos

I am using BAPI_INSPLOT_SETUSAGEDECISION in a custom program for doing UD.

I need to back date my posting for 321 Movement type. The BAPI takes current date as the posting and document date

How can I achieve this in BAPI_INSPLOT_SETUSAGEDECISION

Accepted Solutions (0)

Answers (1)

Answers (1)

busyaban7
Active Contributor
0 Kudos

Hi Radhakrishnan,

I am not sure if you have already explored the below possibility or not -

Inside the said BAPI, there is a structure BAPI2045UD, having component date and time as -

UD_RECORDED_ON_DATE (QVEDATUM) ==> For the date part, when system date is getting picked, this is the place you should try passing on the calculated/user input previous date.

UD_RECORDED_AT_TIME (QVEZEITERF) ==> For the time part, when system time is getting picked, this is the place you should try passing on the calculated/user input previous time.

After that record all the final values in the internal file and try processing UD.

As this request is technical in nature, please can you explore your query in SCN@ABAP forum too.

Thanks,
Arijit


Former Member
0 Kudos

Hi Arijit,

We had explored this possibilty but were unable to post it in past date.

I will try in ABAP forum

former_member190267
Contributor
0 Kudos

Hi,

If you would like to control which date can be entered as posting date when posting material in usage decision you can check if your requirement can be realized by userexit QEVA0010 where you can check and change the values of the structure RQEVA.

Best regards,

Natália