SAP Reports / Programs

RNIGPA01 SAP ABAP Report - IS-H: Transfer Data to Create Business Partner (NG01)







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 (Create General Business Partner)...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

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


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 RNIGPA01. "Basic submit
SUBMIT RNIGPA01 AND RETURN. "Return to original report after report execution complete
SUBMIT RNIGPA01 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: 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: ;;





Text Symbol: 002 = Errored Records From Total: ;;
Text Symbol: 001 = Records Read: ;;


INCLUDES used within this REPORT RNIGPA01

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:

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.



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