Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

FM: CREATE_TEXT Parameters

Former Member
0 Likes
669

Hi Experts,

I tried to create a text directly to the fm CREATE_TEXT. FROM Box A with MySap version, the value of TDNAME = 41712345 (Delivery Doc Number). But in lower version like 4.6, the valie is 00417345000000 (Delivery Doc+REference ID). I just don't know why it is required and what is the Reference ID for? It seems that CREATE_TEXT has differennt parameter requirement in each version..

Need clarification on this...<removed_by_moderator>

Thanks!

Edited by: Julius Bussche on Jun 24, 2008 7:18 PM

4 REPLIES 4
Read only

Former Member
0 Likes
591

hi

TDNAME = delivery document number + 000000 (the number of zeros are equal to the length of the item number)

e.g. if the delivery number is 101, and item field length is 6

then

tdname = 0000000101000000

Read only

0 Likes
591

thank you guys:D

The object id is correct.

create_text

obj id: z004

object name : 0041712345

objkey: vbbk

the values in create_text comes from SWE_EVENT_CREATE.. from event_container-value move to TEXTL_GN table for text line item, .the line number is blank. and it passes # i tried TEXTL_GN-RFPOS='1' or '00001' since it has dta type: int(5). still it doesn't create text.

Read only

former_member156446
Active Contributor
0 Likes
591

Hi check this [link|http://abaplovers.blogspot.com/2008/02/function-modules-create-text-and-read.html] if it might be of any help to you.

Read only

Former Member
0 Likes
591

i found a bug in the customized fm...thanks guys for posting!