Monday, May 16, 2016

xml tag checking using call transformation in ABAP (t-code: XSLT_TOOL)



Transforming data from xml tag to internal table with checking (whether the tag exits or not)

<tt:cond s-check="not-initial(ref('QUANTITY'))">
<Quantity tt:value-ref="QUANTITY"/>
</tt:cond>

<tt:cond s-check="initial(ref('QUANTITY'))">
<Quantity tt:value-ref="QUANTITY"/>
</tt:cond>


Transforming data from xml tag to internal table without checking-

 <Quantity tt:value-ref="QUANTITY"/>


Quantity  = xml tag
QUANTITY = internal table field

26 comments:

  1. Hi,

    I am facing some problem for a file to jdbc scenario.

    Here, File sender channel will pick up an .xml file without any fcc.

    As I am not doing any fcc that's why I have given the name of the elements in data type as it is in the tag of the xml file.

    But, the problem is that there are some tags in the xml file like that



    As SAP PI don't support element name with "-",,, so how can I resolve the issue.

    Thanks in advance for suggestion.

    ReplyDelete
  2. How much US Dollar you take for SAP training Program

    ReplyDelete
  3. thankyou for information excellent blog have a great blog possible

    bestlearning in sap abap

    ReplyDelete
  4. Dear Petel,
    I do not take any training program on SAP/ABAP. But if u need any help regarding SAP ABAP u can write me. i wil try to help you on any ABAP issue..

    ReplyDelete
  5. I am planning to join sap abap with them after reading your blog.
    Hope the best will turn out.
    Call them at 8122241286 in chennai.
    www.thecreatingexperts.com

    ReplyDelete
  6. We provide sap abap technical course, call us to know more about us and join with us.
    Call them at 8122241286 in chennai.
    www.thecreatingexperts.com

    ReplyDelete
  7. This article is really contains lot more information about This Topic on sap video

    ReplyDelete
  8. Thank you sir.Thanks for Nice and Informative Post on sap video tutorials

    ReplyDelete
  9. Thank you sir.Thank you for giving this best information. It’s a very nice topic.sap video

    ReplyDelete
  10. Thankyou for Sharing Great Information. It is Very Helpful Information on sap videos.

    ReplyDelete
  11. It was so nice article.I was really satisified by seeing this article sap video tutorial.

    ReplyDelete
  12. Thanks for Nice and Informative Post on. sap video tutorials

    ReplyDelete
  13. I have been a blogger too but you post much technical details. Thank you for sharing your knowledge. The creating experts was my first trainer in SAP ABAP got in depth learning from them

    http://thecreatingexperts.com/sap-abap-training-in-chennai/


    contact +91-08122241286

    ReplyDelete
  14. SAP ABAP training is provided in CHENNAI.

    THE CREATING EXPERTS is one of the leading trainer in SAP who provides real time training

    http://thecreatingexperts.com/sap-abap-training-in-chennai/

    contact 8122241286

    ReplyDelete
  15. Nice blog....For a long time I was looking for SAP ABAP training in Chennai and got the link


    THE CREATING EXPERTS is providing SAP BASIS training in real time

    http://thecreatingexperts.com/sap-abap-training-in-chennai/

    Contact 8122241286

    ReplyDelete
  16. Thank you for Wonderful information.

    SAP ABAP training in CHENNAI BY THE CREATING EXPERTS

    http://thecreatingexperts.com/sap-abap-training-in-chennai/

    CONTACT 8122241286

    ReplyDelete
  17. I'm a fan of your blog and as always I liked the post. Please keep us updated as we love your blog. noyasystem

    ReplyDelete
  18. Fabulous..!! Thank you.The information you provided is much usful information on sap tutorial videos.

    ReplyDelete
  19. Thankyou for wonderful article. It has more Information in Your Website sap hana videos.

    ReplyDelete
  20. Thank you. sir, Really I like your post on sap firoi training videos.

    ReplyDelete