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

filling function module- source code

Former Member
0 Likes
384

I am created one function module call ZSD_DETAILS.

I created a structure with fields.....sales order no; ITEM, material, ord qty, purchase or production order, delivery document, delivery qty, Tracking no of delivery, Invoice no and net value....

I created a structure call ZSD_STRU....with all teh fields required. and in the import i am given the fields VBELN, vkorg, vtweg, spart....

Now I need to write the code in source code of the function module.....using with the tables VBAP; LIKP; LIPS;AFKO and VBFA.

purchase and production order is the one field which shows teh purchase order first, if there is no purchase order it displays the production order....that why I am using VBFA:::table.......

CAN YOU PLEASE GIVE ME THE SAMPLE SOURCE CODE FOR THIS:::::

Thanks in advance,

raj.

Message was edited by:

raj kumar

1 REPLY 1
Read only

Former Member
0 Likes
333

any sample code to filll this functino module.....

Message was edited by:

raj kumar