Some Data Missing in the inbound Idoc received from Gentran
Hi,
We are receing one custom message type with the basic type ORDER05 in SAP from Gentran. When we checked the destination file generated in Gentran, its showing data for all the segments. However in SAP when we checked the corresponding idoc we find the segment E1EDP05 is missing. The Gentran team says they are placing the destination file in the unix server of SAP. However we dont find these files in the SAP Unix server. Could anybody advise what could be the problem and where we need to check further ?
Gentran will never be able to create an IDOC within SAP. Here is what happens:
> Gentran creates a flatfile/XML which is in the IDOC format (the one which you can see in WE60).
> Gentran then places this flat file/XML in a folder on Application server. This can be UNIX, Windows NT, etc..
> Gentran then triggers the Startrfc.exe which will trigger EDI_DATA_INCOMING function module.
> This FM will parse the data, check it for consistency of the defined standards, then write the control record into EDIDC and corresponding data records into EDID4 and updates the relevant statuses (i.e. 01 - added, etc). It'll then look into the partner profile setup, look for process code and moves the status to 64 and calls the inbound FM which will post the application document.
In you case, you need to find out what file is coming in and where E1EDP05 has missed. The data will only be sent by Gentran. The inbound function modules will never update IDOC data records (unless there is a customization). The status records are updated.
If E1EDP05 is not mapped and sent by Gentran and you still used to see it, then there should have been a customization in place to add values to IDOC segment fields. Try to get the final file that is mapped from either X12/EDIFACT and then see if E1EDP05 segment is present in there. If it is present then upload the same file into AL11 using CG3Z and call EDI_DATA_INCOMING or WE19 to process it. Once processed, you'll can observe if E1EDP05 is being created or not.
Similar Messages
-
Creating Delivery based on the Inbound IDOC received.
Hi all,
I have a requirement where in, Outbound Delivery for Sales order is to be created based on the inbound IDOC received from a third party. The standard idoc type DELIVERY03, requires the Delivery Number for updating the order but it cannot create a delivery number.
Can any one suggest which IDOC type can be used for this or if there is any alternative solution?Hi,
You can use FM IDOC_INBOUND_WRITE_TO_DB to create an inbound IDoc.
CALL FUNCTION 'IDOC_INBOUND_WRITE_TO_DB'
EXPORTING
PI_STATUS_MESSAGE = I_EDIDS
IMPORTING
PE_IDOC_NUMBER = DOCNUM
PE_STATE_OF_PROCESSING = STPROC
PE_INBOUND_PROCESS_DATA = I_TEDE2
TABLES
T_DATA_RECORDS = I_EDIDD
CHANGING
PC_CONTROL_RECORD = I_EDIDC
EXCEPTIONS
IDOC_NOT_SAVED = 1
OTHERS = 2.
Check the following link:
http://www.sapbrain.com/TUTORIALS/TECHNICAL/IDOC_tutorial.html
<b>Reward points</b>
Regards -
Segment E1IDBW1 is missing for the inbound idoc type PAYEXT
Hello,
the above segment is missing in the inbound idoc - basic type pexr2002.
I have checked in TC-we30 and its available there.
but still the idoc is getting generated without this segment.
can someone suggest.
thanks
ArunHi All,
I have a similar query to that of Penny. We are able to get the standard IDOC to generate with segment E1IDBW1. It contains the standard fields INPWEEMP, INPWTXT1, INPWTXT2. However, we have a requirement to manipulate the standard contents of these fields. We wanted to use user exit EXIT_SAPLIEDP_002 to do this.
I have maintained user exit EXIT_SAPLIEDP_002 but when we enter this on creation of the IDOC the segment E1IDBW1 does not seem to be available in table EDIDD_TABLE for manipulation. Can you advise please if (1) you were able to get E1IDBW1 available to edit in exit EXIT_SAPLIEDP_002 and (2) were you able to manipulate the contents of INPWTXT1, INPWTXT2 etc?
We have done the following steps:
- BTE 2441 is available on our release
- house bank has been setup as an In House Cash Center which allows E1IDBW1 to be generated
- entry has been maintained in table FEDICUS with Message Type = PAYEXT, BasicType = PEXR2002, Extension = Blank, Seg Type = E1IDBW1
- code maintained in ZXF08U04
The system enters ZXF08U04 but E1IDBW1 is not available there for manipulation.
Can you advise what we might be missing please?
Thanks and regards
Mike -
RCVPOR is missing the Inbound IDoc
Hi all,
I am getting IDoc from the XI with the status code 56.
I found that receipt port is missing in the control record.
If I use sender partner type as LS, it is working fine. When I use the sender partner type as KU IDocs are not getting posted successfully, the port for the recipient information in the control record of the inbound IDoc is empty and all other filled are filled.
Any suggestions please
Thank you
Regards
HarshaDear Harsha,
can you explain how you solved the issue - I am experiencing exactly the same problem. I am receiving the same Message type from several other systems (not LI, but LS), and we are receiving other message types for the same partner. -> in all other cases the RCVPOR is filled correctly.
We are using webMethods and not XI, the RCVPOR is sent correctly by the middleware.
brg Karl -
Hi Experts,
I have a requirement to get the Inbound IDOC for particular PO. I have used the following method:
http://forums.sdn.sap.com/thread.jspa?threadID=1082790
That means using tables:
A) SRRELROLES
B) IDOCREL
This is working for most of the cases except if the inbound IDOC is amended by the sender ( ex:- requested quantity changed ).
1. If inbound IDOC received without any changes, it will be there in SRRELROLES as roletype = 'INBELEG'.
2. If inbound IDOC received with changes it is not there in SRRELROLES.
Could you please help me to resolve this issue?
Thanks,
ChamindaHi,
Thanks for your help.
anyway, finally i had to use the time consuming way as there is no any other way.
1. Get all the ORDRSP Idocs from EDIDC based on the selected date range
select docnum status
into table lt_edidc
from edidc
where credat in p_date1 and
mestyp = 'ORDRSP'.
if sy-subrc eq 0.
sort lt_edidc.
2. Get all segment data records for the control records
select mandt docnum counter segnum segnam psgnum hlevel dtint2 sdata
from edid4
into table lt_edid4
for all entries in lt_edidc
where docnum = lt_edidc-docnum and
segnam = 'E1EDK02'.
3. to imporve the performance, i have used BINARY SEARCH when search back the IDOC from PO.
Thanks,
Chaminda
Edited by: chamindakrat on Feb 17, 2012 12:07 AM -
Error " Data missing for the entry check while creating a new waste code
Hi all, While setting a new Waste code I get the error " Data missing for the entry check, correction:". while filling the NAM- WASTECOCAT - LER item.
This sould look for the catalog's name included in the phrase set but for some reason it doesn't find it giving me this error.
I am changing original Characteristics, phrase set, classes, and value assignment type. Just to have my own estructure with Znames for all of them.
I have also change the enviroment parameter "WAM_PHRSET_WACATLG" with the name of my phrase set.
I have checked everything several times watching for typos or looking for a missing step.
I have even tried including my new Z's characteristics in the classe and living the original SAP_EHS_1024_001_WASTE_CATALOG. (changing the enviroment parameter WAM_PHRSET_WACATLG to SAP_EHS_1024_001_WASTE_CATALOG) and it works.
I will like to change this characteristic by Z_EHS_WA_WASTE_CATALOG
Phrase set to Z_EHS_WA_WASTE_CATALOG.
enviroment parameter WAM_PHRSET_WACATLG= Z_EHS_WA_WASTE_CATALOG
After matching up the master data It should work fine but I might be missing something to get it running ok.
¿Any idea?
Regards,
AlvaroHello Juan Carlos, the value and class that I want to duplicate and doesn't work is for Waste Code, I have also duplicated the one you have displayed (waste pproperties) without any problem.
1.I have duplicated and changed class SAP_EHS_1024_001. to Z_EHS_WA
2. Create a copy of the 5 characteristics included in this class.
SAP_EHS_1024_001_WASTE_CATALOG
SAP_EHS_1024_001_WASTE_CODE
SAP_EHS_1024_001_WA_SUBCATEG
SAP_EHS_1024_001_WA_CATEGORY
SAP_EHS_1024_001_REMARK
change the name by
Z_EHS_WA_WASTE_CATALOG
Z_EHS_WA_WASTE_CODE
Z_EHS_WA_SUBCATEG
Z_EHS_WA_CATEGORY
Z_EHS_WA_REMARK.
I checked the funcion C14K_WASTECATLG_CHECK is in the value of the Z_EHS_WA_WASTE_CODE characteristic
I checked the funcion C14K_WASTECODE_CHECK is in the value of the Z_EHS_WA_WASTE_CATALOG characteristic
3. Create phrase sets for each new category. with same name.
4. Match up the master data.
5. Change the enviroment parameter.to Z_EHS_WA_WASTE_CATALOG
I think I have followed all the steps, but for some reason it doesn't find the catalog
The phrase for the catalog is EWC in english and LER in spanish.
Regards
Alvaro. -
How to get the inbound idoc for the newly created inbound Idoc FM
Hi,
I have created a new function module to process the Inbound idoc. I need to have a idoc to check my function module, whether it is working fine or not. How I can get the data. Do I need to have the idoc from the partner ? Please help me ASAP.
Thanks,
sreenivas.Hi Sreenivas,
Go to WE19 and get any of the your present idoc with the idoc type
then go to BD20...execute the same idoc...and there you can create the IDoc, and process the same with the Inbound function module tab..( give the FM you are using as the process code.)
from there you can do the debugging aswell of that FM
Thanks -
Delay in the Inbound Idoc Posting Process
Dear Friends,
We have an scenario in the Inbound Idoc Posting Process, when we process the Idocs through the standard Inbound Program - RBDAPP01, we face the delay of 3hrs to 12 hrs, approx.
When we try to re-process the same through the manual process, we could successfully post the Idocs, immediately.
When the same happens, through the background job - the delay is happening.
As we see, there is no problem with the program - RBDAPP01, but can't able to trace the delay in the process.
Any suggestions / advises are welcome.
Thanks in advance.Hi Prasanna,
The update will happen only if a value already exists with the same unit of measure in the system. If the quantity is left blank in the system and if you are trying to update, the update might not happen. Even if the value is Zero in the system, provide the same unit of measure as the data used in the BAPI.
Regards,
Yogesh -
How to write processing code for the Inbound IDOC to the R/3 ??
i m having a file -> XI-->R/3 scenario,
IDOC is being sent from XI to R/3,
can u guide to me to write a processing code for the Inbound IDOC to the R/3,
since i m new to ABAP and ALE technology, can we provide me any blog for doing that.......or guide me....Hi Sudeep
Simple File to Idoc scenarion blog
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
Also see the blog
<a href="/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi Steps for Posting IDOC's</a> by Ravikumar.
Configuration of IDOC adapter
http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/frameset.htm
Regards
Santhosh
*Reward points if useful* -
Where to put break point when debugging the inbound IDOC processing
Hi, Dear Experts,
If IDOC has error and want to debug, which program or function module to put break point when debugging the inbound IDOC processing
Thank you so much!
HelenIt depends on if you have the custom FM or standard FM...Is it MM invoice or FI invoice? ... You can find out your FM by going to partner profile (WE20) for your sender partner and partner function.. Drill down to your partner and the message type and find the inbound process code.. Double clicking on the process code will help you find the FM...
If you don't have access to WE20, You can also put BP into any of the IDOC_INPUT_INVOIC* FM and see if it is getting triggered (assuming your IDOC is standard FM)... -
Can We Add Some More Fileds To the Imported IDOC ??
Hi All,
Can We Add Some More Fileds To the Imported IDOC ??
If I Imported IDOC to IR. But I Want to Add Some More Fields To IDOC.
Then Can I Go For this Process ??? Is This is Correct ???
Please Correct Me If Iam Going Wrong
1) Open the Imported IDOC in IR
2) Export it as XSD File in to your Local Machine
3) Add Necessary Fields & Save it
4) Come to IR And Import it into external definition
Is this is the Correct way of Doing ???
If Not What is the Problem in Doing This ??
Regards
VamsiHello Vamsi,
That is NOT the correct way to play around with IDOCs.
the correct way is to create an enhancement to an exiting IDOC (this is done on the SAP R/3 side) after you craeted an enhancment you reimport the IDOC in XI from the R/3 and then you have a new structure with the new fields you need.
worst case scenario you can define a new IDOC type just with the fields you need.
you can check out the SAP library at http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
on how to do that.
Have a good one,
Uri Lifshitz. -
What are all the fields covered in the Raw file received from the Card Co
Hi Experts,
I want to know what are all the fields covered in the Raw file received from the credit card company say AMEX before uploading the data into ASP system i.e. CCD format file to be uploaded in T-Code PRCC
Some of the fields I know:
1. Name of the Employee
2. Company ID
3. Credit card number
4. Currency
5. Amount
6. Exchange rate
7. Date of Transaction
8. Description
9. Document no.
10. Expense type
11. Expenses paid by company
Waiting for a positive response from your side
Regards,Hi
The below mention is the possible values/records will be received from Banks regarding credit card expenses
ORGANIZATION / HIERARCHY HEADER RECORD
FIELD NAME
RECORD TYPE
TYPE INDICATOR
COMPANY NAME
COMPANY ID
SUB COMPANY ID
EFFECTIVE / FILE DATE
CCF VERSION
COMPANY NUMBER
TRANSACTION POSTING DATE START
TRANSACTION POSTING DATE END
FILLER
TRX CONTROL DATA
ORGANIZATION / HIERARCHY DETAIL RECORD
FIELD NAME
RECORD TYPE
TYPE INDICATOR
COMPANY ID
SUB COMPANY ID
CORP PARENT NODE
CORP CHILD NODE
PAST DUE BUCKETS RECORD
FIELD NAME
RECORD TYPE
TYPE INDICATOR
COMPANY ID
SUB COMPANY ID
STATEMENT DATE
AMOUNT PAST DUE
30 DAYS PAST DUE
60 DAYS PAST DUE
90 DAYS PAST DUE
120 DAYS PAST DUE
150 DAYS PAST DUE
180 DAYS PAST DUE
180 PLUS DAYS PAST DUE
PREVIOUS BALANCE
FILLER
TRX CONTROL DATA
CARDHOLDER HIERARCHY RECORD
FIELD NAME
RECORD TYPE
TYPE INDICATOR
COMPANY ID
SUB COMPANY ID
NODE ID
ACCOUNT NUMBER
FILLER
TRX CONTROL DATA
ACCOUNT HEADER RECORD 1
FIELD NAME
RECORD TYPE
TYPE INDICATOR
COMPANY ID
SUB COMPANY ID
PROCESSOR
ACCOUNT NUMBER
ACCOUNT TYPE
LAST NAME
CARDH FIRST NAME
CARDH MIDDLE NAME
ADDRESS LINE1
ADDRESS LINE2
ADDRESS LINE3
ADDRESS LINE4
ADDRESS LINE5
CITY
STATE / COUNTY/ PROVINCE
POSTAL CODE
COUNTRY
NATIONAL ID
TELEPHONE NUMBER
WORK PHONE NUM
ID VERIFICATION CODE
DATE OF BIRTH
CYCLE CODE
FAX NUMBER
E MAIL ADDRESS
EMPLOYEE ID
CLIENT ID / CUSTOMER NUMBER
CUSTOMER VAT NUMBER
TITLE
STMT DATE
GENDER
FILLER
TRX CONTROL DATA
MAIN TRANSACTION RECORD
FIELD NAME
RECORD TYPE
TYPE INDICATOR
COMPANY ID
SUB COMPANY ID
CBS TR RUN DATE
ACCOUNT NUMBER
TRANS DATE
TRANS TIME
POST DATE
FILLER
AUTH REQUIRED
AUTH ID
CONVERS DATE
POS ENTRY
POS COND CODE
ACQUIRER ID
REFERENCE NUM
TRACE NUMBER
FILLER
TRANS ID
MCC
MCC INFO DATA
MERCH ACCEPTOR ID
MERCH DESCRIPTION
MERCHANT CITY
MERCHANT STATE / PROVINCE
MERCHANT POSTAL CODE
MERCH COUNTRY
MERCHANT VAT NUMBER
MERCH DESC FLAG
MERCHANT REFERENCE NUMBER
SOURCE CURRENCY
SOURCE AMOUNT
BILLING CURRENCY
BILLING AMOUNT
SETTLEM CURRENCY
SETTLEM AMOUNT
US DOLLAR CURR
US DOLLAR AMT
GB POUND CURR
GB POUND AMT
EURO CURRENCY
EURO AMOUNT
ASIA YEN CURR
ASIA YEN AMT
SWED KRON CURR
SWED KRON AMT
CANADIAN CURR
CANADIAN AMT
CONVERSION RATE
DB CR FLAG
MEMO FLAG
CORP ACCT NO
SALES TAX
SALES TAX FLAG
VAT TAX
VAT TAX FLAG
PURCHASE ID
PURCH ID FLAG
TRAN TYPE
NO OF ADDENDUMS
VISA_MCI TRAN CODE
ADDENDUM KEY
TICKET NUMBER
MSG TYPE
FILLER
VAT EVIDENCE FLAG
CUSTOMER REFERENCE NUMBER
DISCOUNT AMOUNT
MESSAGE ID
SUMMARY COMMODITY CODE
CUSTOMER VAT NUMBER
FILLER
TRX CONTROL DATA
The above mentioned is Just 50% of data will be received form the banks. Still footer details have to added.
Thanks,
Nandagopal C
Edited by: Nandagopal Chiranjeevi on Feb 6, 2009 5:40 AM -
Stop Inbound IDOC's from being created
I want to stop inbound IDOC's for a particular partner (type LS) from being created in our R/3 system. Is there a way to do this? I am aware these can be stopped in the middleware, but this is not possible in our case. I am also aware that I can stop these IDOC's from being processed via the partner profile, however, there will be a huge number of useless IDOC's that will be created in our system and I want to avoid that.
Hence, I do not want the inbound IDOC's to be created in the first place even though they are transmitted to SAP. Is this possible?
Any inputs will be highly appreciated.
Thanks,
Raghu.Hi Satwik,
Choose Idoc in WE02.
Get port name, Then in WE21 get RFC name.
Go to transaction SMQS - Here we can block this RFC instead of blocking the queue.
Thanks,
Anil -
SAP Trans.Code-To view the all expenses received from the company.
Is there any SAP transaction code,to view the all expenses received from the company?For an example,I have received conveyance,medical,LTA etc.on vouchers.Now,I want to see the received on which date I have taken.
RegardsI guess this information you will get in following reports ( put appropriate cost center )
Transaction Codes KSB1, KSB2, KSBP, KSB5
Also check Accounting-> controllong-> Cost center accounting-> Info system-> Reports for cost center accounting-> line items/more reports. -
While loading master data into PSA, the eorror is 'Error from PSA"
Hi All,
While loading master data into PSA, the eorror is 'Error from PSA"
Could you anybody please help in this reagard.
Thanx,
Sridhar.Hi rakesh,
May be IDOCs not processed completely,
Idoc Problem, Either wait till time out & process Idoc from detail monitor screen, or go to BD87 & process Idoc with status = YELLOW ( be careful while processing IDOCS from BD87, choose only relevant Idocs
Cheers
Raj
Maybe you are looking for
-
Error: Could not resolve s:states to a component implementation.
So I am trying to setup states on a Flex application I'm building, but it doesn't seem to want to compile. I get this error: $ ./build.sh Loading configuration file /Applications/Adobe Flash Builder 4/sdks/4.1.0/frameworks/flex-config.xml uploader.mx
-
PSE 13 "Import Keyword Tags From File" Fails
Whenever I try to do the above command, it fails. As shown in the attached figure it gets to 9%. Does anyone have any ideas on how to troubleshoot this error? Thanks in advance.
-
Stacked bar graph requirement in OBIEE 11g
Hi, I have stacked bar graph. I want to display units on the middle of each stack. I can display units, but by default these units are displayed on top of each stack. I checked properties of data markers, but I did not get any option to display data
-
I just wanted to point out an annoying problem that I just discovered. Sometimes I need to export stills from video for workbooks, etc. I only just realized that if I export (using QT conversion, still image) two stills from the same clip, and if I u
-
I have created an temp.xml file from a couple other source xml's. I am using this temp.xml and an xslt I created to output text in a csv format. Unfortunately I am seeing the data in the text file incorrectly and I am not sure why. I see somethign li