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: 

Uploading Scale Data in BAPI_CONTRACT_CHANGE

Former Member
0 Kudos
329

Hi Friends,

Since Scales are not possible to uplaod through bapi_contract_create.

I'm using bapi_contract_change to uplaod scales into me32k

Please tell me wht all parameters and how i need to pass into structure: bapimeoutitemscalequan

since i want to uplaod Scale Quantity and Scale Amount in one contract.

I had to create 3 scale line for one condition.

gs_bapimeoutitemscalequan-ITEM_NO = '00020'. item number

gs_bapimeoutitemscalequan-serial_no = '0000319153'. " conditon number

*gs_bapimeoutitemscalequan-COND_COUNT = '01'. "Sequence of condition

gs_bapimeoutitemscalequan-line_no = '1'. scale line number

gs_bapimeoutitemscalequan-SCALE_BASE_QTY = '0.00'. "quantity

gs_bapimeoutitemscalequan-cond_value = '10.000'. "amount

append gs_bapimeoutitemscalequan to gt_bapimeoutitemscalequan.

gs_bapimeoutitemscalequan-ITEM_NO = '00020'.

gs_bapimeoutitemscalequan-serial_no = '0000319153'.

*gs_bapimeoutitemscalequan-COND_COUNT = '02'.

gs_bapimeoutitemscalequan-line_no = '2'.

gs_bapimeoutitemscalequan-SCALE_BASE_QTY = '100.00'.

gs_bapimeoutitemscalequan-cond_value = '200.000'.

append gs_bapimeoutitemscalequan to gt_bapimeoutitemscalequan.

gs_bapimeoutitemscalequan-ITEM_NO = '00020'.

gs_bapimeoutitemscalequan-serial_no = '0000319153'.

*gs_bapimeoutitemscalequan-COND_COUNT = '03'.

gs_bapimeoutitemscalequan-line_no = '3'.

gs_bapimeoutitemscalequan-SCALE_BASE_QTY = '200.00'.

gs_bapimeoutitemscalequan-cond_value = '300.000'.

append gs_bapimeoutitemscalequan to gt_bapimeoutitemscalequan.

Please let me know is there any wrong parameter iam passing.

Regards,

Vamsy.

1 REPLY 1

madhu_vadlamani
Active Contributor
0 Kudos
102

Hi Vamsy,

[To Change Contract|;

[Link to chnage |;

Check this links.

Regards,

Madhu.