cancel
Showing results for 
Search instead for 
Did you mean: 

Fetching longtexttab details from Transaction BP at Runtime

Former Member
0 Kudos
178

hi,

my requirment is to fetch teh longtext data from transaction BP.

i have tried using READ_TEXT. but its displaying as entries not found.

pls provide some pointer on it.

my requirement is after the user enters in BP transaction and clicked the

save button i need to capture the longtext.

thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

jothivenkatesh_m
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I think i have given different FM for this context.

If your requirement is to get the long text before it is getting saved to data base i think you can try out the following steps:

1. Put the Breakpoint in FM CRM_BUPA_BDOC_BPS_FILL_DATA when you save BP.

2. There in one line there will be a call to Subroutine find_all_bps.

3. This sub routine is present in the program LCRM_BUPA_MWX_BDOC_OUTBOUNDF01.

4. Form here there will be a call to subroutine chk_longtext_bp.

5. Here you can be able to get the long text which is about to be saved.

6. This subroutine is in program LCRM_BUPA_MWX_BDOC_OUTBOUNDF16.

I hope this will get you the long text from BP transaction before saving to the database.

Hope this helps.

Venkat

jothivenkatesh_m
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

I feel you can use BUPA_LONGTEXT_READ to capture the long text data from BP transaction.

When ever you save, you can get the long text from this particular FM.

Hope this helps.

Venkat

Former Member
0 Kudos

hi i have tried this FM BUPA_LONGTEXT_READ but this will be executed once the BP got created and stored in corresponding Database.

But i need after the user presses the save button itself some values i am passing to third party system.