Dest Delimiter parameter in bic module
Hi Experts,
I am working on a IDoc to EDI scenario using seeburger modules (bic).
While creating a EDI file on Target FTP server ,EDI content is written into file as a single line instead of a new line after every record.
Please let me know if i had to use some bic module parameter in receiver file channel to insert a new line after every record.
Also , can some one explain destDelimter parameter usage.I know that it is a string with the length of 6 characters order of the delimiter is as follows:subfield, field, decimal, quoting, fieldgroup, segment.
But i want to know what quoting,fieldgroup and segment refer to in a EDI interchange.
Thanks and Regards,
Jyothsna
Hi,
> While creating a EDI file on Target FTP server ,EDI content is written into file as a single line instead of a new line after every record.
For this you can use another module, that is newLine parameter (BIC newLine TRUE)
> Also , can some one explain destDelimter parameter usage.I know that it is a string with the length of 6 characters order of the delimiter is as follows:subfield, field, decimal, quoting, fieldgroup, segment.
> But i want to know what quoting,fieldgroup and segment refer to in a EDI interchange.
Check the below link (read point 1 (For Delimiters variable in target side, Map UDF (setDynamicParameters) as below))
Dynamic Configuration for Seeburger AS2 Adapter
Regards,
Venkata Ramesh
Similar Messages
-
Seeburger bic module mapping parameter
Hi all,
I'm implementing a Invoice02 to 810 scenario, my mapping name in repository is MM_xyz..
But I'm using the standard content of Seeburger...there are lot of mapping transformation..
So do I need to create 1:1 mapping in BIC mapper or can I use See_X2E_ANSIX12_810_V4010 as my mappingName in bic module config...
Thanks,
Srini>
Srinivas Davuluri wrote:
> Hi all,
>
> I'm implementing a Invoice02 to 810 scenario, my mapping name in repository is MM_xyz..
> But I'm using the standard content of Seeburger...there are lot of mapping transformation..
> So do I need to create 1:1 mapping in BIC mapper or can I use See_X2E_ANSIX12_810_V4010 as my mappingName in bic module config...
>
> Thanks,
>
> Srini
Dont confuse yourself with the data mapping and the BIC mapping.
Note that the data mapping transforms your IDoc XML to 810 EDI XML. Here you have a transformation logic via the business rules. The BIC mapping is nothing but a structure conversion something you can say like FCC in file adapter which will convert the EDI XML to the EDI flat file
The BIC is at an adapter level conversion as it is part of a module. You actual IDOC to EDI XML transformation is done by your message mapping. -
Hi all,
I am using seeburger BIC module to convert XML file to EDI.
My question is, can we configure BIC module parameter "srcDelimiter" dynamically rather than supplying any value?
ThanksI dont think you can dynamically set the values for the parameters of the same..
There is an option which you can look for is how to pass dynamic parameters to the mapping using some other module..
In that direction you need to look for..but for bic and for delimiter parameter you cannot pass the values dynamically..
HTH
Rajesh -
BIC Module Error in Sender Communication channel for EDI to File scenario.
Hi Experts,
We are working on the EDI based scenarion where EDI files come to SAP PI from partner and then through Split 997 Adapter Func Ack is sent back to the Partner . But we are facing a issue in our sender Communication Channel which is a File Adapter Channel and uses BIC Module for the conversion of EDI to XML .Request if any one can provide any guidance on the below issue coming in sender CC.
Error: Error in BICMODULE-module:Temporary error: BIC XI Adapter call failed. Reason: 2 errors occured. First error: EdiSegmentData read(): Edifact Format not correct : segment must end with \"segment delimiter\" (Segment : ISA). DESCRIPTION: EdiSegmentData Error: Your Edifact Format is incorrect the segment must end with \"segment delimiter\". check segment [not specified]. Last error: InhouseDocReader moveNext(): com.seeburger.jucon.dochandler.AnsiX12DocReader, offset[92(read Segment : ISA)]: could not parse segment (wrong format): EdiSegmentData: Edifact Format not correct : segment must end with "segment delimiter" (Segment : ISA) DESCRIPTION: InhouseDocReader Error: [not specified] at position [not specified] could not parse the segment [not specified] Error while reading description - wrong format.
Thanks & Regards,
AbhishekHi Abhishek,
Is there any special character present in the EDI file?
the parser is not able to parse the data.
you can check the BIC conversion log for more information.
Regards,
Harish -
Use of "Archive Source Files with Errors" for BIC module error
Hi All,
I have Edi file to Idoc scenario , where i am using SEEBURGER BICXIADAPTER.MODULE.
My question is if the input file caught in error with BIC Module e.g
"MP: exception caught with cause Error in BICMODULE-module:Temporary error: BIC XI Adapter call failed. Reason: SegmentDescription: checkAndResetChildrenCounter() not enough repetitions of the segment UNH found: 0 instead of 1 offset :80 DESCRIPTION: SegmentDescription Warning: Not enough repetitions of the segment UNH ([not specified]/[not specified])."
can we move these errornous files to another directory using Processing parameter "Archive Source Files with Errors" available with Sender File Adapter?
In File Adpater my Module tab looks like :
1 localejbs/CallBicXIRaBean Local Enterprise Bean bic
2 localejbs/CallSapAdapter Local Enterprise Bean 0
In my scenario , its not working.. do we have any other option to achive this?Hi Jyoti,
I had a raised a similar case with SAP and came to know that archiving only works if the error raised by the module is so called "Permanent". However, bic doesn't raise permanent error due to which archiving of error files won't be possible. Seeburger haven't came up with a solution yet.
Regards,
Prateek -
Seeburger BIC module not working
I am using Seeburger BIC module in my sender file adapter. But when I pick up an EDI file using this file adapter, the BIC module is not called. The file adapter simply passes the EDI file to Integration Engine without passing it through the BIC module. Hence, message mapping fails at Integrating Engine as the Message is not in XML form. Also I am not getting any error in adapter monitoring/Message monitoring saying that the adapter module does not exist.
The BIC module is deployed on XI server. I have activated my communication channel. I have put the module names correctly and in proper sequence and also there are no typo errors in entering the parameter names.
Please help.
Regards,
ShwetaR u passing the correct mapping name under the parameter value in module configuration?
Regards,
Anoop -
Parameter name in module configuration of adapter module in comm channel
Hi Experts,
I have developed an adapter module to read a excel file , have used the module in the sender file adapter.
What entrie should i put in parameter name and parameter value in module configuration of adapter module in comm channel.
Im too confused,,pls helpHi Ivan,
The code is basically to read the all colums add em under xml tags and read from second row on wards the data
please find below the module data code
public ModuleData process(ModuleContext mc, ModuleData imd)throws ModuleException
Object obj = null;
Message msg = null;
MessageKey amk = null ;
amk = new MessageKey(msg.getMessageId(),msg.getMessageDirection());
Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS,"Module called");
try {
obj = imd.getPrincipalData();
msg = (Message) obj;
XMLPayload xp = msg.getDocument();
if (xp != null)
byte by[] = convert(xp.getContent());
xp.setContent(by);
imd.setPrincipalData(msg);
catch (Exception e)
return imd;
public byte[] convert(byte src[]) throws Exception
String xmldata = "";
try
ByteArrayInputStream byteArr = new ByteArrayInputStream(src);
Workbook w = Workbook.getWorkbook(byteArr);
xmldata ="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n"+ "<ns0:""MT_ExcelFiles"" ""xmlns:ns0=\"""urn:xyz:abc"+"\"> \n";
int a = w.getSheet(0).getRows();
int b = w.getSheet(0).getColumns();
for(int j=1;j<a;j++)
for(int i=0;i<b;i++)
xmldata = xmldata + "<"w.getSheet(0).getCell(i,0).getContents().toString()">"w.getSheet(0).getCell(i,j).getContents().toString()"</"w.getSheet(0).getCell(i,0).getContents().toString()">";
xmldata = xmldata"</ns0:""MT_ExcelFiles"+">";
w.close();
catch (Exception e)
return xmldata.getBytes(); -
Fetch data from table(ET_) which is exporting parameter of function module
Hi,
I m new to ABAP programming.
I have to develop a smartform that has to be filled in with fields from few tables.
These tables have the naming convention ET_<XXX> (i.e. exporting parameter of function module).
I m not able to directly view its contents in se11 or use select query for it.
I have a report program which i can execute to view these parameter names.
Now, how do i fetch data from these parameters/tables and pass it from my driver program to smartform??
Someone pls guide me...
Thank You.Hi,
I have done that using Field-Symbols.
Thanks,
Preetha -
How to get parameter for Adapter Module ?
Hi XI Expert,
I have write some simple adapter module in my sender file adapter. in order to make it more flexible i need to read some parameter that already set in communication channel module parameters.
please advise how to get those parameter value from my ejb module.
Thank You and Best Regards
Fernandhi,
follow this example SAP contribution for parameter in Adapter Module
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
Regards
Ramesh P -
Check mapping used in BIC module
Hello gurus
we have an EDI scenario. modules are used in the EDI receiver communication channels.
Following is the processing sequence and module configuration of one of the channels :-
Processing sequence:
1 localejbs/Seeburger/solution/sftp Local Enterprise Bean solutionid
2 localejbs/CallBicXIRaBean Local Enterprise Bean bic
3 localejbs/ModuleProcessorExitBean Local Enterprise Bean exit
Module Configuration:
bic LogAttID ConverterLog
bic destEncoding ISO-8859-1
bic destTargetMsg MainDocument
bic mappingName See_X2E_DESADV_UN_D93A
bic srcEncoding ISO-8859-1
bic srcTargetMsg MainDocument
exit JNDIName deployedAdapters/SeeXISFTP/shareable/SeeXISFTP
Is it possible to get the mapping that is used here i.e See_X2E_DESADV_UN_D93A to view or edit?
I am new to BIC and BIC MD. I went through the documents that are available for mapping designer but i am now even more confused.
The mapping designer can be used to output .xsd file which can be imported into the ESR as external definition and then graphically mapped to the IDoc. Then what is the purpose of this mapping separately and where can i find it??
Appreciate any help coming my way.
Regards,
XineohpiHi Iphoenix
The XSD file should be imported into ESR as an External Definition, so that it can be used as a source/target for graphical message mapping.
As for the BIC mapping, this is deployed as an SCA file into the PI system. This is normally done via JSPM by the Basis team.
Normally, if your partner is using X12 or EDIFACT, you might not need to change anything with BIC mapping. Only in cases where your partner's X12/EDIFACT definition deviates from the international standard, then you might need to adjust the BIC mapping accordingly using BIC MD.
In the case where the standard is used, you just need to double check that Seeburger already provides that XML to EDI conversion mapping, and that it has been deployed by your Basis team (you can check in the Seeburger Workbench to see what has been deployed.) Once the BIC mapping is there, you use that mapping in the BIC module configuration.
To summarize, for an IDoc to standard EDI interface, your main development/configuration effort would be:-
i) Create graphical mapping from IDoc to EDI (XML format)
ii) Configure communication channel to use BIC mapping for X2E conversion.
Rgds
Eng Swee -
Add parameter in Function Module
hi all,
I'm trying to add a parameter to function module HRGPBS_HER_GET_SURNAME_NINO.
However, the system is telling me to carry out modification comparison first.
Can someone guide me on using SPAU or SE95, as I don't understand what to enter in the selection area?
thanksIf you go to transaction code: SPAU, you can find the item (program, function module, screen, etc) in question, open the tree to the lower levels. On the lower item, you can choose to save your changes or revert back to original.
The developers should be able to tell what has been changed. In most cases, we wanted to keep our changes with the exception of when a change was made and later a note was released to produce the same result or if new functionality is released related to the item in question.
Hope this helps. -
Passing parameter in function module
hi friends,
I have created one function module in which i need to pass PO/SO number from standard EKKO/VBAK tables through the select option parameter S_POSONO. Inside the function module I have a select query which fetches the records from a Z-table which has a field called 'REFERENCE' which is 16-char long. Hence the length mismatches with PO/SO no which is 10-char long. the first 10-char from 'REFERENCE' is PO/SO number, next 3-char is line-item num, and the last three char is schedule item num. It is required to match only first 10-char with the parameter passed i.e, S_POSONO and display only those datas.
The function module is as follows.....
Function :
CALL FUNCTION 'YFIIN_RETRIEVE_SOURCE_DATA'
EXPORTING
LT_RANGE_BUKRS = S_BUKRS[]
LT_RANGE_DOCNO = S_POSONO[]
LT_RANGE_DOCDATE = S_DATUM[]
LT_RANGE_CURRENCY = S_FCURR[]
TABLES
IT_TEMEXPOSU = LT_TEMEXPOSU
EXCEPTIONS
INVALID_SELECTION = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Source code inside function module:
SELECT * FROM ZFIGL_TEMEXPOSU INTO TABLE IT_TEMEXPOSU
WHERE COMPANY_CODE IN LT_RANGE_BUKRS
AND currency in LT_RANGE_CURRENCY
and REFERENCE in LT_RANGE_DOCNO
and doc_date in LT_RANGE_docdate.
IF SY-SUBRC = 0.
SELECT COMPANY_CODE ATTRIBUTE_01 REFERENCE CREATION_DATE FOREIGN_CURR
FROM TEMT_RAWEXPOS APPENDING CORRESPONDING FIELDS OF
TABLE IT_TEMEXPOSU WHERE COMPANY_CODE IN LT_RANGE_BUKRS
AND REFERENCE in LT_RANGE_DOCNO
AND CREATION_DATE IN LT_RANGE_DOCDATE
AND FOREIGN_CURR IN LT_RANGE_CURRENCY.
ENDIF.
Import Parameter of Function Modules :
LT_RANGE_BUKRS - type - BUKRS
LT_RANGE_DOCNO - type - EBELN
LT_RANGE_DOCDATE - type - DOKDATS
LT_RANGE_CURRENCY - type - WAERS
please help me to solve this problem..Hi Ram Tej,
Try this.
First Read all the records without Checking REFERENCE field with LT_RANGE_DOCNO into an internal Tbale.
Then looping at that internal table delete records from the same internal table where REFERENCE(10) <> LT_RANGE_DOCNO.
Hope this may help ur requirement.
Award points if useful. -
Checkbox as import parameter in function module
Hi all,
how to create a checkbox as import parameter in function module,
thnx in advance?? Function modules don't have screens...they do have import, export parameters.
If you look at how "checkboxes" are stored in db tables, you'll see that the previous replies are precisely correct. A check box is a char1 field...it is on when 'X' (ABAP_TRUE) and off when blank (initial)....you would call your FM with an import field of type char1 set to 'X' or set to space, and handle accordingly in your FM code.
If you have a checkbox on a selection screen, then the value of that parameter is either 'X' or space, depending upon whether or not the user checked the box. -
Populating the output parameter in function module.
Hi Experts,
I have written a function module,with material number,BEZEI as input and mvgr2 as output from table tvm2t.I am facing a problem in populating the material number as well in outputtable.The material number in input is nothing to do with output.
please help me at the earliest.
Regards,
Sridevi.Hmmm, you wrote that the output is 'table parameter' but you mention 2 single fields. If you expect a good reply here, it helps to mention how you defined the table and how you select the data for the output. For example: input is matnr and you select the material group of this matnr. Output is all other matnr of this material group. Then we would know what you want to do here.
So please describe what you need and give us the table description.
Regards
Nicola -
(internal) Tables obsolete as parameter in function modules,
Hi
As you probably can see by the question, my ABAP Knowledge isn't exactly overwhelming !
<i>anyway:</i>
I'm trying to create a function module in NW2004s, This functionmodule should take an internal table, based on a structure as (import) parameter.
In the earlier version, I've done this by defining it under the TAB 'Tables' in the function builder - But know its telling me that "<i>Tables Parameters are obsolete</i>", and that I should define it under "Changing" instead.
I have tried that, but I'm only allowed to pass a single line, and if I try to do a Loop, in the function module, it tells me that ity isn't created as an internal table.
So please - what is the "best practice" here ?
Regards
Morten NielsenHi All,
I followed Steps 1 and 2 but when I use the following select statement I get a dump with the error enclosed.
Step1. Created a structure ZDFKKCOHI which is a replica of DFKKCOHI.
Step2. Created a table type ZDFKKCOHITABLE with line type as ZDFKKCOHI.
Step3. In my function module I have a changing parameter ZDFKKCOHIPARAM of type ZDFKKCOHITABLE.
Step 4. When I use the following select clause I am getting a dump.
DATA: wa_zdfkkcohi LIKE LINE OF zdfkkcohiparam.
SELECT *
FROM dfkkcohi
INTO CORRESPONDING FIELDS OF TABLE zdfkkcohiparam
WHERE cotyp EQ zcotyp
AND gpart EQ zgpart
AND corr_status EQ zcorr_status.
LOOP AT zdfkkcohiparam INTO wa_zdfkkcohi.
*Move IT_ZDFKKCOHI to ZDFKKCOHIOUT.
*Append ZDFKKCOHIOUT.
*Clear IT_ZDFKKCOHI.
ENDLOOP.
What could be wrong?
Thanks for all your help in advance.
Regards,
Divya
Maybe you are looking for
-
Can't find the file "Agesa Configure Sweep Coupling.VI"
As I attempt to open a recently moved program... I get the following error "Find the VI named Agesa Configure Sweep Coupling.VI". It seems to give the same message anytime it accesses the agesa directory. Where can I find this directory, and where s
-
Problems whit Time Machine in OSX 10.8.2.
Hello, i have randomly problems whit Time Machine in OSX 10.8.2. The drive is then read only. After a disconnect and a new connect the problem is solved. Peter
-
I need to load v3.6 onmy Asus tablet to support a program that won't run with newest version
i just purchased a Asus Transformer tablet. I need to use an online application, Angel, to participate in my college course. The college indicated that your latest version of Mozillia has compatibility issues with Angel. They have instructed us to us
-
I recently purchased an HP Deskjet 3052A (using drivers via CD for Deskjet 3050A J611 Series from HP in package) for home printing. It's been working great with the home Vista-based PC and my Win7 Laptop, but I'm having an issue with my wife's MacBo
-
Hi We have few order types in SD. These order types in certain circumstances posts to customers and in few, they post to GL accounts ( when cash pricing procedure is attracted ) Now while entering order, user dont know if it will post to customer or