Application Development 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: 

BTE

Former Member
0 Kudos

Dear All ,

In fb60 when they post the document , all line items are not filled with BA .

We have identified one BTE 1025 which has one function module SAMPLE_INTERFACE_00001025 , can I use this to fill the empty BA in all line item.

5 REPLIES 5

andreas_mann3
Active Contributor
0 Kudos

Hi,

try:

DATA key1(72) VALUE ...
  read table <itab> into <wa>                       
  with key (key1)          = key1   
           (key2)          = key2..

A.

Former Member
0 Kudos

Hi

You can change the data in that BTE but only to do ome validation.

Excuse me but what's BA?

Max

0 Kudos

Hi

BA is Business area . As they simulate the document 2 or 3 line items are automatically created . I want to put the BA in those line item . I am writting following code but it is not working correctly .

DATA GSBER TYPE BSEG-GSBER .

IF sy-tcode = 'FB60' .

READ TABLE T_BSEG INDEX 1 .

GSBER = T_BSEG-GSBER .

LOOP AT T_BSEG .

IF T_BSEG-GSBER IS INITIAL .

T_BSEG-GSBER = GSBER .

MODIFY T_BSEG .

ENDIF .

ENDLOOP .

ENDIF .

please help me .

Former Member
0 Kudos

Hi ,

After modify T_BSEG just try to submit the program SUBMIT RFBIBL00 WITH CALLMODE = 'C'

WITH ANZ_MODE = 'E'

WITH XINF = 'X' AND RETURN.

Just check the above

Former Member
0 Kudos

Hi,

Use the Processes interface 1120 to modify the field..

Check this link for how to implement that..

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef...

Thanks,

Naren