SAP Reports / Programs | Project System | Information System(PS-IS) SAP PS

FDBPSF10 SAP ABAP INCLUDE - Hierarchy setup LDB PSJ







FDBPSF10 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter FDBPSF10 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT FDBPSF10. "Basic submit
SUBMIT FDBPSF10 AND RETURN. "Return to original report after report execution complete
SUBMIT FDBPSF10 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Hierarchy setup LDB PSJ


INCLUDES used within this REPORT FDBPSF10

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING objnr = objnr status = con_stat_lvm EXCEPTIONS object_not_found = 01 status_not_active = 02.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING objnr = objnr status = con_stat_loe EXCEPTIONS object_not_found = 01 status_not_active = 02.

HF_FIND_TRGKZ_FOR_OBJNR CALL FUNCTION 'HF_FIND_TRGKZ_FOR_OBJNR' EXPORTING objnr = key_netz-objnr autyp = key_netz-autyp auart = key_netz-auart kokrs = key_netz-kokrs IMPORTING trgkz = i_elm_ps-trgkz EXCEPTIONS OTHERS = 0.

HF_FIND_TRGKZ_FOR_OBJNR CALL FUNCTION 'HF_FIND_TRGKZ_FOR_OBJNR' EXPORTING objnr = key_act01-objnr autyp = key_netz-autyp auart = key_netz-auart kokrs = key_netz-kokrs IMPORTING trgkz = i_elm_ps-trgkz.

HF_FIND_TRGKZ_FOR_OBJNR CALL FUNCTION 'HF_FIND_TRGKZ_FOR_OBJNR' EXPORTING objnr = key_act01-objnr autyp = key_aufk-autyp auart = key_aufk-auart kokrs = key_aufk-kokrs IMPORTING trgkz = i_elm_ps-trgkz.

HF_FIND_TRGKZ_FOR_OBJNR CALL FUNCTION 'HF_FIND_TRGKZ_FOR_OBJNR' EXPORTING objnr = key_act01-objnr autyp = key_aufk-autyp auart = key_aufk-auart kokrs = key_aufk-kokrs IMPORTING trgkz = i_elm_ps-trgkz.

HF_FIND_TRGKZ_FOR_OBJNR CALL FUNCTION 'HF_FIND_TRGKZ_FOR_OBJNR' EXPORTING objnr = key_act01-objnr autyp = key_netz-autyp auart = key_netz-auart kokrs = key_netz-kokrs IMPORTING trgkz = i_elm_ps-trgkz.

HF_FIND_TRGKZ_FOR_OBJNR CALL FUNCTION 'HF_FIND_TRGKZ_FOR_OBJNR' EXPORTING objnr = key_act01-objnr autyp = key_aufk-autyp auart = key_aufk-auart kokrs = key_aufk-kokrs IMPORTING trgkz = i_elm_ps-trgkz.

HF_FIND_TRGKZ_FOR_OBJNR CALL FUNCTION 'HF_FIND_TRGKZ_FOR_OBJNR' EXPORTING objnr = key_act01-objnr autyp = key_aufk-autyp auart = key_aufk-auart kokrs = key_aufk-kokrs IMPORTING trgkz = i_elm_ps-trgkz.

HF_FIND_TRGKZ_FOR_OBJNR CALL FUNCTION 'HF_FIND_TRGKZ_FOR_OBJNR' EXPORTING objnr = key_aufk-objnr autyp = key_aufk-autyp auart = key_aufk-auart kokrs = key_aufk-kokrs IMPORTING trgkz = i_elm_ps-trgkz.

CK_F_ORG_ELEMENTS_PLANT CALL FUNCTION 'CK_F_ORG_ELEMENTS_PLANT' EXPORTING werk = IMPORTING organisationselemente = itab_ckiwerk EXCEPTIONS OTHERS = 0.

CK_F_ORG_ELEMENTS_PLANT CALL FUNCTION 'CK_F_ORG_ELEMENTS_PLANT' EXPORTING werk = itab_pegob-werks IMPORTING organisationselemente = l_ckiwerk.

KKR_OBJECT_LIST_GET CALL FUNCTION 'KKR_OBJECT_LIST_GET' EXPORTING * hiart = 'PR'"tcnds-hierar hiart = tcnds-hierar hieid = tcnds-hierid node = i_v01_tbl_alt-varhiebg root = root_hiebg TABLES object_tbl = i_object_tbl_alt EXCEPTIONS OTHERS = 0.

KKR_OBJECT_LIST_GET CALL FUNCTION 'KKR_OBJECT_LIST_GET' EXPORTING hiart = tcnds-hierar hieid = tcnds-hierid node = i_v01_tbl_alt-varhiebg root = root_hiebg TABLES object_tbl = i_object_tbl_alt EXCEPTIONS OTHERS = 0.

G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_profitcenter_setclass shortname = tcnds-hienm kokrs = kokrs IMPORTING setid = setid EXCEPTIONS OTHERS = 0.

G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING setclass = gsetc_costcenter_setclass shortname = tcnds-hienm kokrs = kokrs IMPORTING setid = setid EXCEPTIONS OTHERS = 0.

RSTS_SET_INIT CALL FUNCTION 'RSTS_SET_INIT' EXPORTING i_rsthvkey = i_rsthvkey_alt with_texts = 'X' TABLES i_rsthie = i_rsthie_alt i_rstint = i_rstint_alt i_rsttyp = i_rsttyp_alt i_rstadd = i_rstadd_alt i_rsttxt = i_rsttxt_alt.

K_KKR_VDCO_INFO_READ CALL FUNCTION 'K_KKR_VDCO_INFO_READ' EXPORTING hiart = tcnds-hierar hieid = tcnds-hierid varhiebg = ld_varhiebg "INS < 156424 view = '00' TABLES info_tbl = i_info_tbl_alt EXCEPTIONS no_vdco_object_found = 01 wrong_view = 02.

K_KKR_VDCO_INFO_READ





CALL FUNCTION 'K_KKR_VDCO_INFO_READ' EXPORTING hiart = tcnds-hierar hieid = tcnds-hierid varhiebg = ld_varhiebg "INS < 156424 view = '01' TABLES v01_tbl = i_v01_tbl_alt EXCEPTIONS no_vdco_object_found = 01 wrong_view = 02.

K_KKR_VDCO_INFO_READ CALL FUNCTION 'K_KKR_VDCO_INFO_READ' EXPORTING hiart = tcnds-hierar hieid = tcnds-hierid varhiebg = ld_varhiebg "INS < 156424 view = '02' TABLES rsthie_tbl = i_rsthie_alt EXCEPTIONS no_vdco_object_found = 01 wrong_view = 02.

KE_PROFIT_CENTER_READ_TEXT CALL FUNCTION 'KE_PROFIT_CENTER_READ_TEXT' EXPORTING datum = sy-datlo prctr = itab_cepc-prctr sprache = sy-langu kokrs = itab_cepc-kokrs IMPORTING text_wa = itab_cepct EXCEPTIONS text_not_found = 01.

READ_COSTCENTER_TEXT CALL FUNCTION 'READ_COSTCENTER_TEXT' EXPORTING datum = sy-datlo kokrs = itab_kostl-kokrs kostl = itab_kostl-kostl sprache = sy-langu IMPORTING text_wa = itab_cskt EXCEPTIONS text_not_found = 01.

CONVERSION_EXIT_KONPS_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_KONPS_OUTPUT' EXPORTING input = pspnr IMPORTING output = pspid.

CONVERSION_EXIT_KONPD_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_KONPD_OUTPUT' EXPORTING input = pspnr IMPORTING output = pspid.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name FDBPSF10 or its description.