cancel
Showing results for 
Search instead for 
Did you mean: 

TEXT URGENT

Former Member
0 Kudos

The specification is to enhance the Purchase requisition creation process for ZBTO (buy to order) parts. Currently the requisitions for direct ship parts (ZTAS) have the Purchase Order text from the sales order copied to them. This enhancement would copy the Purchase Order text from the sales order to the requisition for ZBTO parts, when the planned order is converted to a requisition.

Can someone shed some light on this i need the tables on the SD side, Fields, and what else my input wld be on the SD side.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ann,

please use READ_TEXT and pass the object name and text id to the function module as mentioned below code.

CALL FUNCTION 'READ_TEXT'

EXPORTING

CLIENT = SY-MANDT

ID = V_ID

LANGUAGE = 'E'

NAME = V_NAME

OBJECT = 'MATERIAL'

TABLES

LINES = TXTLNS

EXCEPTIONS

ID = 1

LANGUAGE = 2

NAME = 3

NOT_FOUND = 4

OBJECT = 5

REFERENCE_CHECK = 6

WRONG_ACCESS_TO_ARCHIVE = 7

OTHERS = 8.

if you give me brief i can help you out more.

if helpful REWARD points

Thank you .

Regards

Ram

Answers (2)

Answers (2)

Former Member
0 Kudos

Ram, I got your reply but i'll need more clarification on it......plse e-mail me your e-mail..... mine's a.travis1670@gmail.com and i can brief you on senario.

Thank you.

former_member183879
Active Contributor
0 Kudos

The table on the SD side will be STXH. However you may not be able to use the table directly as teh texts are updated in structures.

People generally use the FM READ_TEXT to fetch texts from SD documents