RNIGPA01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to create a batch input session for transaction NG01 (
If you would like to execute this report or see the full code listing simply enter RNIGPA01 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: USAPOS = Offset of Subrecord Type ID
Selection Text: USALEN = Length of Subrecord Type ID
Selection Text: TMODUS = Execute in Test Mode
Selection Text: TKENN = Identifier of Structure Def.
Selection Text: SAPOS = Offset of Record Type ID
Selection Text: SALEN = Length of Record Type ID
Selection Text: RECVON = From Record
Selection Text: RECBIS = To Record
Selection Text: P_CODEP = Code Page
Selection Text: NLEERE = For Entries w/o Number only
Selection Text: NIMMER = For all Entries
Selection Text: MNAME = Session Name
Selection Text: FILENAME = Name of Sequential Dataset
Title: IS-H: Transfer Data to Create Business Partner (NG01)
Text Symbol: U10 = Code Page
Text Symbol: U09 = To Record
Text Symbol: U08 = Processing of Record
Text Symbol: U07 = For Entries w/o Number only
Text Symbol: U06 = For all Entries
Text Symbol: U05 = Internal Number Assignment
Text Symbol: U04 = Execute in Test Mode ;;
Text Symbol: U03 = Settings
Text Symbol: U02 = Parameters of Seq. File to Be Transferred
Text Symbol: U01 = Institution
Text Symbol: 026 = Rec. No.;;
Text Symbol: 025 = Output of Errored Records
Text Symbol: 022 = The following entries would have been made in the BI session:
Text Symbol: 021 = Output of Screens and Fields
Text Symbol: 020 = Error Msgs Generated by Business Partner BI
Text Symbol: 019 = Display the Imported Seq. File
Text Symbol: 018 = Batch Input Business Partner
Text Symbol: 017 = Transaction NG01 (Create Business Partner)
Text Symbol: 016 = Create a Batch Input Session for
Text Symbol: 015 = Batch input session was created:
Text Symbol: 011 = does not exist.
Text Symbol: 010 = New Screen:
Text Symbol: 004 = Number of Errors and Warnings:;;
Text Symbol: 003 = Batch Input Entries: ;;
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
ISH_SAP_BP_CHECK_ACTIVE CALL FUNCTION 'ISH_SAP_BP_CHECK_ACTIVE' IMPORTING e_status = l_bp_status EXCEPTIONS not_active = 0.
ISH_FILE_VALIDATE_NAME call function 'ISH_FILE_VALIDATE_NAME' changing c_filename = filename.
MESSAGES_INITIALIZE call function 'MESSAGES_INITIALIZE'.
ISH_CALL_LIST_HEAD call function 'ISH_CALL_LIST_HEAD' exporting repid = rnstat-repid line_size = rnstat-line_size title_lin1 = 'Erstellen einer Batch-Input-Mappe für die'(016) title_lin2 = 'Transaktion NG01 (Geschäftspartner anlegen)'(017) exceptions invalid_einri = 01.
ISH_CALL_LIST_HEAD call function 'ISH_CALL_LIST_HEAD' exporting repid = rnstat-repid line_size = rnstat-line_size title_lin1 = rnstat-title_lin1 title_lin2 = rnstat-title_lin2 exceptions invalid_einri = 01.
ISH_PRINT_PROTOCOL call function 'ISH_PRINT_PROTOCOL' exporting line_size = rnstat-line_size minutes_title = 'Fehlermeldungen Batch-Input Geschäftspartner'(020).
BDC_OPEN_GROUP call function 'BDC_OPEN_GROUP' exporting group = mname user = sy-uname exceptions client_invalid = 1 destination_invalid = 2 group_invalid = 3 holddate_invalid = 4 internal_error = 5 queue_error = 6 running = 7 user_invalid = 8.
ISH_COUNTRY_VERSION_GET call function 'ISH_COUNTRY_VERSION_GET' importing ss_cvers = cvers exceptions others = 1.
BDC_INSERT call function 'BDC_INSERT' exporting tcode = 'NG01' tables dynprotab = bdcdata exceptions internal_error = 1 not_open = 2 queue_error = 3 tcode_invalid = 4.
BDC_CLOSE_GROUP call function 'BDC_CLOSE_GROUP'.
MESSAGE_STORE call function 'MESSAGE_STORE' exporting arbgb = 'N0' msgty = 'W' msgv1 = $tnt2-dfeld txtnr = '323' zeile = fehler_index.
ISH_READ_DYNP_FIELDS call function 'ISH_READ_DYNP_FIELDS' exporting dynnr = dnum pname = pname importing d_hdr = d_hdr tables d_fields = id021s * d_logic = id022s * d_matchc = id023s field_info = indyf exceptions not_found = 1.
MESSAGE_STORE call function 'MESSAGE_STORE' exporting arbgb = 'N0' msgty = 'E' msgv1 = count_record msgv2 = key_$tnt2-sart msgv3 = key_$tnt2-usart msgv4 = tkenn txtnr = '321' zeile = fehler_index.
MESSAGE_STORE call function 'MESSAGE_STORE' exporting arbgb = 'N0' msgty = 'E' msgv1 = count_record msgv2 = $tnt2-dfeld txtnr = '325' zeile = fehler_index.
MESSAGE_STORE call function 'MESSAGE_STORE' exporting arbgb = 'N0' msgty = 'E' msgv1 = count_record msgv2 = key_$tnt2-sart msgv3 = key_$tnt2-usart msgv4 = tkenn txtnr = '319' zeile = fehler_index.
MESSAGE_STORE call function 'MESSAGE_STORE' exporting arbgb = 'N0' msgty = 'E' msgv1 = ngpa-gpart msgv2 = count_read_records txtnr = '118' zeile = fehler_index.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RNIGPA01 - IS-H: Transfer Data to Create Business Partner (NG01) RNIGPA01 - IS-H: Transfer Data to Create Business Partner (NG01) RNIFRM00 - IS-H: FORM Routines for Batch Input RNIFID02 - IS-H: Include for RNIFID00 RNIFID00 - IS-H: Transfer Data to Create Customer in FI (FD01) RNIFID00 - IS-H: Transfer Data to Create Customer in FI (FD01)