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

BAPI To Create Subobject in SLG1

Former Member
0 Likes
1,263

Hello,

I am looking for a BAPI or FM to create a SUBOBJECT during my runtime.

My requirement is I need to assign the FILENAME as a SUBOBJECT.

I have come across tables: BALOBJ, BALSUB, BALSUBT, BALOBJT.

BALSUB is the table which holds the SUBOBJECT

Is there any way to create SUBOBJECT dynamically.

Thanks.

1 ACCEPTED SOLUTION
Read only

Katan
Active Participant
0 Likes
1,046

Hi Vishnu,

You probably don't want to use SubObject for a Filename.  Subobject is config, not master data and is maintained via Maintainance View on view "V_BALSUB'.  Also you only have 20 chars for that field, so only for very small filenames, if you did decide to do something with that.

Perhaps you could use external number field (BAL_S_LOG-EXTNUMBER) instead, which gives you 100 chars and is also available for input.  You can use this on the search of the logs also in SLG1.

Hope that helps point you in the rigth direction.

Regards,

Katan

Hello,

I am looking for a BAPI or FM to create a SUBOBJECT during my runtime.

My requirement is I need to assign the FILENAME as a SUBOBJECT.

I have come across tables: BALOBJ, BALSUB, BALSUBT, BALOBJT.

BALSUB is the table which holds the SUBOBJECT

Is there any way to create SUBOBJECT dynamically.

Thanks.

2 REPLIES 2
Read only

Katan
Active Participant
0 Likes
1,047

Hi Vishnu,

You probably don't want to use SubObject for a Filename.  Subobject is config, not master data and is maintained via Maintainance View on view "V_BALSUB'.  Also you only have 20 chars for that field, so only for very small filenames, if you did decide to do something with that.

Perhaps you could use external number field (BAL_S_LOG-EXTNUMBER) instead, which gives you 100 chars and is also available for input.  You can use this on the search of the logs also in SLG1.

Hope that helps point you in the rigth direction.

Regards,

Katan

Read only

Former Member
0 Likes
1,046

Hi,

Thanks Katan the exact answer which suits my requirement.

Full credit to you answer.

Thanks.