SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | Communication Services: Mail, Fax, SMS, Telephony(BC-SRV-COM) SAP BC

RSSODSX2 SAP ABAP Report - Address Export in LDAP Directory







RSSODSX2 is a standard Executable ABAP Report 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 RSSODSX2 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 RSSODSX2. "Basic submit
SUBMIT RSSODSX2 AND RETURN. "Return to original report after report execution complete
SUBMIT RSSODSX2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: PARENT2 = Parent Node
Selection Text: PARENT1 = Parent Node
Selection Text: DFLTPRNT = Emergency Parent Node
Selection Text: BASE_DN = Basic Node
Selection Text: ADNR3 = Number of Company Address
Selection Text: ADNR1 = Number of Company Address
Selection Text: USE_SYST = Logon with System User
Selection Text: USER = User
Selection Text: SERVERID = LDAP Server (Use F4)
Selection Text: PENR3 = Number of Personal Address
Selection Text: PENR2 = Number of Personal Address
Selection Text: PASS = Password
Selection Text: PARENT3 = Parent Node
Title: Address Export in LDAP Directory
Text Symbol: 001 = LDAP Server
Text Symbol: 002 = Contact Person
Text Symbol: 003 = Path Generation
Text Symbol: 004 = Companies only
Text Symbol: 005 = Persons only
Text Symbol: 009 = Start Contact Partner:
Text Symbol: 010 = No Contact Person Addresses Selected
Text Symbol: 025 = Start Personal Addresses
Text Symbol: 024 = Export of Company Address:
Text Symbol: 023 = No Company Address Found
Text Symbol: 022 = No Company Address Selected
Text Symbol: 021 = Start Company Addresses
Text Symbol: 020 = Node Already Exported. No Update of dn:
Text Symbol: 019 = Contact Person Address Incomplete (Name?, Department?):
Text Symbol: 032 = No Authorization
Text Symbol: 031 = Error with 'BIND'
Text Symbol: 030 = Private Address Incomplete
Text Symbol: 029 = Error when Reading Personal Address:
Text Symbol: 028 = Export of Personal Address:
Text Symbol: 027 = No Personal Address Found
Text Symbol: 018 = Company Address Incomplete
Text Symbol: 026 = No Personal Address Selected
Text Symbol: 017 = Could Not Generate Path. Use Emergency Parent Node:
Text Symbol: 041 = 'UNBIND' Successful





Text Symbol: 042 = Error during export
Text Symbol: 043 = Invalid HEX Data
Text Symbol: 044 = LDAP Operation Executed Successfully
Text Symbol: 045 = Error in LDAP Directory
Text Symbol: 046 = LDAP: Logon to Directory
Text Symbol: 047 = LDAP: Export of Address with dn:
Text Symbol: 034 = No Other Connections Can Be Established
Text Symbol: 035 = Error in Directory
Text Symbol: 036 = Directory Cannot Be Accessed
Text Symbol: 037 = Unknown error
Text Symbol: 038 = 'BIND' Successful
Text Symbol: 039 = Error with 'UNBIND'
Text Symbol: 040 = Connection No Longer Valid
Text Symbol: 048 = LDAP: Logoff of Directory
Text Symbol: 033 = Error in the configuration
Text Symbol: 011 = No Contact Person Addresses Found
Text Symbol: 012 = No Parent Node Specified. Generate Path
Text Symbol: 013 = Write dn:
Text Symbol: 014 = Error when Reading Company Address:
Text Symbol: 015 = Error when Reading Contact Person:
Text Symbol: 016 = Contact Person Export:


INCLUDES used within this REPORT RSSODSX2

INCLUDE DS_CONST.


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:

ADDR_GET_COMPLETE call function 'ADDR_GET_COMPLETE' exporting addrnumber = ls_adress-addrnumber importing addr1_complete = l_addr1_data exceptions parameter_error = 1 address_not_exist = 2 internal_error = 3 others = 4.

ADDR_PERS_COMP_GET_COMPLETE call function 'ADDR_PERS_COMP_GET_COMPLETE' exporting addrnumber = ls_adress-addrnumber persnumber = ls_adress-persnumber importing addr3_complete = l_addr3_data exceptions parameter_error = 1 address_not_exist = 2 person_not_exist = 3 internal_error = 4 others = 5.

ADDR_GET_COMPLETE call function 'ADDR_GET_COMPLETE' exporting addrnumber = ls_adress-addrnumber importing addr1_complete = l_addr1_data exceptions parameter_error = 1 address_not_exist = 2 internal_error = 3 others = 4.

ADDR_PERSONAL_GET_COMPLETE call function 'ADDR_PERSONAL_GET_COMPLETE' exporting addrnumber = ls_adress-addrpers persnumber = ls_adress-persnumber importing addr2_complete = l_addr2_data exceptions parameter_error = 1 address_not_exist = 2 internal_error = 3 others = 4.

LDAP_SIMPLEBIND call function 'LDAP_SIMPLEBIND' exporting serverid = serverid usr = user pwd = pass importing ldaprc = l_ldaprc * CHANGING * HOLDSESS = 0 exceptions no_authoriz = 1 config_error = 2 nomore_conns = 3 ldap_failure = 4 not_alive = 5 other_error = 6 others = 7.

LDAP_SYSTEMBIND call function 'LDAP_SYSTEMBIND' exporting serverid = serverid writeread = 'W' importing ldaprc = l_ldaprc * BASEDN = * CHANGING * HOLDSESS = 0 exceptions no_authoriz = 1 config_error = 2 nomore_conns = 3 ldap_failure = 4 not_alive = 5 other_error = 6 others = 7.

LDAP_UNBIND call function 'LDAP_UNBIND' importing ldaprc = l_ldaprc exceptions conn_outdate = 1 ldap_failure = 2 not_alive = 3 other_error = 4 others = 5.

LDAP_UPDATE_ATTRS





call function 'LDAP_UPDATE_ATTRS' exporting dn = p_dn mode = 'C' importing ldaprc = l_ldaprc added = l_added tables obj_cla = p_objectclasses attrs_in = p_attributes values_in = p_values exceptions no_authoriz = 1 conn_outdate = 2 ldap_failure = 3 hexval_error = 4 not_alive = 5 other_error = 6 others = 7.

F4IF_FIELD_VALUE_REQUEST call function 'F4IF_FIELD_VALUE_REQUEST' exporting tabname = l_tabname fieldname = l_fieldname display = 'F' dynpprog = l_dynprog dynpnr = l_dynnr dynprofield = l_dynprofield selection_screen = 'X' tables return_tab = lt_return exceptions others = 0.

DYNP_VALUES_UPDATE call function 'DYNP_VALUES_UPDATE' exporting dyname = l_dynprog dynumb = l_dynnr tables dynpfields = lt_dynpfields exceptions others = 0.



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 RSSODSX2 or its description.