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 for FB01 with multiple line items

former_member230391
Participant
0 Likes
1,506

hii experts ,

need to create a bdc for fb01 for the data.

BLDATBLARTBUKRSBUDATMONATWAERSXBLNRNEWBSNEWKONEWUMWRBTRDMBTRMWSKZXMWSTBUPLASECCOPRCTRZUONRSGTXT
27.11.2013KZ600027.11.201308INRTest8292300294E3000G0X6000600060000000Test8Test8
27.11.2013KZ600027.11.201308INRTest9292300294E4000G0X6000600060000000Test9Test9
27.11.2013KZ600027.11.201308INRTest10292300294E5000G0X6000600060000000Test10Test10
27.11.2013KZ600027.11.201308INRTest10502300294E12000G0X6000600060000000Test10Test10

i am not able to code for validating and multiple loops in the perform statements.

Please suggest something.

hii experts ,

need to create a bdc for fb01 for the data.

BLDATBLARTBUKRSBUDATMONATWAERSXBLNRNEWBSNEWKONEWUMWRBTRDMBTRMWSKZXMWSTBUPLASECCOPRCTRZUONRSGTXT
27.11.2013KZ600027.11.201308INRTest8292300294E3000G0X6000600060000000Test8Test8
27.11.2013KZ600027.11.201308INRTest9292300294E4000G0X6000600060000000Test9Test9
27.11.2013KZ600027.11.201308INRTest10292300294E5000G0X6000600060000000Test10Test10
27.11.2013KZ600027.11.201308INRTest10502300294E12000G0X6000600060000000Test10Test10

i am not able to code for validating and multiple loops in the perform statements.

Please suggest something.

4 REPLIES 4
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,059

Do not create BDC..use BAPI_ACC_DOCUMENT_POST it willl be easy and best..Read its documentation for more detail

Read only

Former Member
0 Likes
1,059

dear bishu,

you can check the code in the ACC_BAPI_TEST_DOCUMENT program from se80. and can use this.

regards,

Read only

Former Member
0 Likes
1,059

Hi bishnu,,

Post ur recording....

Regards,

Ankit

Read only

shadab_maldar
Active Participant
0 Likes
1,059

Hi Bishnu,

Use this BAPI ACC_BAPI_TEST_DOCUMENT, By default it will post 40-debit and 50-credit for diffrent posting keys you need to implement a BTE.