2015 Apr 03 12:37 AM
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. |
2015 Apr 03 9:42 AM
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
2015 Apr 03 1:25 AM
2015 Apr 03 7:11 AM
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.
2015 Apr 03 9:03 AM
2015 Apr 03 9:42 AM
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