cancel
Showing results for 
Search instead for 
Did you mean: 

Functional Modue CREATE_TEXT and READ_TEXT

former_member228471
Participant
0 Kudos

Hi Experts,

Could someone please urgently help on the FM create text and read_text? I have searched on the portal, but did not find the correct answer.

I need to update some info in the long text field of accounting document. I am able to create update long text of document line item, but not Accounting document.

What are the parameters required? Below are the once I passed

FID                             0002

FLANGUAGE             EN

FNAME                      XXXXxxxxxxxxxxxxxx BUKRS+BELNR+GJAHR+002 (21 Characters)

FOBJECT                 DOC_ITEM

SAVE_DIRECT         X

FFORMAT                 *

Please refer to the attached screenshot of the right field to be updated.

Thanks in advance!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sunil,

Try this, Might be a round about solution but quick one. Keep a break point in READ_TEXT module and open any accounting document which has the required long text already uploaded. form the debugger you can get the required parameters that are need to be passed.

Another approach would be to read the text id configuration tables.

Hope this helps.

former_member228471
Participant
0 Kudos

Hi Sri,

Thanks for your response.

Do you have any idea if we have to give BELEG against FOBJECT field?

Please help

Sunil

Former Member
0 Kudos

Sunil,

Seems BELEG is a valid Text Object, You can refer table TTXOB for text Objects.

former_member228471
Participant
0 Kudos

Hi Sri,

BELEG was the correct field.

in the NAME field, we have to give only BUKRS+BELNR+GJAHR.

Thank you!

Answers (0)