on 07-28-2010 6:50 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.