on 10-15-2007 11:08 AM
Hi,
My scenario is File-Proxy.
my source strcutrue is
Header (0 to Unbounded)
f1
f2
f3
Item(0 to unbounded)
f11
f22
here problem is i generated inbound proxy.But only one header and one item coming .
entire data is not coming ..
Please provide me some sample coding for this for inbound proxy.
Reg,
Hem.
Hi Hem,
If you could send me piece of code (only those lines which you are using to pass data from INPUT to your internal table) along with data types declared, then peobabily i can go through it and let you know if something is wrong in that.
Send it here only.
Regards,
Sarvesh
Message was edited by:
Sarvesh Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hem,
1. Check you are getting the desired results in mapping under TEST tab.
2. Yes step 1 is giving the currect results, then go to proxy code and declare all the data type and internal tables (which you already declared)
3. Now LOOP at INPUT-MTI_TEST-ROOT (here root is the top parent in your mapping and under this root you have Header and Item data).
4. Now move all the data to your desired internal table.
5. Now debugg and check if you are getting it or not.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sarvesh,
Iam not using any mapping program . iam using the same structure on receiver side also, and using the same only iam generating proxy (inbound).
Data from source file will be like following ..
h_f1,h_f2,h_f3.
items.......
items.....
items.......
h_f1,h_f2,h_f3
items.......
items....
so iam moving header and items to two differant internal tables in proxy code.
problem is iam able to get only first header and items under that header.
Reg,
hem.
Ok. Then tell me are you <b>looping</b> your INPUT-MTI_TEST (here MTI_TEST is the name of message type inbound) or not. If not, then put a loop it will work.
If still you face the problme then send the piece of code (code, where you are moving the data from INPUT structure to internal table).
Regards,
Sarvesh
Hi hem,
First tell me if your are getting the correct message in XI when the file is picked up. View this in transaction sxi_monitor -> inbound message -> payload. If this message is correct, then copy it (right-click -> view source -> ctrla -> ctrlc).
Now go on to your system in which you have your ABAP proxy. Put a breakpoint (it might have to be an external breakpoint) in the beginning of your ABAP Proxy.
Then go to transaction SXI_support
-> Service Selection
-> Proxy Inbound Processing
-> execute
-> enter the receiver interface and namespace
-> unselect Generate Template Data
-> select XML
-> click execute
-> delete the payload in the text editor and paste your payload (ctrl+v)
-> execute
Now look at your input structure and verify that it has all the data from XI.
Yaghya
Message was edited by:
Yaghya Nana
hi hem chand,
check this blog:
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
Regards
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
just like shown in this blog:
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
In the proxy before calling the BAPI, construct the table, fill it with the appropiate values by lopping over the proxy request object. Now use this table for calling BAPI
Thanks !!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You just need to loop on the input structure coming from your input in Proxy Code.
Take internal table of type your recordset type.
Loop on table and read header items one by one.
Regards,
AKshay.
Reward points if find useful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.