cancel
Showing results for 
Search instead for 
Did you mean: 

Not all fields of RFBIBL00

Former Member
0 Kudos

Hi All,

We want to use program RFBIBL00 to upload more than 1000 entries but we do not want to update all fields only selected fields. How to acheive that also can anyone let me know the file structure.

-- Syed Abid Hussain

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member194797
Active Contributor
0 Kudos

1) You can use a subroutine (a FORM) for filling all the fields with nodata:

example:


...
PERFORM INITIALIZE_SAP_STRUCTURES USING BBKPF.
PERFORM INITIALIZE_SAP_STRUCTURES USING BBSEG.
...

FORM INITIALIZE_SAP_STRUCTURES USING AUXREC TYPE ANY.
  DATA: N TYPE I.
  FIELD-SYMBOLS <F>.
  DO.
    ADD 1 TO N.
    ASSIGN COMPONENT N OF STRUCTURE AUXREC TO <F>.
    IF SY-SUBRC NE 0. EXIT. ENDIF.
    MOVE BGR00-NODATA TO <F>.
  ENDDO.
ENDFORM.                    "INITIALIZE_SAP_STRUCTURES

2) You can use your own ZBSEG structure in place of BSEG. ZBSEG should be a copy of BSEG without the fields you don't want to use.

Here is a part of the documentation of RFBIBL00:

Customer-defined batch input structures: If you do not need certain fields in the standard batch input structures and do not want to enter the special character NODATA each time, you can define your own structures that contain only those fields you really use.

The following structures are possible:

ZBSEG record type 2 document segment data

ZSELP record type 2 selection items (FB05 only)

The customer-defined structures beginning with "Z" may only vary from the standard structures beginning with "B" such that part of the fields are not contained in them. However, you may not omit the fields "Record type" (-STYPE) or "Table name" (-TBNAM).

You generate your own batch input structure by creating a new structure under the specified name and copying the fields you need from the reference structure. You then activate the structure.

You can access structure maintenance via Development -> ABAP Dictionary in the development environment. Alternatively, you can access the maintenance function here: Proceed.

Former Member
0 Kudos

Hi,

All the required fields for posting needs to be uploaded at least.

For the detailed structure of the uploadformat, you can refer to the documentation of this program in SE38 transaction.

Regards,

Gaurav

Former Member
0 Kudos

Hi Gaurav,

Thanks for your reply. I want to know If I want to upload only few fields then how many "/" characters I have to enter in the file?

-- Syed Abid Hussain

Former Member
0 Kudos

For each field which you do not want to get processed, you need to enter one '\'

Regards,

Gaurav