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

problem on BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
1,022

Hi ,

I want to populate FISTL ( Fund Centre ) field of vbap in fm BAPI_SALESORDER_CREATEFROMDAT2.

How I can do that.

5 REPLIES 5
Read only

Former Member
0 Likes
780

Hi there,

Did you ever resolve this issue ?

I am having the Issue, I need to populate 'FISTL' Fund Centre when creating a sales order using BAPI -

BAPI_SALESORDER_CREATEFROMDAT2.

Please could you let me know if you managed to resolve it.

Many Thanks

Turlock

Read only

Former Member
0 Likes
780

HI,

If any of the standard fileds are not avialable in the bapi function module then it is difficult to populate.

Once i have faced same problem in my case i have to update KOSTL(Cost centre) , for this i have reaised customer message to SAP but they have replied that 'Cannot be implemented'.In that case i have used BDC to update that one field after sales order is created.i.e.after creating sales order by using that sales order go for VA02 BDC and update your field.

If you are working on ECC6.0 it is possible by using Enhencment point.

Thanks,

radha.

Read only

Former Member
0 Likes
780

Hi thanks for the reply,

You mentioned that FISTL maybe populated via an 'Enhancement Spot' Could you be so kind and specify which Enhancement Spot Can be used to do this.

Many Thanks

Turlock

Read only

0 Likes
780

Hi,

Here you can add new import parameter by using enhencement point and end of every function module there is one implicit enhencement point where you can write the code for updating the field FISTL.This is possible in ECC6.0.

Please read below para.

All application function modules can be enhanced by adding parameters to the standard function module interface. These parameters must be u2018optionalu2019 in nature, since adding a mandatory parameter will require all calls to be changed. Additionally any function module that is part of the Central Basis can not be enhanced (for example: function module u2018POPUP_TO_CONFIRMu2019). From the menu, choose u2018Function module -> Enhance interfaceu2019 to add optional parameters to a function module.

Thanks,

radha.

Read only

Former Member
0 Likes
780

Radha,

Thanks for the extra information.

I can see adding the new parameter to the interface as optional, this is ok, But how does the source code know about the new field ?, This bit is puzzling.

please can you shed some light on this.

Thanks

Turlock