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

Reading data through BDC

former_member190312
Active Participant
0 Likes
492

Hi all,

can i read some sale order data through BDC?

i am using BDC to create sale order.i need to change the net price when the condtion type is ZUR1.so i want to read the cond type.if it is ZUR1 , then only i will change the price.

how can i achieve this thing?

Regards

pabitra

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
471

Hello Pabitra,

you have to check it before filling the data for the BDC. It's impossible to do it when you create the sales order.

Best regards

Stephan

3 REPLIES 3
Read only

Former Member
0 Likes
472

Hello Pabitra,

you have to check it before filling the data for the BDC. It's impossible to do it when you create the sales order.

Best regards

Stephan

Read only

Former Member
0 Likes
471

while recording you can capture the condition type before net price.

and after the perform stament where internal table say record has condition type value,you can validate

PERFORM bdc_field       USING  'xyz'
                                           record-j_condition_type.
if record-condition_type = 'ZUR1'.
net_price = '999999'
    PERFORM bdc_field       USING  'abc'
                                         record-net_price.
endif.

regards,

pankaj

Edited by: Pankaj Singh on Mar 15, 2008 4:42 PM

Read only

Former Member
0 Likes
471

Hi,

U can use the bapi: BAPI_SALESORDER_CHANGE for changing the sales order.

See the documentation of the bapi for understanding.

Regards

Pratap.M