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

Copy Billing text from Billing Header Notes to FI Document

Former Member
0 Likes
1,582

I am trying to copy the Billing Header Notes (texts) while creating the billing doc to the FI document (BSEG-SGTXT). I know I should use EXIT_SAPLV60B_001 or EXIT_SAPLV60B_002 to post the text so it is in the field I need on FLB5N (sgtxt). Howvever, the texts have not been saved at the point you reach this user exit. How do I retrieve the texts (generally found using FM READ_TEXT) so that I can copy this to the FI document. Help would be greatly appreciated.

I am trying to copy the Billing Header Notes (texts) while creating the billing doc to the FI document (BSEG-SGTXT). I know I should use EXIT_SAPLV60B_001 or EXIT_SAPLV60B_002 to post the text so it is in the field I need on FLB5N (sgtxt). Howvever, the texts have not been saved at the point you reach this user exit. How do I retrieve the texts (generally found using FM READ_TEXT) so that I can copy this to the FI document. Help would be greatly appreciated.

7 REPLIES 7
Read only

Former Member
0 Likes
1,211

HI,

You can use the READ_TEXT to get the Long text fom the Billing Document Header Text.

For this you need to pass

Text Name Language Text ID Text Object to the FM you can get this from VF03 tcode.

VF03->give Billing doc number->f

From Menu path GOTO->header->Headtext and then double click on the text editor and then from again from menu path Goto->header You get the above details

Text Name will be the differnet Billing Doc number and remaing a\other fields will be same.

Read only

Former Member
0 Likes
1,211

I agree with that, however, that is not my situation. The long texts have not been saved at the point it hits this user exit so it can be read by READ_TEXT. I have the invoice # it will generate, but it has not saved the texts at this point. How can I get these texts before they are actually saved?

Read only

0 Likes
1,211

Not sure, does field-symbols wuld help?

thanq

Read only

Former Member
0 Likes
1,211

Thanks, but i have resolved this on my own.

Read only

0 Likes
1,211

Hi ,

Hope you are doing good.

I have a same requirement to copy billing text from billing header to FI document (BSEG-SGTXTX) . I would like to know the work around solution provided to it.

Thanks N regards

Chaitanya

Read only

Former Member
0 Likes
1,211

Hello mvp0821, can you re-explain your solution?

Read only

Former Member
0 Likes
1,211

Hi MVP,

Give me same solution because we have same requirement.

Thanks & Regrads,

Kaushal Shah