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: 

Call transaction

former_member423024
Participant
0 Kudos

Hi,

I'm trying to create an order through KKF1 by method call transaction through my program,It's not creating the order.

But when I tried to do it individually through KKF1 transaction. It's creating the order with same input values.

Could anyone let me know what would be the reason for this.

Thanks

Natasha.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Natasha,

before using call transaction you have to set the fields with the values for Order type, material number and plant.

To do this u have to use the 'SET PARAMETER ID ' statement.

The parameter IDs for these are.

Order type - AAT

Material Number - MAT

Plant - WRK

Hope this will help you.

Regards,

Bhavesh.

7 REPLIES 7

Former Member
0 Kudos

Hi Natasha,

Post the relevant code.

Check if the internal table is getting populated or not. There could be many possibilities.

Regards

Abhii

Former Member
0 Kudos

for using call transaction you need to pass selection screen input values. r u doing the same?

kesavadas_thekkillath
Active Contributor
0 Kudos

Try BAPI_PRODORD_CREATE

BAPI_INTERNALORDER_CREATE

KAUF_ORDER_CREATE

Former Member
0 Kudos

Hi Natasha,

before using call transaction you have to set the fields with the values for Order type, material number and plant.

To do this u have to use the 'SET PARAMETER ID ' statement.

The parameter IDs for these are.

Order type - AAT

Material Number - MAT

Plant - WRK

Hope this will help you.

Regards,

Bhavesh.

Former Member
0 Kudos

For your requirement you will have to set the parameter id 's that are present in the transaction.

Eg:


SET PARAMETER ID 'AAT'  FIELD 'VALUE1' "Value for Order Type
SET PARAMETER ID 'MAT'  FIELD 'VALUE2' "Value for Material
SET PARAMETER ID 'WRK' FIELD 'VALUE3' "Value for plant
  CALL TRANSACTION 'KKF1' AND SKIP FIRST SCREEN.

Former Member
0 Kudos

Hi Natasha,

You can put break-point and see what is coming in the BDC data internal table.

Also, execute BDC in foreground, and see what is happening.

Regards,

Nisha Vengal.

Former Member
0 Kudos

Hi Natasha,

Please Debug the Program find first if you data is coming in the internal table the check

BDCDATA Table is populating or not and in call transaction use display mode as 'A' " all screen

you will get the answer

Regards

Nilesh.