Program code for inbound proxy

Hello,
I would like to ask for your help. I am creating an abap program for an inbound proxy to update tables.
It doesn't get the value listed in the file. In the method section, I have created the following codes:
DATA:  receipt TYPE zgiserdata-receipt,
            material_slip TYPE zgiserdata-matslip,
            plant TYPE zgiserdata-plant,
            material_number TYPE zgiserdata-matno,
            new_serial TYPE zgiserdata-new_serial,
            old_serial TYPE zgiserdata-old_serial,
            warrex_date TYPE zgiserdata-warrexdate,
            posting_date TYPE zgiserdata-postdate.
Convert input parameters
  receipt = input-GOODS_ISSUE_SERIALIZED_CREATE-GOODS_ISSUE-reciept.
  material_slip = input-GOODS_ISSUE_SERIALIZED_CREATE-GOODS_ISSUE-material_slip.
  plant = input-GOODS_ISSUE_SERIALIZED_CREATE-GOODS_ISSUE-plant.
  material_number = input-GOODS_ISSUE_SERIALIZED_CREATE-GOODS_ISSUE-material_number.
  new_serial = input-GOODS_ISSUE_SERIALIZED_CREATE-GOODS_ISSUE-new_serial.
  old_serial = input-GOODS_ISSUE_SERIALIZED_CREATE-GOODS_ISSUE-old_serial.
  warrex_date = input-GOODS_ISSUE_SERIALIZED_CREATE-GOODS_ISSUE-warrex_date.
  posting_date = input-GOODS_ISSUE_SERIALIZED_CREATE-GOODS_ISSUE-posting_date.
Debugged on 'receipt', the value I got is 'This is a string 1' instead of the record that is in the file.
'This is a string 2' for 'material_slip', so on and so forth.
Checked on the XI side that the records in the file is being transmitted without any errors. I tested this through SPROXY. Got the message that is executed with no errors, however, I got the values mentioned above instead of the values in the file being sent to XI.
Can you please help me what needs to be checked in order to have the values that are in the file being sent to XI?
Thank you.

Hi Jho,
>>>Debugged on 'receipt',
How did you try to debug the proxy? I belive you tried debugging the proxy using SPROXY transaction code. If you use SPROXY transaction code by default the values are filled as 'This is a string 1 .. n so on..
I would suggest you to copy the xml payload from XI and then in SPROXY transaction code paste the payload and then trigger the proxy in debugging mode.
Or search in sdn how to debug proxy. You can use that guide to debug proxy real time. Guide is also available in some SAP Note. Dont remember the Note number.
If there is anything else you want to know let us know.
Regards,
Sumit

