Quantcast
Channel: SCN : Unanswered Discussions - B2B Integration with SAP Process Orchestration
Viewing all articles
Browse latest Browse all 499

CUSTOM Plain2XML Conversion in B2B Cockpit.

$
0
0

Hi All,

 

I have successfully completed a smaple scenario in PLAIN2XML - End to End scenario for simple structure using B2B Cockpit.

Scenario I have done.

I only did a small mistake using B2B instead of ENV because I have gone through *MSG* table in EDIFACT and EANCOM and I simulated same in plain *MSG* table later I as per Ruchir advice I modified simply to ENV and it got resolved.

Reference Thread: - http://scn.sap.com/thread/3597976

 

Now my current Issue:

This is my multi hierarchy level structure.

1. Please find the below custom flat file. In this file each line has CRLF at the end which requires to parse in XML in one of the CRLF field.

 

2. You can see key fields per each Node. Also hierarchy in below XML.

actually this is a part of Complete XML. I want to first parse till S_035, S_190 and S_199 Only. Based on that I can proceed further.

Since am doing complex XML structure,

I configured everything as per above thread and also referring EDI tables. but still am facing below error.

 

" java.lang.RuntimeException: Cannot find actions for state ENV and set XXX for input 03503 "

 

My Request:1

I am doing scenarios based on assumptions and sometimes its working and sometimes its may now.

 

I tried to check in help.sap and other SCN links but no luck.

 

Is there any guide lines or THUMB rules for defining CUSTOM rules/Actions in B2B_PLA_CTRL_MSG and other tables?

 

My Request:2

Can you guide me where exactly I did mistake in configuring tables?


My Request:3

How to handle CRLF in fixed length pattern?

 

<?xml version="1.0"?><LIST>  <S_035>              <D_CLEF>035</D_CLEF>               <D_COD>03</D_COD>             <D_CRLF>              </D_CRLF>               <S_190>                          <D_CLEF>190</D_CLEF>                            <D_LOT>117504</D_LOT>                          <D_CRLF>                          </D_CRLF>             </S_190>             <S_199>                          <D_CLEF>199</D_CLEF>                            <D_NBRE_RUB>000002</D_NBRE_RUB>                          <D_CRLF>                           </D_CRLF>             </S_199>  </S_035>
................
................
.................</LIST>

B2B Tables I configured for above Structure Till S_035, S_190 and S_199 Only.

 

CUSTOM_STRUCTURE_FLAT FILE.png

CUSTOM_STRUCTURE_B2B_PLA_CTRL_IF.png

CUSTOM_STRUCTURE_B2B_PLA_CTRL_SETID.png

I tried with all options in *MSG* table with XXX, ENV, also keeping below.

CUSTOM_STRUCTURE_B2B_PLA_CTRL_SETID.png

CUSTOM_STRUCTURE_B2B_PLA_CTRL_MSG_2.png

CUSTOM_STRUCTURE_B2B_PLA_CTRL_FIELD.png

 

Am getting below Error:

Error.png


Viewing all articles
Browse latest Browse all 499

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>