Skip to Content
-3

Program for PO message

Aug 06, 2017 at 04:29 PM

85

avatar image
Former Member

I want SAP to run a program when I am creating PO.

I would like to retrieve data from PO tables (e.g. EKKO) to use it in the program, but as the PO is not yet created, the data is not entered into a database yet.

Is there a temporal table which used for containing data temporally prior to entering the data into the database later?

If yes, how can I access to the temporal table to take (retrieve) the data to use it?

10 |10000 characters needed characters left characters exceeded

Hi Jackson, your request is pretty unclear.
What should the program to do?

Instead of a program, why do not use the standard BAdI?

You should share more details or it will be impossible to help you

0
Former Member
Simone Milesi

Thanks for your comment.

I am developing an output program which will be executed before PO creation. I don't mind the program runs right after PO created but i do not know whether SAP has this feature aside from using a job.

As PO is not created, the data i want to use for my program is not available in database.

For example, when i checked table EKKO for my program, i couldn't find PO number in the database as PO was not yet created.

But i guess the data is available in "somewhere" as they (the data) will be entered into the database.

I am looking for that "somewhere" to get the data for my program.

0
Further commenting has been locked.
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Simone Milesi Aug 10, 2017 at 02:55 PM
0

And why don't you rely on standard output messages and controls?

You should search via google and you can find plently of wikis and examples like this one

Show 7 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks for your Answer.

But i am not looking for standard output messages and controls.

I just want to talk about the availability of the data in "somewhere".

It is my current concern for my program for special usage.

0

Special usage?

You said it was an output program....

I am developing an output program 

Anyway in BAdIs you have all the data available and you can "play" with them.

0
Former Member
Simone Milesi

Output program but i am adding something for "Special usage".

and i am looking for the data location to access.

0

If you do not want or can share any meaningful info, i'm sorry, i doubt you can find any help.

Even more, i already gave you the info you need: there is no "temporary table", there is the memory areas accessible implementing the right BAdI

0
Former Member
Simone Milesi

you mentioned that "there is no "temporary table"", and that can be the answer i was looking for even though that is not a good news for me as i need to try other way.

0
 there is the memory areas accessible implementing the right BAdI
0
Show more comments
Further commenting has been locked.