Response not coming from bapi

hi all,
            I am sending a request from XI to bapi and it is going but the response is not coming from the BAPI.Below is the structure of the response bapi which is required
<i><?xml version="1.0" encoding="UTF-8" ?><ns0:ZLS_BAPI_SAMPLE_DUE_DATE_CHK.Response xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
   <EQUIPMENTID>
      <item>
         <EQUIPID/>
      </item>
   </EQUIPMENTID>
   <LOCATIONID>
      <item>
         <LOCID/>
      </item>
   </LOCATIONID>
   <OILID>
      <item>
         <OILID/>
      </item>
   </OILID>
   <OUTPUT>
      <item>
         <ZSAMPLEID>22</ZSAMPLEID>
         <ZSAMPLEDUEDATE>20061205</ZSAMPLEDUEDATE>
         <VCODE>55</VCODE>
         <KURZTEXT>ww</KURZTEXT>
         <ZEQUIPDES>dddd</ZEQUIPDES>
         <MAKTX>33</MAKTX>
         <ZPLANID>3</ZPLANID>
         <ZPLANIDESC>hhh</ZPLANIDESC>
      </item>
   </OUTPUT>
   <RETURN>
      <item>
         <TYPE/>
         <CODE/>
         <MESSAGE/>
         <LOG_NO/>
         <LOG_MSG_NO/>
         <MESSAGE_V1/>
         <MESSAGE_V2/>
         <MESSAGE_V3/>
         <MESSAGE_V4/>
      </item>
   </RETURN>
</ns0:ZLS_BAPI_SAMPLE_DUE_DATE_CHK.Response></i>
Equip id,loc id and oil id are mapped in the request mapping and in response we need the output fields.But during runtime we get the below as the payload structure
<i><?xml version="1.0" encoding="UTF-8" ?>
- <rfc:ZLS_BAPI_SAMPLE_DUE_DATE_CHK.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <EQUIPMENTID>
- <item>
  <EQUIPID />
  </item>
  </EQUIPMENTID>
- <LOCATIONID>
- <item>
  <LOCID>1</LOCID>
  </item>
- <item>
  <LOCID>2</LOCID>
  </item>
- <item>
  <LOCID>3</LOCID>
  </item>
- <item>
  <LOCID>4</LOCID>
  </item>
- <item>
  <LOCID>5</LOCID>
  </item>
- <item>
  <LOCID>6</LOCID>
  </item>
- <item>
  <LOCID>7</LOCID>
  </item>
- <item>
  <LOCID>8</LOCID>
  </item>
- <item>
  <LOCID>9</LOCID>
  </item>
- <item>
  <LOCID>10</LOCID>
  </item>
  </LOCATIONID>
- <OILID>
- <item>
  <OILID>BP260</OILID>
  </item>
  </OILID>
  <OUTPUT />
- <RETURN>
- <item>
  <TYPE />
  <CODE />
  <MESSAGE />
  <LOG_NO />
  <LOG_MSG_NO>000000</LOG_MSG_NO>
  <MESSAGE_V1>Invalid Customer Number</MESSAGE_V1>
  <MESSAGE_V2 />
  <MESSAGE_V3 />
  <MESSAGE_V4 />
  </item>
  </RETURN>
  </rfc:ZLS_BAPI_SAMPLE_DUE_DATE_CHK.Response></i>
Can anyone plz help me out
thanks and regards,
Nisheeta

hi shweta,
                  I was not giving a 10digit number as KUNNR so the error was coming but now the output is still not coming.the payload is showing as
<i><?xml version="1.0" encoding="UTF-8" ?>
- <rfc:ZLS_BAPI_SAMPLE_DUE_DATE_CHK.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <EQUIPMENTID>
- <item>
  <EQUIPID />
  </item>
  </EQUIPMENTID>
- <LOCATIONID>
- <item>
  <LOCID>1</LOCID>
  </item>
- <item>
  <LOCID>2</LOCID>
  </item>
- <item>
  <LOCID>3</LOCID>
  </item>
- <item>
  <LOCID>4</LOCID>
  </item>
- <item>
  <LOCID>5</LOCID>
  </item>
