INVOIC01 IDOC giveing error.
Hi
I am trying to process INVOIC01 IDOC using standard SAP function module IDOC_INPUT_INVOIC_MRM. Always its giving error at a particular poing as given below.
IF f_subrc = 0 AND NOT i_rbkpv-zterm IS INITIAL
AND i_fix_payment_terms IS INITIAL
AND ( NOT i_rbkpv-zbd1t IS INITIAL
OR NOT i_rbkpv-zbd1p IS INITIAL
OR NOT i_rbkpv-zbd2t IS INITIAL
OR NOT i_rbkpv-zbd2p IS INITIAL
OR NOT i_rbkpv-zbd3t IS INITIAL ).
f_subrc = 4.
f_fieldname = 'RBKPV-ZBD1T'.
ENDIF.
The values are i_rbkpv-zterm = A500 , i_rbkpv-zbd1t = 30 and all other variables in the condition are initial. This 'IF' condition always fails.
Anybody have any idea why this happens ? Any solutions/ work arounds / suggestions ? Please.
Can anybody tell me what is this i_fix_payment_terms ?
ofcource..points will be rewarded for helping answers...
Regards,
Krishnakumar
Check the sy-subrc value before the IF statement in debug.
It should always 0 and i_fix_payment_terms (Internal table ) will not contain any value.
Hope it will fill after that....
Similar Messages
-
Invoic01 idoc posting error Lock error 1 &
All,
Has anyone seen this error before with Idoc processing? If so what causes it? The idoc status is 51 and the Status detail is
Code SAP
message # 999
message type E
ID ZZ
Any ideas on how I can determine this? We cannot replicate the issue so can't trace/debug.
Thanks
SandraThank you both - I thought it was due to customization but was hoping the code SAP meant it was due to SAP standard.
Anyway, I did what you both told me to do - got the same results. Unfortunately this ZZ seems to be used as a catch all type error message so there are hundreds of abaps that appear when I click on "where used". I know most of the customized objects so can search on those individually.
Thanks again,
Sandra -
Incoming idocs giving error for Serialization
Hi Friends
Am getting inbound idocs with this error : Serialization errror for object 01,S, 34343434,Expected counter 000001<
and error in details says,
The expected serialization counter has the value 000001. However, the serialization counter in the IDoc has the value 000002 and is therefore too big. There are therefore older IDocs with this HR object with the serialization counter values in between. These IDocs have either not yet been posted, or have been posted incorrectly.
what shd i do for this few exper said i need to do some thing for Serialization so automatically system shd take care for this,
Pls help me on this.
Regards
MeetaHello,
Refer to the SAP Note [65954|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=65954]. It might be of use for you.
Thanks and Regards,
Venkat Phani Prasad Konduri -
hi friends
i am adding two segments in Purchase orders ORDERS ---/ afs/orders05
i found the exit and implemented the logic, but when i triggered the idoc
i noticed that custom segment is coming after every segment
like e1edk01 ---
ze1edka1 --- (repeating)
e1edkb1 ---
ze1edka1 -
(repeating)
how to make changes in code so that it will come in right way (means it should not repeated)
thanks
AnilHello Anilkumar
I assume you want to add your custom segments just behind some standard segments.
Probably your logic looks like this:
DATA: ls_edidd TYPE edidd.
DATA: ld_idx TYPE i.
LOOP AT int_edidd INTO ls_edidd
WHERE ( segnam = '<name of standard segement>' ).
ld_idx = syst-tabix + 1.
" Add custom segment
ls_edidd-segnam = '<name of custom segment>'.
ls_edidd-sdata = ... .
INSERT ls_edidd INTO TABLE int_edidd INDEX ld_idx.
ENDLOOP.
If the default segment is repeated the custom segement will be repeated as well. Therefore, add a counter logic:
LOOP AT int_edidd TRANSPORTING NO FIELDS
WHERE ( segnam = '<name of custom segment>' ).
EXIT.
ENDLOOP.
CHECK ( syst-subrc NE 0 ).
" NOTE: if customer segment already found leave exit, ELSE...
DATA: ls_edidd TYPE edidd.
DATA: ld_idx TYPE i.
LOOP AT int_edidd INTO ls_edidd
WHERE ( segnam = '<name of standard segement>' ).
ld_idx = syst-tabix + 1.
Regards
Uwe -
Inbound Idoc in XI system giving error 56.
HI Experts,
using we19, i have successfully sent data from my r3 system. In the receiver XI system, it is showing error 56 in we02. Pls help.Where have I missed out data.
Secondly, in case of sending an Idoc with data using we19, we can confirm data has passed out successfuly from sender system, is there any way I can confirm data has passed/ failed to pass from an RFC to the receiver system, within the Sender system??
Arnab.hi Mondal,
First of all, If the Idoc has generated at R/3 side and u didnt receive at Xi means
1) Check in IDX5 at XI
2) Check in SM58 at R/3
3) Check in SMQ2 at XI
Thats it , these will give u some clues
generally error is indicated in sending system with numbers 51 and 56.
51 Application document not posted
56 IDoc with errors added
Refer
http://help.sap.com/saphelp_nw04/helpdata/en/c8/19878343b111d1896f0000e8322d00/frameset.htm
Thanks
Sushma -
HI,
When i am sending aggregated sales data to wpuums idoc, it is giving error ...Document 90000007 saved (error in account determination) (MATNR Unknown)
When i cheked with VF02, its say doucment does not exit.
Please provide some solutions.
Regards
Laxmi BhushanHi
Check the status of IDOC in WE02 or WE05 .From status records you can identify the exact issue.
If error is matnr is unknown then that means either material is not in correct format or not extended to correct sales area.
Regards
Mandar -
Error in Receiver - IDoc with errors added
Hi All,
I am getting error in 56 - IDoc with errors added in receiver System.
I am new in Idoc - please tell me How to resolve this issue..
Thanks in advance..Hi all thanks for reply .
All are the help full answer ,
I use T-code WE19 and change partner profile and execute now it is fine.
But i have checked all configuration regard partner profile from T-code WE20 it looking everything is fine but in Test tool for Idoc Processing by t-code WE19 i have checked it will taken wrong partner profile detail after giving correct manually now it is working fine. -
Hello Rescue Team,
I am facing the following error :\
16.06.2014 23:22:42.164
Error
Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDERS10>: state=READING_FIELD_VALUE_TAG, charPosition=526, lineNumber=1, columnNumber=527
16.06.2014 23:22:42.166
Error
MP: exception caught with cause com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDERS10>: state=READING_FIELD_VALUE_TAG, charPosition=526, lineNumber=1, columnNumber=527
16.06.2014 23:22:42.190
Error
Exception caught by adapter framework: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDERS10>: state=READING_FIELD_VALUE_TAG, charPosition=526, lineNumber=1, columnNumber=527
16.06.2014 23:22:42.190
Error
Transmitting the message to endpoint <local> using connection EDISeparator_http://sap.com/xi/XI/EDISeparator failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDERS10>: state=READING_FIELD_VALUE_TAG, charPosition=526, lineNumber=1, columnNumber=527
and the payload transferred is as attached in the attachment below.
I have refered various blogs, however I am still not able to understand how to get the exact location of the error location..According to me, the value that is giving trouble is OTH in <BSARK> however I have checked the permitted values for BSARK on ECC and OTH is maintained.
Can you please help how I can resolve this error.
Thanks
SaurabhHi Guys,
This is solved..I corrected the date format of the ZZTIME segment from 1157 to 115700.
Thanks
Saurabh -
Hi,
I am working on inboind INVOIC01 idoc and i am facing some problem in that.
When IDOC comes in it is creating application document ( Status 53 ). When i go and check in transaction MIR4 the application document (Invoice) is created. But the problem is, the Invoice is not being posted.
When i see the invoice document, there is not tax code and so the invoice does not show any amount. I do not know why it is happening.
Can anyone let me know what are the all required segments / fields for inbound invoice interface. What are the all configuration options required for it.
Thanks,Hi Srinivas,
Thanks for your reply.
I have already configured the tax code config and now invoices are created correctly.
But now i have one scenario which i am tying to figure out how to get it right.
Let say for example
<u>Example - 1</u>
- i have PO with 1 line iteam with Quantity = 1 and amount $100. ( we mostly have PO with quantity =1 and only thing matter is $ value )
- If the incoming invoice also have quantity = 1 and amount $100, it works fine.
- But the problem is, sometime vendor sends the partial invoice. that is, quantity = 1 but amount $ 50. There can be multiple invoice with same quantity as PO line item different amount at different time. In this case i am gettng "Account Determination" error ( message M8 147 ). Is there any way i can make this scenarion work. 80% of invoices comes like this. Please let me know
<u>Example - 2</u>
- i have PO with 1 line iteam with Quantity = 2 and amount $200.
- If the incoming invoice also have quantity = 1 and amount $100, it works fine. Also, if it has quant = 2 and amount $ 200 it works fine. In other workds the quantity / amount ratio in invoice matches that of PO, it works fine.
- But in few case we will get invoice with quantity = 1 ( PO as quant = 2) with amount 80 ( infact, any value other than 100. PO has $200, $100 / 1 each ) and in this case invoice is failing too.
Can you please let me know, is there any setting in Logistic Invoice Verification, to support these scenarios.
Thanks
Pratik -
Import & submit inbound Invoic01 idoc
Hi experts:
I´m actually trying to create invoices by using xml based invoic01 idocs.
The process i´ve implemented is:
Read incoming XML file with invoices´s data.
Create a invoic01 xml idoc file in sap application server.
Call EDI_DATA_INCOMING FM to create idocs and start invoice creation process.
The port type i´m using us xml file port, and in the outbound trigger, i put a RFC destination which triggers the startrfc program (I actually don´t know what do i have to put in the command file).
The problem I´ve found is that the idocs's process get stopped with status 64 (the system is not triggered), and it is necessary to use we19.
¿Does anyone call tell me (as detailed as possible) how must i setup the XML file port to trigger the system?
If the problem is not related with the port, ¿where is it?.
Thanks in advance for your response.
Useful answers will be rewarded.Hi Srinivas,
Thanks for your reply.
I have already configured the tax code config and now invoices are created correctly.
But now i have one scenario which i am tying to figure out how to get it right.
Let say for example
<u>Example - 1</u>
- i have PO with 1 line iteam with Quantity = 1 and amount $100. ( we mostly have PO with quantity =1 and only thing matter is $ value )
- If the incoming invoice also have quantity = 1 and amount $100, it works fine.
- But the problem is, sometime vendor sends the partial invoice. that is, quantity = 1 but amount $ 50. There can be multiple invoice with same quantity as PO line item different amount at different time. In this case i am gettng "Account Determination" error ( message M8 147 ). Is there any way i can make this scenarion work. 80% of invoices comes like this. Please let me know
<u>Example - 2</u>
- i have PO with 1 line iteam with Quantity = 2 and amount $200.
- If the incoming invoice also have quantity = 1 and amount $100, it works fine. Also, if it has quant = 2 and amount $ 200 it works fine. In other workds the quantity / amount ratio in invoice matches that of PO, it works fine.
- But in few case we will get invoice with quantity = 1 ( PO as quant = 2) with amount 80 ( infact, any value other than 100. PO has $200, $100 / 1 each ) and in this case invoice is failing too.
Can you please let me know, is there any setting in Logistic Invoice Verification, to support these scenarios.
Thanks
Pratik -
Idoc INVOIC - error Tax entry not possible in this item - Message no. FF724
Hello,
I have an idoc in error with the following error message.
In the idoc type INVOIC
Segment E1EDK04:
MWSKZ N1 VAT indicator
MSATZ 19.000 VAT rate
MWSBT 20.52 Value added tax amount
In OBCD
Partn.Type PartnerNo Tax type Tax rate Cty Tx
LI FNISL N1 19.000 V2
Input tax N6 is defined in the system with rate 19.000%
Direction 2 Inbox
Current status 51
Basic type INVOIC01
Extension
Message type INVOIC
Partner No. FNISL
Partn.Type LI
Tax entry not possible in this item
Message no. FF724
Diagnosis
You can not enter a tax amount in this item since, due to the posting amount entered and the tax code, a total tax amount of zero has been calculated.
This could either be due to the fact that the tax code has been defined with a value of 0%, or because the posting amount entered (that is, the tax base) is too small.
Example:
With a tax rate of 15%, a tax amount greater than zero will only be achieved with a base amount greater than 0.04. With values of 0.03 and less, it is therefore not possible to enter a tax amount.
Procedure
Only enter tax amounts in conjunction with tax codes for which a percentage rate not equal to zero has been defined. Make sure that in documents with several G/L account items you enter the total tax amount in an item with a sufficiently high posting amount.
do you have an idea to solve it?
Regards
ArnaudMessage no. FF724
Check note 681538
thanks
G. Lakshmipathi -
Hi
In my current project I am facing the below issue.
In client MDM team is creating the master data. The BOM master data also creating through MDM only. The function module used is CSAP_MAT_BOM_MAINTAIN. When user trying to update the two extra BOM line items getting an error " Error while saving the BOM."
In SLG1 transaction we observed that the IDOC is trying to change the header level data. After analyzing I got some conclusion that
while BOM creation header level material and all components are created with change number reference. When the user trying to update two extra line items with new change number system giving error msg as idoc trying to change header level data. As my knowledge with FM:CSAP_MAT_BOM_MAINTAIN no changes possible for header. I came to conclusion as header is updated with a change number while creation and when we changing second time with new change number, system not able to replace the old change number with new change number.
To correct this IDOC what steps i can perform? Is it possible to reprocess this IDOC by changing any field values like MSGFN.
Please suggest what solution we can provide to reprocess this IDOC.
Regards
KesavaHi Rupesh
Thanks for the replay.
Here the user created the BOM with the same FM:CSAP_MAT_BOM_MAINTAIN but he created with change number refernce. This change number is updated in header. Later he wants to add some extra components to this BOM with the same FM:CSAP_MAT_BOM_MAINTAIN and he entered new change number second time to do the change. Then system giving an error status for this IDOC.Then if we check in SLG1 the error message is we are trying to change header fields which is not possible " The BOM header can only be displayed, Your entries were ingored". How can we reprocess this IDOC.
Regards
Kesava -
COND_A idocs serializatioon error
Hi
We have inbound idoc to create condition records. It is giving error in the serialization check. When i debugged the code it is comparing time stamp check with BDSER table. if the current time stamp is less than BDSER table entry than it gives the error.
SAP recomends to run RBDSRCLR(BD23) program to clear BDSER table. IS it safe to run this program or it will have any impact.
or is there any solution
Thanks
PrajithRBDMIDOC will be used to trigger Idocs for change docuements created for change pointers.
create a batch job
step 1 in job- schedule the RBDMIDOC with variant for BLAORD message type
step 2 in job- schedule the RBDMIDOC with variant for COND_A message type
step 3 in job- schedule the RBDMIDOC with variant for INFREC message type
step 4 in job- schedule the RBDMIDOC with variant for COND_A message type
but i am not sure how you will seggregate COND_A change pointers for BLAORD and INFREC. -
Issues in IDoc Sender Scenario:IDoc with errors added
Hi all
Am working on an IDoc to JDBC scenario. In R/3 system, I have created distribution model, partner profile, RFC destination and port.The IDoc is generated and is sent to XI successfully. But in XI , there is no entry in SXI_MONITOR for this (unfortunately IDX5 is not available in the XI server! ;as of now). Instead an entry is made in WE05 and WE02 with stautus 56(IDoc with errors added). In the status record:
status 56 : External segment name E2KOMG003 cannot be interpreted
status 60 : Basic IDoc type COND_A03 could not be found.
And the segments displayed in data record are different from the segments in the data record of the IDoc generated at R/3. (say for E1KOMG at R/3, E2KOMG003 in XI).Earlier the flow was working fine and the DB table was updated successfully. And the entire stuff is believed to be 'unmodified' .
Would any one help in resolving the issue.
Thanks,
ChilankaHi,
>>>>I have created partenr profile in R/3.Need I create a partner profile in XI for R/3 system?
no you cannot create any partner profiles in XI
for more about IDOC configuration in XI check :
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Item Open Interface giving error for Org Assignment
We ran the MTL_SYSTEMS_ITEMS_INTERFACE & loaded all the items at master level.
We are having issues in setting at Org level. Cant figure out what the issue as only few records gets assigned & then garbage sets in for remaining records. An SR has been raised & the tech support representative was saying that UOM's are different at master & org levels. Never heard of this issue earlier. I have worked with UOM's different at Master/Org levels.
The UOM's are different at Master & Org Level and in some cases the UOM are different for different Orgs. Attribute Control for Primary/Sec UOM is at Org level. The UOM's belong to the same UOM Class. There are standard conversions defined for all these UOMs.
Any pointers for quick resolution ?Pl do not post duplicates - Item Open Interface giving error for Org Assignment
Maybe you are looking for
-
Smartform query most urgent....
Hello logic thinkers, the problem is that i need to import the internal table from print program into smartform... the structure of the internal table consists of different fields from different tables, but in smartform while defining the internal ta
-
Libdb_java46.dll already loaded in another classloader
I'm trying to use DB XML in a servlet with Tomcat 5.5. In the init() method, I open a container and in destroy(), I do the cleanup. The problem is that if I recompile my code and let Tomcat reload the webapp, I get the following error: "java.lang.Uns
-
Can someone please list the steps required for saving a Crystal report with one dynamic prompt to the Enterprise. It is working correctly in Designer, but can not be saved to Enterprise. Obviously from reading the online helps, I need to create a L
-
Gnormalize failed to start, HELP...[RESOLVED]
i got this error while start gnormalize any one know the problem? it happen after i performed a pacman -Syu Possible unintended interpolation of @segu in string at /usr/bin/gnormalize line 1086. Possible unintended interpolation of @segu in string at
-
Creative Suite 4 is now available
http://www.adobe.com/products/creativesuite/ Enjoy, Randy Edmunds Dreamweaver Development Adobe Systems, Inc.