on 05-19-2009 9:38 PM
Hi all,
I have two file
1. Header File [ Material Master]
2. Detailed File [Items]
I need to send the custom bapi in putu2026
If header File Material and Item file Material are equal I need to send the data.
Can you please give me the udf for this requirement.
Exp
Header File
10000 Compaq 388
10001 hp 34444
Iteam file
10000 name dtedd dfdsfds
20000 kjjsafd fdjljdsk jlkjk
10000 kjljlk kljjklj kljklj
10001 Test Test
10001 Test Test test1
Thanks,
Anu
Hi ANU,
Use Correlation. That is main. Them map using this UDF.
For this Requirement use this UDF.
Take 2 inputs for UDF. Material in Header & Material in Item.
While creating the UDF select Context.
if ( int i= 0; i<Material_Header.length;i++)
{
if(int j=0;j<Material_Item.length;j++)
{
if(Material_Header<i> == Material_Item.length[j])
{
result.addValue("0");
}
}
}
Material in Header(Context change)----->UDF------->Target Message type.
Material in Item(Context change)---------/
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Its not as simple as you request it. First you need to design a bpm for collecting the files together and having a correlation for them to get the data in to bapi strucutures. Since you are getting flat files, you need to use FCC and define your datatypes..!!
Do search in forum for inputs..!!
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.