cancel
Showing results for 
Search instead for 
Did you mean: 

Table and Field for Header Text in PO

Former Member
0 Kudos

Hi Experts.

Please help me, i am facing big problem in smartforms. I need the field and table for Header Text in PO.

Can someone tell me, what is the table and the field ?

And i want ask you all 1 more question. I was read many threads before about this problem. Someone said i must use FM READ_TEXT.

My question is, where is the location i must use this FM ? In SE38 or what ? Please help me, sorry if my English is ill.

Accepted Solutions (1)

Accepted Solutions (1)

ravindra_devarapalli
Active Contributor

Hi,

Below is the Functional Module to capture header text in PO.

See below steps to achieve this requirement.

Read_Text is functional module ,

go to SE37 ---> enter your functional module  and execute f8

enter ID =

        LANGUAGE = E

       NAME =  PO NUMBER

       OBJECT = EKKO

For find these values go to se16n  enter STXH table ,  enter Object as EKKO and enter your PO number in place of name

enter your PO  number , find object and ID and Language and Name.

then go to se37 enter  functional module READ_TEXT , execute

and enter values object name and ID and Language .

and again execute

click on result then it will show text from header like

Same you explain to your abaper, he understand very easy .

Don't forgot here id number is mandatory to find from which text sub tab in header

suppose in our case id number is F14

go to PO number

check in header text to find text sub tab,

go to me23n, enter Po number

So it is in 14 sub tab.

For identified the ID number go to STXH table and enter Po number and check

Hope it is very use ful. No body can't give more than this much details .

Former Member
0 Kudos

Hi Ravindra,

I think the god bring you to me.

Your post is very-very completed, thank you so much, after i follow that steps, if succes i will give you the correct answer point.

Answers (2)

Answers (2)

vijay2006ece
Contributor
0 Kudos

Dear Ri Zaldy,

This FM (READ_TEXT) linked to SAP script settings.

So goto SE75 >> select 'text objects and IDs' >> Display >> search EKKO >> double click >> you can find Text IDs relevant to your requirement.

Former Member
0 Kudos

Hi Vjay SAP, thank  you so much for your reply.

It help me but i still not understand, do smartforms have a connection with sapscript ? i try to make a smartform that include a header text po.

Sorry, my english is ill.

Former Member
0 Kudos

This message was moderated.

Prasoon
Active Contributor
0 Kudos

hi,

   You can test the fm in SE37.

hope its helpful.

Regards,

AKPT

Former Member
0 Kudos

Hi AKPT MM, thanks for fast respond.

What must i do in se37, because i just see the  source code. I am new in this one. Please help me.

Prasoon
Active Contributor
0 Kudos

Hi,

  

Now enter the client, text id, language, Object (PO number) and execute.

Hope its helpful. Reward points for helpful points.

Regards,

AKPT

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi AKPT this is my image from my SAP. Can you tell me how to fill the blank field ? And what is the next steps guru ?

Prasoon
Active Contributor
0 Kudos

Hi,

  Go to PO header text and double click on the text. Now a new window will apppear. Go to Menu - Go to - Header. Now the heade details will be appeared as shown below.

Pass the same in to the FM read_test in SE37 and execute.

Parallelly, check the following link for more details.

http://www.gotothings.com/sapac002.htm

Hope its clear and helpful.

Regards,

AKPT

Former Member
0 Kudos

OK AKPT

i have done the steps, and make 1 entry. So what's the function of the entry ? And then how to connect it to smartforms?