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 Programing creating a function module

Former Member
0 Likes
1,099

Please let me know how to write a BDC program creating a function module thru SHDB recording ? I have created a function and calling the same from my Z program but it is not working.ALso I need to know how we can pass the current date value as defult to one of the BDC fields.

2 REPLIES 2
Read only

Former Member
0 Likes
468

Hello,

Check this FM it using BDC program to update the records,

BAPI_TRIP_CREATE_FROM_DATA

In line 250 you will find the call transaction check this.

To pass the current date use SY-DATUM.

Move SY-datum to field u want to pass.

Read only

Former Member
0 Likes
468

Hi J. Bakshi,

Please let me know how to write a BDC program creating a function module thru SHDB recording ?

You mean Recording for T-code SE37

My question is what are the upload fields from text or excel file

I have created a function and calling the same from my Z program but it is not working.

What function you created and why are you calling it in your Zprogram

ALso I need to know how we can pass the current date value as defult to one of the BDC fields.

If you need pass current date value you can pass SY-DATUM to BDC Fields

revert me for any quiries.

Regards,

Suneel G