Application Development 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: 

AP Upload

Former Member
0 Kudos
104

Hi Freinds,

am working on AP Upload,can any body help me in validating the following feilds.

1.If for one external document number, we have more than two different company code at program run .

2.The WBS is not created in the system when the postings are performed.

3.If for one external document number, we have more than 999 line items.

2 REPLIES 2

Former Member
0 Kudos
51

Please let me know the internal table fields structure, that you are looping, during BDC/upload.

Regards,

Vishal

0 Kudos
51

Hi Vishal, below is the structure.

types:begin of st_flat,

BUKRS TYPE BKPF-BUKRS, "a

BLDAT(10) TYPE C, "B

WAERS TYPE BKPF-WAERS, "C

XBLNR(20) TYPE C, "D

VBUND TYPE BSEG-VBUND, "E

*DEBIT LINE ITEMS

DNEWKO TYPE SKB1-SAKNR, "F

DNEWUM TYPE RF05A-NEWUM,"G

DWRBTR(16) TYPE C, "H

DSGTXT TYPE BSEG-SGTXT, "I

DKOSTL TYPE COBL-KOSTL, "J8

DWBS TYPE PRPS-POSID, "K

DAUFNR TYPE COBL-AUFNR, "L

DPRCTR TYPE COBL-PRCTR, "M

*CREDIT LINE ITEMS

CNEWKO TYPE SKB1-SAKNR,"N

CNEWUM TYPE RF05A-NEWUM,"O

CSGTXT TYPE BSEG-SGTXT, "P

CKOSTL TYPE COBL-KOSTL, "Q8

CNEWBK TYPE RF05A-NEWBK,"R

CWRBTR(16) TYPE C, "S

CWBS TYPE PRPS-POSID, "T

CAUFNR TYPE COBL-AUFNR, "U

CPRCTR TYPE COBL-PRCTR, "V

END OF ST_FLAT.