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

SAMPLE_INTERFACE_00001030 and FI doc modification before posting (?)

josgabriel_martnez
Participant
0 Likes
4,574

Hello,

Is it possible to use BTE SAMPLE_INTERFACE_00001030 (or any other) to modify BSEG-ZTERM before document posting and exclusively during doc creation? (I mean, tx: FB01, F-02).

Please, the question is just about modify specific fields during posting or creation (FB01, F-02), not during Modification (FB02, etc). For example, I tested BTE SAMPLE_INTERFACE_00001110 and it only works during Modification in order to change fields values (for example, BSEG).

May be this approach should be replaced by looking for a BADi or SMOD, ?

(Note: field-exits are disabled by BASIS team, they can't be used).

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,000

Hello Jose,

if you mean the Process-BTE 00001030, it's the wrong one, because it's designed to update additional own tables - not to change the standard data.

Just to modify the ZTERM field you could use the (customizing) function substitution. There you can check transaction codes, document types and many more fields and change the zterm-field.

You find this function in customizing (spro) or directly via transaction OBBH.

May be that the zterm-field is in standard not substituable. if so, you could refer to the OSS-note 42615 .

Regards Wolfgang

Edited by: Wolfgang Valtin on May 15, 2009 11:19 AM

4 REPLIES 4
Read only

Former Member
0 Likes
2,001

Hello Jose,

if you mean the Process-BTE 00001030, it's the wrong one, because it's designed to update additional own tables - not to change the standard data.

Just to modify the ZTERM field you could use the (customizing) function substitution. There you can check transaction codes, document types and many more fields and change the zterm-field.

You find this function in customizing (spro) or directly via transaction OBBH.

May be that the zterm-field is in standard not substituable. if so, you could refer to the OSS-note 42615 .

Regards Wolfgang

Edited by: Wolfgang Valtin on May 15, 2009 11:19 AM

Read only

0 Likes
2,000

Thanks Wolfgang,

I will check what you say.

Meanwhile, I tried with BTE-Process:

SAMPLE_PROCESS_00001120

But the field I need is not available.

I read something about that in another post, where was mentioned to try to maintain table GB01, but I have not checked this option.

In the other hand, I'm reviewing right now the BTE-Process:

SAMPLE_PROCESS_00001100

It looks like that ZTERM could be changed, but, I don't see available some of the fields I need to validate and accordingly, perform the change.

Thanks again.

Regards,

José Gabriel.

Read only

josgabriel_martnez
Participant
0 Likes
2,000

Finally, I found the BTE-Process: SAMPLE_PROCESS_00001140

And it works.

Documentation says: "This interface is for internal use at SAP only."; but, for me it's OK.

The table T_BSEG can be updated and after exiting the FM, it is not "restored" by SAP with the original values.

Solved.

Regards.

José Gabriel.

Read only

0 Likes
2,000

Correction: Sorry, process 1140 should be discarded, it doesn't work for all of the cases.

The correct one is the process 1120 and FM: SAMPLE_PROCESS_00001120.

The structure BSEG_SUBST can be used just adding the desired fields via Append Structures.

Regards,

José Gabriel.

Edited by: José Gabriel on May 21, 2009 2:57 PM