2021 Jan 25 7:22 AM
Hi experts,
Based on the condition Account type = 'K' I developed a bdc program for updating feilds in bseg table using fb09 t-code Based on that condition all the records in excel where updating into bseg table.But Some records were throwing error eventhough they satisfied the condition. I checked in debug mode there it showing "No batch input for 0304 screen".The error records are given below.

I checked the condition for those error records they satisfying the condition ie all the records having account type 'K' but still those records not processing.Can you please help me to find out this
Select query which i was written
if it_datatab is not INITIAL.
select belnr
bukrs
gjahr
buzei
koart
from
bseg into table it_bseg FOR ALL ENTRIES IN it_datatab
where belnr = it_datatab-belnr
and bukrs = '1000'
and gjahr = '2020'
and koart = 'K'.
endif.
2021 Jan 25 12:04 PM
Hi experts,
Based on the condition Account type = 'K' I developed a bdc program for updating feilds in bseg table using fb09 t-code Based on that condition all the records in excel where updating into bseg table.But Some records were throwing error eventhough they satisfied the condition. I checked in debug mode there it showing "No batch input for 0304 screen".The error records are given below.

I checked the condition for those error records they satisfying the condition ie all the records having account type 'K' but still those records not processing.Can you please help me to find out this
Select query which i was written
if it_datatab is not INITIAL.
select belnr
bukrs
gjahr
buzei
koart
from
bseg into table it_bseg FOR ALL ENTRIES IN it_datatab
where belnr = it_datatab-belnr
and bukrs = '1000'
and gjahr = '2020'
and koart = 'K'.
endif.
2021 Jan 25 12:04 PM
2021 Jan 27 6:53 AM
2021 Jan 27 9:46 AM
2021 Jan 28 10:49 AM
case bseg-zumsk.
when 'A'
perform bdc_dynpro using 'SAPMF05L' '0304'.
perform bdc_field using 'BDC_CURSOR'
'BSEG-SGTXT'.
perform bdc_field using 'BDC_OKCODE'
'=AE'.
perform bdc_field using 'BSEG-ZUONR'
wa_datatab-zuonr.
perform bdc_field using 'BSEG-SGTXT'
wa_datatab-sgtxt.
endcase.
i wrote code like shown in above but still it is not processing those records
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |