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 error + AMOUNT field

Former Member
0 Likes
439

hi friends,

iam developing BDC for transaction FB50.when posting data , the amount document currency(BSEG-WRBTR) giving error .

the error is :<b>posting is possible with zero balance. pls correct document.</b>my code is like this:

DATA: v_bdcqty(16) TYPE c.

WRITE wa_new-wrbtr TO v_bdcqty.

CONCATENATE 'ACGL_ITEM-wrbtr(' v_count ')' INTO v_string.

PERFORM bdc_field USING v_string

v_bdcqty.

pls tell me how to solve this problem.

pls urgent.

chandu

2 REPLIES 2
Read only

Former Member
0 Likes
354

Hi Chandra,

Do the following change

DATA: v_bdcqty(16) TYPE c.

WRITE wa_new-wrbtr TO v_bdcqty.

<b>condense v_bdcqty</b>

CONCATENATE 'ACGL_ITEM-wrbtr(' v_count ')' INTO v_string.

PERFORM bdc_field USING v_string

v_bdcqty.

Thank you,

Ramu N

Read only

Manohar2u
Active Contributor
0 Likes
354

Check the value in wa_new-wrbtr. Zero value is going into BDCDATA.

posting is <b>NOT ?</b> possible with zero balance. pls correct document

Regds

Manohar