- <item>
  <LOCID>6</LOCID>
  </item>
- <item>
  <LOCID>7</LOCID>
  </item>
- <item>
  <LOCID>8</LOCID>
  </item>
- <item>
  <LOCID>9</LOCID>
  </item>
- <item>
  <LOCID>10</LOCID>
  </item>
  </LOCATIONID>
- <OILID>
- <item>
  <OILID>BP260</OILID>
  </item>
  </OILID>
  <OUTPUT />
  <RETURN />
  </rfc:ZLS_BAPI_SAMPLE_DUE_DATE_CHK.Response></i>
am i doin anythin wrong with the mapping??

Similar Messages

  • Sharepoint List to Telerik Grid, Where data is not coming from database into List.

    SharePoint List to Telerik Grid, Where data is not coming from database into List.
    Here, i have a SharePoint list , where configurable text are stored, using some utility.
    I want to convert that SharePoint list into Telerik grid, with all Editable Option which i have in SharePoint.

    I know little about Telerik Grid, only find following article about Telerik integrate with SharePoint:
    http://www.telerik.com/help/aspnet-ajax/moss-spradlistview_designer_general.html
    a similar question:
    http://www.telerik.com/forums/how-to-bind-to-a-sharepoint-list-using-radgrid
    Thanks,
    Qiao Wei

  • Header data not coming from vendor master when creating SA using BAPI

    Hello,
    I am creating SA using BAPI_SA_CREATE. I am passing the vendor code and other header related data in the header table of the BAPI.
    SA is created successfully with all the data that is passed to the BAPI. Now if the payment term and inco terms data is passed initial to BAPI then this data is not taken from vendor master. This data appears blank in SA.
    Shouldn't this data be picked up from vendor master as they are maintained properly in vendor master?
    I just need confirmation whether BAPI picks or not from vendor master if the data (payment term and inco terms) passed is initial.
    Thanks and Regards,
    Saba

    Hi,
    Are u passing X to corresponding fields of HEADER structure what ever you have populated in HEADER structure .

  • Data not coming from DOE to Mobile After defining Rule for device attribute

    Hi All,
    I have created a DO and rule for it.In case of Bulk Rule for all definition when i triggere extract from Portal then all the data comes to outbound queue but when i define rule for Device attribute then no data comes to my Outboun queue.Here is the scenario what i am doing :
    1. I have order header in my backend which has a field named "Work_Center" and this will be criteria field.
    2. In CDS table i have all the records for all the work center.
    3. Now in RMM under customized , i have added an attribute named "Work_center".
    4. Now i defined a rule with Device attribute mapping and activated the rule.
    5. Now on Portal i assigned this data object and in the device attribute tab i assigned the value(this value exist in CDS table for few orders) of a   Work center to the attribute "Work_Center" .
    6. Then i triggrere extract but its Outbound queue is empty, what could be the reason.
    Is my approach is correct
    Regards,
    Abhishek

    Hi Abhishek,
    You can check one ore thing, after you have performed all the steps till step 5, i.e. just before triggering
    extract. Check if the AT table for ur DO has entries based on the criteria specified by you...
    1. In the workbench click on the Data Object, and then right click and select "View Metadata".
    2. Select Distribution Model tab.
    3. Now select your DO's Association table.
    4. For the input field DEVICE ID specify your corresponing device id,and also for status field specify it 
        as "I"  and execute
    If there are any entries now in the AT table, and on triggering extract if they are not coming to the
    outbound Q there is some EXTRACT Q blocked. And is there were no entries in the AT then the rule
    specified is not  the satifying.
    Thanks,
    Swarna
    Now if you have entries w

  • Data Not coming From DSO to Cube

    Hi All,
    I have data in DSO. When i run the DTP , request status is green.
    Now when i go to cube and see the data the request has came but data has not transferred .....
    The Request Status is green in cube but data is not cuming....
    No transferred data.
    How can bring data in cube..??
    Regards,
    Rohit

    Hi,
    When you loaded the DSO......after that are you loading the cube for the first time?If so .....and still data is not coming..then check if the last loaded request somehow got deleted from the DSO....
    If after loading the DSO....you have already loaded the cube...and this is the second time you are loading the cube.........then obviously it will pick 0 records...........since delta DTP always picks the fresh new request..........if there is no new request in the source .......then it will pick 0 records.......
    Also both the cased are not working.........then check the End routine or Start routine.if any.......
    Thanks and Regards,
    Debjani.......

  • SD billing Accounting document Profit center not coming from billing doc

    Hi Expert,
        I have stuck with the accounting doc entries. Issue is that accounting document should have
        the same profit center as billing document. Actually i have created profit center for my each of
        my divisions and want the same profit center whenever that particular division  is selected. But it
       is not  working.
        I have tried with substitution  method also by t-codes 0KEL and 0KEM. It works correctly till
       billing document means division wise profit center is coming in order,delivery , and billing but
       when we check accounting document,Profit center doc. Controlling Document and Profitab.
       Analysis  in Delivery and Bill it is coming from what i have maintained in material master.
       But it should come from what is in the delivery and billing document.
        Please share your ideas.
       Thanks &  Regards

    Hi SAP Consultant
    I would not agree with the first reply above.
    When you define a substitution in 0KEL and 0KES, it is intended to overwrite the PC from Material Master. It is a wrong notion that this Substitution will only impact FI, and not CO / COPA
    1. Are you able to see the over-written PC in Sales Order? (I think YES)
    2. Are you able to see the over-written PC in Billing doc? (I think YES)
    3. If in FI doc you are not able to see that, then see where is the problem. Probable reasons would be a Substitution written in OBBH, You are having a CO Object in the line item, a user exit written in the exit SDVFX008
    Ask your ABAP to check on these lines, if 1 and 2 is YES
    Br, Ajay M

  • Imessaging after upgrade to 5.1.1 are not coming from right user

    We have 3 iphones and an ipad on the same itunes account.  We recently upgraded all three phones to the 5.1.1 and now we are having a strange problem.  When I imessage it says it is coming from my daughters phone????  It seems that all three phones are showing that all imessages are coming from 1 phone.  This is not good.  Do I have to uninstall and reinstall everything?

    This happens when multiple phones are using iMessage with the same Apple ID.  Each needs to use a unique Apple ID to keep your message identities separated.  On two of the phones go to Settings>Messages>Receive At, tap the Apple ID at the top, sign out, sign back in using a different ID.

  • Sales group not coming from Customer

    Hi,
    When using complaint process Sales group field (VKGRP) get popupated with customer data.  Upon entering next order for other customer VKGRP is not taken from this customer - previous value is kept.  This is visible in VA01 and can be manually deleted - which is obviously a space for mistakes.  I wanted to use MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAK as described in OSS note 67498, but this does not work in 5.0 - note is valid only till 45B.  OSS 67498 solution is as follow:
    *& Title: Note 67498                                                   *
    Form Userexit_Move_Field_To_Vbak.
      if svbak-tabix = 0.                                    " <<<< insert
        vbak-vkbur = kuagv-vkbur.                            " <<<< insert
        vbak-vkgrp = kuagv-vkgrp.                            " <<<< insert
      endif.                                                 " <<<< insert
    Anybody would know how to achive this in 5.0?
    Thank you,
    Adrian

    If it was a correction during version 4.5B then ideally it should be part of the standard package in ECC5, I don't know why this problem is coming?
    Regards,
    N

  • Sound not coming from blth speakers

    My 3g does not have stereo sound coming from both speakers. If I cover the left speaker when playing an i-tune, there is absolutely no sound coming from the right speaker. Also , my ringtone and speaker phone doesn't seem as lound as it should be, probably related to the above problem. When I use the earpieces the stereo sound is perfect. Does anyone know if this is the case with their phone? I'd like to know before I take it in. Thanks.

    The iPhone 3G only has one speaker, the right side is a microphone.
    glor

  • What does it mean if I get blank text messages from someone but they are not coming from number they appear and disappear they are not coming over the network also emails have been moved around, has my phone been hacked?

    I Have been getting blank texts from a number, but the person who owns the niumber is not sending them, they appear then disappear, they are not coming over the network, they come even though number has been black listed, also emails have been moved, I believe by someone who is cyberstalking me but don't know how to prove it, what can I do ?

    Hi,
    When a Mac is "registered" for iMessages account with an Apple ID the Serial Number of the Mac is used to create an Auth Token as it is called for the Messages app that allows that Mac to work.
    I would guess a similar process of linking the Number of the iPhone to a Hardware fact about the device is also in place.
    I would contact Apple Support and check with them.  (you might need to speak to a Level 2 person as Level 1 people are script led and try to fit everything into Software or Hardware categories where as sorting and Apple ID (which the Number is in this case) is normally Free).
    I did find this iOS: Troubleshooting Messages - Apple Support
    It starts off about sorting SMS that is not working.
    This one has a bit on Unlinking an iPhone Number (with or without the iPhone) iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage - Apple Support
    7:55 pm      Tuesday; January 6, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Presence the phone and mobile field entries not coming from LDAP

    I tested by changing name and all...working fine changes happening
    But the phone field is not coming at all
    ANY IDEA????

    I'm sorry if I misunderstood you. But it looks like there's some confusion here.
    Confusions and mistakes are usually caused by false assumptions.
    CUPC gets LDAP attributes from LDAP directly. CUPC does not retrieve those attributes from CUPS.
    If you're troubleshooting double-click on CUPC, the CUPS presence viewer doesn't help at all.
    When you double-click a contact in CUPC, CUPC dials the number in "BusinessPhoneNumber". By default "BusinessPhoneNumber" is mapped to "telephoneNumber" in Active Directory.
    If you cannot double-click a contact to dial, that's because "BusinessPhoneNumber" was blank.
    Michael
    http://htluo.blogspot.com

  • Datas are not coming from top to bottom in collumn

    Hiiiii
    I am moving my data from itab to itab1.
    And in itab1 datas are not started from top of the collumn for each a/c no.
    A/CNO|AB|DZ|RV|SA
    00001|00 |000|00 |10
    00001|00 |000|00 |15
    00001|00 |000|020|000
    00002|00 |15 |000 |00
    00002|21 |00 |000 |00
    00002|00 |25 |000 |00
    00002|00 |00 |000 |17
    what should i do to start my data from top of the collumn.
    Thanks in advance.
    Edited by: sanket sagar on Mar 17, 2011 8:14 AM

    Hi,
    Let me add some more comments in your code.
    LOOP AT IT_BKPF INTO WA_BKPF.
    IF SY-SUBRC = 0.    - do not use this statement. instead of this u can use a condition for a particular record. ( Eg: if wa_bkpf-belnr is not initial.)
    MOVE-CORRESPONDING WA_BKPF TO WA_FINAL.
    ENDIF.
    READ TABLE IT_BSEG INTO WA_BSEG WITH KEY BELNR = WA_BKPF-BELNR
    BUKRS = WA_BKPF-BUKRS
    GJAHR = WA_BKPF-GJAHR.
    IF WA_BSEG-SHKZG = 'H'.
    WA_BSEG-PSWBT = WA_BSEG-PSWBT * -1.
    ENDIF.
    IF SY-SUBRC = 0.
    MOVE-CORRESPONDING WA_BSEG TO WA_FINAL.
    ENDIF.
    APPEND WA_FINAL TO IT_FINAL.
    ENDLOOP.
    I think the above loop-endloop will get all the belnrs, and their related info to the final internal table.
    SORT IT_FINAL BY SAKNR BLART.
    LOOP AT IT_FINAL.
    IF WA_FINAL-BLART = 'AB'
    MOVE WA_FINAL-PSWBT TO WA_FINAL-PSWBT1.
    ENDIF.
    AND SAME FOR ALL DOC TYPES.
    ENDLOOP.
    SORT IT_FINAL BY HKONT .
    What is the structure of the internal table.
    If my understanding is correct, you want to populate a table as below.
    For every HKONT, populate the Document types (BLART) and their corresponding amounts like below.
    HKONT1 - AB - 1000
    HKONT1 - BC - 2000
    HKONT3 - CD - 2000
    Please correct it if your problem is something different.

  • Deny logins not coming from approved IP src...

    If there's an artical on this, please direct me to it. I have a requirement to control which IP is given opportunity to authenticate to my VPN 3000-series concentrator. I also have RADIUS available, if that can be used in any way, using vendor-specific attributes / classes.
    Obviously a firewall on the "Outside" side of the concentrator would do this, but I'm in a large organization, and we don't have timely control of the firewall that's in place, so we can't control access to our VPN Concentrator using this firewall; we have to put the control in place on the concentrator itself.
    Example: If Joe wants to authenticate, he has to be coming from his hardened workstation at 10.10.10.10. However, if Joe tries to authenticate using his laptop on the McDonalds WiFi at 192.168.1.1, then he'll be denied. RFC1918 addresses used as examples.

    Try going to:
    Configuration-> Policy Management -> Traffic Management -> Network Lists
    See if that is what you are looking for.

  • Sound not coming from imac

    I am facing a very strange problem with my Imac. When i am pressing the volume keys on keyboard it is showing muted sign on the screen. No sound is coming from the speakers. Sometimes the muted sign automatically goes and also suddenly display on the screen. But when i am connecting a external headphone sound is coming. So is this a speaker problem or keyboard or any other hardware problem. What is the solution ?

    Your audio settings may have been changed.
    Open Audio MIDI Setup (/Applications/Utilities/), then check the Audio Output setting.
    Change the Audio Output setting to 44100.0 Hz.
    Quit Audio MIDI Setup.
    More info here on no sound from built-in speakers:
    http://support.apple.com/kb/TS1574?viewlocale=en_US
    Or an SMC reset can often cure the problem:
    Resetting the SMC (System Management Controller) on Intel-based Macs:
    http://support.apple.com/kb/ht3964
    Resetting your Mac's PRAM and NVRAM:
    http://support.apple.com/kb/ht1379

  • Response not coming to BPEL process from the actionable email

    Hello Helping hands,
    I created a HumanTask workflow with actionable email.
    In the email I get from the HT workflow process, it has 3 links
    2-OUTCOMES list links (Eg:APPROVE,REJECT)
    1-worklist application
    If I update the task through worklist, the process is getting completed successfully.
    But the problem is with the actionable email, if I move the mouse over APPROVE or REJECT the following msg gets displayed in the status bar
    mailto:?subject=My Subject&body=NID:iBeS8jSTsA7vOx+ULF3+dJ7/e1fbklcDLkGHlkj38emd71NnzMgQMN89C0RxaPzu2PPgelhp+hv6sk+uwL1DYQ==:NID<p>Comments [[ ]]
    When I click the outcomes link, it opens a new email window without any to address.
    Advice me how to get the response from the actionable email to the BPEL process.
    Regards
    VP

    I had faced a similar issue.
    When the bpel process is initiated you will get an email to the configured email id's inbox.
    Make sure you reply to the mail from the same email account.
    Example : If the email comes to [email protected] id , make sure you reply from the same id.
    Hope this works for you

Maybe you are looking for

  • Two apple products using one itunes account

    Hi, i have just bought an ipod touch for my son and want us to have the same itunes account but i dont want him to receive my messages or facetime calls, is there a way that the two can be separated?

  • X11 and open source ATI drivers

    Hi. Well I have a little(big) broblem. I have ATI Radeon x1600 video card, and I need open source video drivers (not fglrx). I installed it by the article at archlinux wiki: Open Source ATI Drivers The open source drivers will work to some degree on

  • Why is my dock taking 1.5 GB RAM

    Last 2 or 3 days I have been noticing my Mac becoming very sluggish. I checked the activity monitor and found the 'dock' process consuming more than 1.5 GB of RAM. Even if I kill it, after an hour or so, the memory utilization surges. What could be t

  • TV to my Mac for notes

    Is their a way to get recorded or live TV from my DVR to my Mac, and then cut it up?  For example I'd like to take a couple science shows and cut up the parts I need so I can then put them in a folder, so when I am writing my paper I can quickly go b

  • [SOLVED] Using awesome wm without a mouse?

    After recently learning Vim, then installing Vimperator on Firefox, I've found that using the keyboard for navigating links and the like to be the shit. Naturally, I want to extend this to my window manager. So, is there any way to really use awesome