Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC F-44 - Problem selecting partial payment document

Former Member
0 Likes
1,790

Hi All,

Steps: 

1. create a BDC using f-22

2. With all the normal selection

     - account

     - Company code

     - Clearing date

     - period

     - Curreny

     - Additional Selection : None

3.  The next Screen : 

     - select all and deactivate

     - select the partial payment pair ( 2 document ) activate it and post.

Problem:

In BDC. Am not able to select the 2 document due to the nature. both of the document could be in different line.

Help:

Are there any kind soul that can help me on this particular matters.

snippet of my coding are only reading sequential.

-----------------------------------------------------------------------

Header 1

*select line

   DO l_count TIMES.

     l_i = l_i + 1.

     IF l_i LT '10'.

       lv_no = l_i.

       CONCATENATE '0' lv_no INTO lv_no.

     ELSE.

       lv_no = l_i.

     ENDIF.

     CONCATENATE 'DF05B-PSBET' '(' lv_no ')' INTO lv_psbet.

     PERFORM bdc_dynpro      USING 'SAPDF05X' '3100'.

     PERFORM bdc_field         USING 'BDC_OKCODE' '=PI'.

     PERFORM bdc_field         USING 'BDC_CURSOR'   lv_psbet.

     PERFORM bdc_field         USING 'RF05A-ABPOS'    '1'.

   ENDDO.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,211

populates the records for payments

1. Select * from bsik where lifnr = gt_bsik-lifner

2. Use the downloaded records and get the sy-tabix for each line , comparing with the document number belnr that you want to post.

3. use the tabix line for bdc to append that desired line(s) item only

4 REPLIES 4
Read only

Former Member
0 Likes
1,211

Typo its F-44 not F-22

Read only

0 Likes
1,211

If you have a particular logic to find which line you have to select, get some functional help to find the table where partial payment data is stored for that vendor , apply the logic and get index and that way you can select the line.

Read only

Former Member
0 Likes
1,211

This message was moderated.

Read only

Former Member
0 Likes
1,212

populates the records for payments

1. Select * from bsik where lifnr = gt_bsik-lifner

2. Use the downloaded records and get the sy-tabix for each line , comparing with the document number belnr that you want to post.

3. use the tabix line for bdc to append that desired line(s) item only