Similar Messages

  • How to see programming Code for UCCX Script

    Hi All,
    How can I  see the programming Code for UCCX Script? I have a script and want to see its Code , something like :
    int sum = 0;
    boolean alternate = false;
    boolean isValid = false;
    try {
    int i = 0;
    for (i = ccnumber.length() - 1; i >= 0; i--) {
      int n = Integer.parseInt(ccnumber.substring(i, i + 1));
      if (alternate) {
       n = n * 2;
       if (n > 9) {
        n = (n % 10) + 1;
      sum += n;
      alternate = !alternate;
    isValid = (sum % 10 == 0);
    } catch (Exception e) {
    return -1;
    return (isValid == true ? 1 : 0);
    thanks,
    Hamed

    You're not going to find code per se, unless you have some java class you wrote and then you would only see the code if you had the source java file.  The script is the only interface you get for "code".
    david

  • Process code for inbound idoc's

    hi  friend,
    i want to create a zprocess code for inbound idoc's pls i want to step or code.
    regrads and thanks

    Hi
    Are you using the customised idoc i:e message type .I hope most of the data transfer techniques always has a standard message type and if you are using one such than you can check in transaction we42(inbound process code) .All the steps have been rightly been mentioned for this querry of yours if you can clearly explain as to what message type are you using and for what purpose i can send you with documentation with steps to you.At the end of the day you will be posting idocs so that the data is being reflected in the segments .The things to be noted down is :-
    1.Maintain Partner Profile(we20) which is the sender system are you using ?
    2.If the satus is 53 it is sucess(green ) else 64(being processed-yellow) or 51(error-red)
    3.If you trigger by workflow than you have to use Message Variant .
                     If you are ok or incase do face any issues please do reply to the forum.
    Regards
    Somnath

  • Process code for inbound credit Memo

    Hi All,
    May know what is the process code for inbound Credit Memo  (Return of Goods)
    Thanks,
    Matthew

    Hi Gautham,
    I checked the IDOC in BD87 tcode and it is saying "Function module not allowed: IDOC_INPUT_ORDRSP".
    I gave ORDR as the process code in the inbound parameters of the receiver system partner profile.
    In the sender system, I gave me10 as the process code. And there the status is 12, so everything is fine over there.
    Vishwa.

  • Transaction codes for inbound/outbound of ALE-ITS URGENT

    Hi All,
    antbody can plz tell me the transaction codes for inbound and outbound process and also plz tell me ALE Message T-Codes.
    Thanks,
    Maheedhar.T

    Under the WEDI and BALE, area menus you will be able to find all the transaction codes pertaining to the ALE.
    SALE, WE30, WE31, WE20, WE02, WE21, WE81, WE82, WE41, WE42 etc are the transactins that will help you in configuring ALE.
    Regards,
    Ravi
    Note- Please mark all the helpful answers

  • Generation of program code for the ABAP Query

    Dear all,
    In the creation of the ABAP query, in the final step of SQ01, Query- more functions- generate program is made.
    Why the program code is generated for the ABAP query? please  give the logical explaination for the same.
    Thanks and Regards,
    Prash

    Prash,
    a) Do you mean Program code does not have significance in query creation?
    No it does not mean this.  All queries run based on an ABAP program.  In the standard query editing process, when you save and execute the query, you will automatically re-build the existing ABAP program as necessary.  You do not need, though, to execute the menu steps you outlined in order to build, maintain, or execute the query.  It is only there for special purposes, as outlined above by Jürgen
    b) Can we see the program code generated in any transaction?
    From any screen, System > Status.  Place your cursor on the field in "Program (screen)".  Double click.
    Rgds,
    DB49

  • Change tax code for Inbound invoice Idoc

    Hi all,
    My requirement is to change the TAX code in INVOIC01 for inbound idoc ,Basic type in E1EDK04 segment.
    I am using exit EXIT_SAPLMRMH_012 .
    But change tax code is not refleted in IDOC segment.
    Even i put E_CHANGE = 'X'.
    Please any one who have donne this before help me its urgent.

    I got the answer. Actually I should be marking this item as Excise item in Item master which i missed out.
    Thanks.

  • Message stuck in inbound queue of r/3 for inbound proxy

    Hi Experts,
    The scenerio is Inbound Proxy.
    I m using standard prgram  rfbibl00  to post a document (FB01) in Inbound proxy. When the message is triggered from XI, it get stuck in inbound queue of R/3 ( SMQ2) giving the status text "Session     1: Special character for 'empty field' .
    Please help to resolve this issue.
    Thanks in advance.

    dear experts,
    did u get chance to look into this issue.
    Thanks in advance.

  • Upload data from abap program to abap inbound proxy

    Hi,
    I have requirement to upload flat file data to an internal table and call Inbound proxy abap class and pass all the internal table data to tha proxy clas method structure.
    So could any one help me how to send/pass data to class, Please give some e.g.
    thanks
    bobby
    Edited by: Bobby G on Nov 18, 2009 4:35 AM

    hi;
    you may follow the following ways
    1. create a report and by using GUI_upload, give the path as default , you can convert the flat file's data into internal table.
    2. call that report in proxy method by returning parameter as a table, this table can use further in the proxy.
    Another way, you have
    1.  Create a transparent table and by using the GUI_Upload in report,  you may  store the data.
    2.  from step 1, you may use data in the proxy.
    Regards
    Shashi

  • Program code for Vizio VSB210WS soundbar

    Just received the new voice command remote from Comcast, and need a code for the Vizio VSB210WS soundbar.  The codes in the online guide will control volume and turn off, but will not turn on (power) when I hit all power.  All the lights come on the soundbar like it is stuck.  If I manually power off then back on I can use the remote, but this is not optimal.  Any help would be appreciated.  Its as if it should delay in coming on until the signal gets to it.

    see this thread from may DVR CABLE BOX AND NO SOUND[ New ] OptionsMark as NewBookmarkSubscribeSubscribe to RSS FeedHighlightPrintReport Inappropriate Content05-30-201011:02 PMOK, here is some help for all those people who bought a VIZIO SOUND BAR for their HD TV and lost thier sound.  I have a comcast DVR MOTOROLA DX3400.  I hooked up a HMDI CABLE and ended up with the lights flashing errors on my soundbar and NO SOUND. YOU HAVE TO PUT THE CABLEBOX DVR ON PCM.  you would also have to do this for any sound system besides tv speakers, because the HMDI CABLE RUNS THE SOUND AND THE VIDEO.  You would NOT HAVE TO CHANGE THIS SETTING if you are using the COMPONET OUT HOOKUP CABLE, because there is a separate RCA CABLE that runs the audio out. HOW TO CHANGE TO PCM...   1. LEAVE YOUR TV ON   2. ON YOUR CABLE BOX REMOTE TURN OFF YOUR CABLE BOX   3. HOLD THE MENU BUTTON DOWN UNTIL THE FACE OF YOUR DVR SAYS 16:9   4. LET UP ON THE MENU BUTTON   5. PRESS AND HOLD THE MENU BUTTON AGAIN UNTIL YOU SEE A MENU COME UP ON YOUR TV.   6. SCROLL DOWN TO WHERE IT SAYS ADVANCED HMDI SETTINGS HIT ENTER   7. SCROLL DOWN TO SOUND AND HIT ENTER ON SETTING NAMED....  AUTO   8. THIS WILL TURN YOUR SETTING TO PCM.... THEN YOU WILL HAVE SOUND... HOPE THIS HELPS SOMEONE... I KNOW IT HELPED MY COMCAST REPRESENATIVE... who started to tell me I had to hook up extra RCA CABLES ALONG WITH MY HMDI CABLE.... no not sooo....!!!!wimmy 

  • ABAP Code for Inbound ABAP PROXY Creation

    Hi,
    Can anybody help me to create Inbound ABAP proxy programee, by using PRoxy.
    As interface is between PI and ECC.
    Through RFc setting i hv to accomplish it.
    If u provide psuedo code that would we be grateful.
    Regards
    Vivek

    Hi,
    Can anybody help me to create Inbound ABAP proxy programee, by using PRoxy.
    As i hv to fetch data from Pi/Xi, by using proxy,
    then i have to send it to SAP tables.
    If u provide psuedo code that would we be grateful.
    Regards
    Vivek

  • How to write code for outbound proxy

    hi all,
    i /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    ied the link for outbound code i got it but i want to get data for multiple values. what changes i need to do in that.
    Moderator message : Duplicate post locked.
    Edited by: Vinod Kumar on Sep 26, 2011 4:09 PM

    Hi Satya,
    I am working on ABAP HR. Currently i am working on supporting project.
    I had done many interfaces. But still i am not confident on interfaces.
    Currently i don't have requirement, i want general explanation about outbound and inbound interface processing.
    If you have free time, please explain to me.
    Cheers,
    Guru.

  • Unable to find SWCV in BW system for inbound proxy

    Hello Friends,
    There is one interface running in our system. It is FILE to PROXY. Every day MDM sends some vendor details in files form. PI polls the file and map to structure for BW. (BW is SAP System).
    In Operation Mapping, Sender Side : Our own interface and structure is used. On the Receiver side, 'GenericVendorIN' interface from SAP SWCV 'BI CONT' is used.
    Messages are processed successfully for this interface in PI (PI 7.1) and failed in BW side due to application error. Not all messages, few messages.
    When we try to troubleshoot the business logic (ABAP) written for this inbound interface in BW system, this SWCV BI CONT is not displayed in SPROXY transaction. But, we see successful messages and failure messages in BW system. (Txn: SXMB_MONI). ESR is connecting fine. Our SWCV is adisplayed correctly.
    Friends, could you please clarify why SAP Standard SWCV BI CONT is not displayed in SPROXY transaction? For any errors, how do we troubleshoot then on the inbound side i.e in BW system.
    Thanking you.
    Kind regards,
    Jegathees P.

    hi,
    In BW, check in tx SXMB_ADM, option Integration Engine configuration, if you have in category RUNTIME, parameter IS_URL something like that "dest://<NameOfYourRfcDestination>".
    and in SM59 (of BW), check that you have the same RFC destination (type H).
    or maybe you use a Java proxy, instead of an abap proxy.
    regards.
    Mickael

  • Need elp to create the process code for inbound idoc !

    When I am creating a process code in WE42 and associating a
    function module then another screen comming while saving....but in that screen in the drop down list..i didnt find the function module....how to solve ?

    Hi,
    Use transaction BD51 to make the FM known as an inbound FM.
    Regards,
    John.

  • Best Programming/Code for Small Corp. Site???

    A question for anyone who feels up to answering, & mucho
    thanks in advance!
    Whats the best way to go (HTML, ASP, PHP, etc.) for a
    corporate website with the following parameters:
    #1 The company has 400 products.
    #2 Each product will have it's own page with approximately 3
    lines of text, 1-2 images & a PDF spec sheet.
    #3 A product search box which will pull pages by prod# is
    needed.
    Thanks again.
    PJ

    Is the company looking to code the site in-house with their
    own developer?
    Is the company hosting the site themselves, and what server/s
    do they have
    for this purpose?
    How does the company currently store the product info'?
    Does the company currently have a site using any application
    server coding?
    If so, what flavour?
    Does the company have a trusted developer they would like to
    keep using? If
    so, what coding flavour/s does that developer feel confident
    using?
    Is the company site likely to need to play nicely with other
    sites and
    applications in the future?
    What is the company's budget and timeframe?
    There are quite a few different ways to achieve what the
    company is after
    and it might come down to answers to the above questions,
    amongst others.
    "prjcms" <[email protected]> wrote in
    message
    news:f6e5um$bj3$[email protected]..
    >A question for anyone who feels up to answering, &
    mucho thanks in advance!
    >
    > Whats the best way to go (HTML, ASP, PHP, etc.) for a
    corporate website
    > with
    > the following parameters:
    > #1 The company has 400 products.
    > #2 Each product will have it's own page with
    approximately 3 lines of
    > text,
    > 1-2 images & a PDF spec sheet.
    > #3 A product search box which will pull pages by prod#
    is needed.
    >
    > Thanks again.
    > PJ
    >

Maybe you are looking for

  • Unable to start Soa Suite after applying 10.1.3.4 MLR#8

    Hi We are trying to install AIA2.5 on 10.1.3.4 windows machine.We are unable to start the soa suite after applying 10.1.3.4 MLR#8. Following is the error we are getting while starting the soa suite.Kindly help. OC4J startup failed oracle.classloader.

  • Actual price calculation - acutal price indicator KSII

    Hi Friends I am trying to calculate actual price (KSII) and am getting the following message. All activity prices are manually entered Message no. KP211 Diagnosis All activity prices in controlling area 1000, fiscal year 2009, and version 0 were dete

  • I need to find out my balance or my iTunes account. How do I find out on my iPhone 4s?

    How do I find out on my iPhone 4s? I wanna buy a 10$ iTunes card but need to know if my negative balance is more or less than 10$

  • Garage Band 4.1.2 on Power Mac G4 messed up

    I had problems trying to change the tempo of the song, it always froze. So I tried to replace my Garage Band 4.1.2 with the same from my laptop that is an Intel one though. I guess that messed it up completely. Even if it doesn't show anything or doe

  • How to Avoid Pop up for Expand Mode Options

    Dear Experts In our Input schedules, we have two EVDRE Sheets. 1) Master Data EVDRE Sheet 2) The actual transaction data sheet. On BEFORE_EXPAND event of the Second sheet we trigger the Expansion of First Master Data Sheet to get the exact EVDRE filt