Fields in idoc
Hi ,
i have a requirement.....let me know if one field in the idoc do not have data will that field apper in the idoc as blank or the field itself will not reflect in the idoc.
Please confirm.
Thanks
but if we look at we02,we05 and we09 .........the field is not appering in the idoc.....any views on this.
Points wil be awareded to u.......
thanks
Similar Messages
-
Mandatory Fields for IDOC ORDERS01 for Pricing Condition EDI1 to trigger
Hi ,
I'm Testing an Inbound ORDRSP using we 19 for Pricing Conditions EDI1. What are the Mandatory Fields for IDOC ORDERS01
Thankshello,
I think it's better to execute VA01 to create a sales order; in that way you should have an idea of mandatory fields.
Thanks. -
Idoc- File scenario: Read a data field in IDOC and name the file with it
Hi All,
I am configuring an IDOC to File scenario.
I have a requirement where I need to read one of the IDOC data field and use that as the name of the File.
E.g: If the IDOC data field-1 = '123456', then I need to name the output file as '123456'.
Is it possible to do this. Appreciate your help on same.
Thanks
ShirinTry this code..
desired field from IDoc will be input parameter to UDF
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
conf.put(key,a); // a is input parameter
String ourSourceFileName = conf.get(key);
return ourSourceFileName;
Also, check Adapter specific message attributes in file adapter, check filename -
Missing fields in IDoc FIDCCP02
Hello Experts ,
I am using FIDCCP02 IDoc to create a customer invoice.My item level data contains a field XMWST (Calculate Tax) which i can not find anywhere in the IDoc.Even BSEG-ANFBN ,BSEG-ANFBU,BSEG-ANFBJ,BSEZ-EGMLD,BSEG-HZUON fields are not present in the IDoc.I am mapping the above fields using LSMW.Please let me know how to map the above also it would be helpful if these fields are named differently in the above IDoc.
Thanks and regards,
Vijay Simha CR
Moderator message : Duplicate post locked. Continue with the earlier post [Missing fields in IDoc FIDCCP02|Missing fields in IDoc FIDCCP02].
Edited by: Vinod Kumar on Aug 31, 2011 5:45 PMHello Shafiq,
Thanks for your comment. I think it's a good idea to deactivate option to send IDocs immediately and create an own job to trigger it regularly. It would be great if according user exits would be triggered also only when the IDoc job starts. Otherwise I would have to create a copy of RSNASTED and enhance it to fill according values. Depending on the outcome I'll reward your anwser. Nevertheless thank you very much until then.
Eddy -
How to handle empty field in idoc to file scenario
some field of IDoc is empty, there occurs error. like
<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /ns0:vendor_list/vendor[3]/company_code. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd atHi Shen,
You can do this in two ways :
1.If you are above XI3.0 SP14 then you can use the node function "mapWithDefault" in between the mapping. This will create the xml tag for the field on the target side even if you are not having those fields in the source side i.e., idoc.
2.At first check your field exists or not at runtime & based on that If exists then you map it to the target field else if you dont have then if the field is alphanumeric then map the same length spaces as constant in the target or if the target field is numeric then map with a constant having that many no. of zeros.
Ex:
If>Idocfield>Exists>then>Idocfield
>else>constant(may be with spaces or zeros)
Regards,
Vinod. -
Need to find 'Main Reference Object' field in idoc CRMXIF_ORDER_SAVE_M02
Hi experts,
pic link: http://img56.imageshack.us/my.php?image=screenhunter001fv3.jpg
I cant find "Main Ref. Object" field in Idoc CRMXIF_ORDER_SAVE_M02...
It is under Service Order created in tcode CRMD_ORDER...
Service Order -> Transaction Data -> Objects -> the most left column...
Does anybody know where that field is located or is there other way to load that field?
Thanks.Hi experts,
pic link: http://img56.imageshack.us/my.php?image=screenhunter001fv3.jpg
I cant find "Main Ref. Object" field in Idoc CRMXIF_ORDER_SAVE_M02...
It is under Service Order created in tcode CRMD_ORDER...
Service Order -> Transaction Data -> Objects -> the most left column...
Does anybody know where that field is located or is there other way to load that field?
Thanks. -
Concat 4 source fields in new line to a single field in IDoc segment-field?
HI,
My requirement is below: Need to concar 4 sources fields in a file and map them to a single target field (In IDoc) with each source field in new line.
Lets say if I have a source file with
f1, f2, f3, f4
I need to send to single target field as follow:
f1
f2
f3
f4
It is basically concat in newline. Can I use any delimiter string in std concat funtion or help me to provide sample code for UDF.
Regards,
N@vInSample UDF for your case.
public String concatStrings(String var1, String var2, String var3, String var4, Container container) throws StreamTransformationException{
String newLine = System.getProperty("line.separator");
//String newLine="\r\n";
String concatString =var1 + newLine + var2 + newLine + var3 + newLine +var4;
return concatString;
Note: Use System.getProperty that would take care for all Operating systems when deploy this code.
you might not able to test in test mapping tool
If you run in eclipse or nwds you will see output as follows
var1 value
var2 value
var3 value
var3 value
Hope this helps. Let me know further. -
Do we need to specify the mandatory fields in IDOC as 1:Unbound? if its not then how does IDOC differentiate from Mandatory filed to non mandatory field if there has to occur a mapping error incase some mandatory field is missing.
Hi,
There is no need to modify the structure of an IDOC since it is already a standard. The mandatory fields are the fields that are needed (minimum) to be mapped so that the IDOC would post successfully But as for business requirements, you have to consult that with vendors.
Hope this helps, -
Please tell me how to transferred the fields to IDOC.
HI all,
I have appended some new fields into the ztable structure (Ex: ZUNIT). These same fields will be transferred into the IDOC.
Can any body, please tell me how to transferred the fields to IDOC.
Thanks & Regards,HI,
See the following link.
http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/mysap4/mysap4149.htm -
Batch Number field in IDoc for Process Orders (message type LOIPRO01)
Hello PP experts,
Just wanted to ask if anyone of you have worked with message type LOIPRO01 (IDoc for process orders)
There is a segment-field in this IDoc E1RESBL-CHARG which has description of "Batch Number"
We tried to assign a Bath Number for an Order (using t-code COR2 --> "Goods Recpt" tab under "Receipt" section), generated an IDoc for this order, but upon checking the E1RESBL-CHARG field of the IDoc it is not populated with the Batch Number.
The material in the process order is FERT, so technically we're trying to assign a Batch Number in one of the process orders for a Finished Goods material type, so not on the component level.
Can anyone here verify:
1. is the E1RESBL-CHARG field of IDoc LOIPRO01 intended for the Product Batch Number? If Yes, how do we populate that for in the IDoc? --> Do I need to have a Reservation/Dependent Requirement for the Product for the Batch Number to be populated in the IDoc?
2. If E1RESBL-CHARG can not be populated for a Product that has no Reservation/Dependent Requirements, Do I have any option of populating this field with just the Batch Number assigned to the Process Order of that product?Solved - LOIPRO01 IDoc does not pick up the Batch Number from AFPO table, instead from table RESB. We need batch from AFPO and just created a lookup using the Process Order Number as import param
-
Unable to change the length of field in idoc segment
Dear all,
My requirement is to change the length of a field(Z field) in a segment (Z Segment). I tried the following but in vain
1)Tried to Cancel the release and then change the length of the domain. Unfortunately it is givin an error saying "Error while resetting release of segment ZC9DEMARA01".
I also tried cancelling hte release of extension and then cancelled the release of segment
2) Created a new version, but in new version the earlier fields are diabled. So I am unable to edit.
I have gone through some of the links available in SDN but I could not solve as I am unable to cancel the release in the first step.
[Idoc segment field length changes]
Could you please help me.
Thanks in advance!
regards,
AravindHello Aravind,
I Have created one Segment type with some fields, changed the field length also its working.
just try to cancel the release and change the length of the filed and do it set release again.
Try it .
Thanks,
santhosh -
Hi Experts,
We have one custom IDoc.In that we have a segment for AET generated fields.Now i added a new field using AET.I am trying to add this new field to the segment.So i am trying to cancel release status of segment using we31.But i am getting error Error while resetting release of segment ZXXXXX Message no. EA259 .I checked many of SDN threads but no where exact solution is mentioned for this.Current release for the message type is 701.so we are on same version now also.I put a break-point in LEDIJF05 in form CHANGE_CLOSE_SEGDEF.i observed it is failing at line 625 and
can not unclose segment: release of last version is not SAP-version.Can any body tell me what is the exact issue.
Thanks in advance,
VijayLijo,
check this pdf
http://www.ittestpapers.com/attachments/download/8/idocswithu_exits_ITtestpapers.com.pdf
Thanks
Bala Duvvuri -
Fields mapping IDOC WMMBXY to post Goods Receipt against Inbound Delivery
Hi Friends
I am testing Goods Reciept against Inbound Delivery using Inbound IDOC.
IDOC Type used WMMBXY and Function Module :
System is giving erorr message as "Document does not contain any items".
Kindly let me know segment data mapping for above IDOC type
Following data are passed to segments,
E1MBXYH-BLDAT Document date
E1MBXYH-BUDAT Posting date
E1MBXYH- XBLNR .. in this field i am passing Inbound Delivery number
E1MBXYH- TCODE ... MIGO
E1MBXYI-BEAKZ ... B Goods Receipt against Purchase Order
E1MBXYI-MATNR material number
E1MBXYI-WERKS Plant
E1MBXYI-BWART Movement Type
E1MBXYI-LIFNR Vendor code
E1MBXYI-KZBEW B
E1MBXYI-POSNR Item number in delivery
E1MBXYI-VBELN Inbound Delivery number
E1MBXYJ-VLIEF_AVIS Inbound Delivery number
E1MBXYJ-VBELP_AVIS Item number in Inbound Delivery
E1MBXYJ-WM_KZBEW Movement indicator
RajHello,
Did you recieve any answer or find a solution? I encounter a similar issue.
Thanks in advance,
Génia. -
Hi,
My requirement is The newly configured Text field to contain the NxTrend Po number needs to be available in EDI 850 IDoc for XI maps the value to the field.This text field is configured at Sales Order header level and named as end customer PO.This field should be available in the IDoc so that the value of end customeru2019s PO can be mapped there.
The changes are only required for NxTrend and do not need to be made for regular EDI customers. The message ID for NxTrend is NXT_ORDERS.
I am new to IDOCS.Can anyone tell me how to create the text field in the IDOC?Hi,
To add a field in the IDOC you need to go for EXTENSION OF IDOC.
Please check this link
http://www.****************/articles/ALE/IDOCExtension/IDOCExtension.htm
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7f4943d711d1893e0000e8323c4f/content.htm
Re: Extension of Idoc segment
IDOC extensions
Best regards,
raam -
Problem in mapping fields of idoc type orders05.
I am passing value from Idoc in segment E1EDK14.and according to it biiling block should be populated.I am writting this in an exit.
In the debuuger when I am running its showing the value.
But its not coming in the output.
I think the values of the fields are getting overwritten in some other fields of the exit which im not responsible for.
please suggest me how to detect where my fields are getting overwritten and give solutions to avoid this?Hi Matias
Thanks
This works and has saved my 60% efforts. I got this from Silvia as well.
I was looking forward for some standard sheet where i do not have to do rework or very less.
Thanks
Jagdish -
Change pointers not being generated in case of Z fields (extension IDOC)
Hello,
My requirement is of generating change pointers when fields from customer master change ( z fields).
Actually this is working for standard fields, but not for z fields .
I have created a Z segment and added fields 'ADRC-STR_SUPPL3' & 'ADR3-FAX_NUMBER' and have written appropriate code for populating them in 'ZXVSVU01' of exit 'EXIT_SAPLVV01_001' .
However, when I try to run change pointers transaction BD21, it says 0 idocs and 0 communication params generated.I have added those fields properly in BD52 (object class - ADDRESSE).
If you change standard fields along with Z fields, it works, but if you change only the Z fields , it doesn't trigger a change pointer.
Is there something extra that we need to do in case of object class 'ADRESSE' ?
Please help.
Thanks,
Rachna.Were you able to resolve the issue?
If yes, could you please share what was done to resolve it.
Your help will be greatly appreciated.
Maybe you are looking for
-
I gave my second IPAD to a friend. I also recently changed the email associated with my own account because I will be moving and will be unable to use that address much longer... now I am not yet sure I can update my own apps (will it ask for old ema
-
Switching from Tiger to Leopard or Snow Leopard
Hi- I have a desktop G5 iMAc running OS 4.10.11 and need to upgrade. What's the process and how much trouble am I going to get into doing this with my current software, mail programs, etc.? Thanks- DMitzelfeldt
-
Hi all, i am about to developpe a java application that has to do the following tasks: 1. detect all SQL server existing databases . 2. for every database (SQL server database) be able to connect to the chosen database and detect all the tables Regar
-
Start a BPEL process automatically all 30 seconds
Hello, I would to check all 30 seconds a database for changes. If that is possible with the DatabaseAdapter? And if so like this is done? Or if there are there still other possibilities. It should be also begun automatically all 30 seconds a BPEL pro
-
Universe is recamonded on cubes or query
Hi is SAP recamonded build universe based on OLAP cubes or queries (bex analyzer queries) if i connect cubes, can i get all functions in BO ( like functions in bex analyzer, variables...) please let me know