Validation before posting an idoc
Hello Friends,
I need to post an Orders Idoc into SAP System via XI, but before I post an idoc into R/3 is there any ways to validate some of the fields like customer number,etc.
Please let me how to validate this in XI.
Thanks in advance
Regards,
James
Hi,
U have to use the lookup.
1) pass the customer no to R3 system as input to function module.
2) IN function module check whether that customer no present or not?
3) Based on that u send a result back to Xi and go ahead.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70d90a91-3cf4-2a10-d189-bfd37d9c3231
chirag
Similar Messages
-
ASN user exit, before posting DESADV IDOC.
Hi
I have a requirement to compare the sales order quantity and delivery quantity before posting the outbound DESADV IDOC to the external system. Can anyone tell me which use exit to be used.
If there is no exit, can anyone please tell me the alternative way to achieve the same functionality.
Regards
RinkuIf you use NW 7.0, you may use an implicit enhancement option at the end of the FM, to set status 68 (it's an export parameter)
Otherwise, create your own FM which calls idoc_input_delvry, and set status 68 in your FM. You must customize transaction WE57 to call your FM instead of idoc_input_delvry. -
Error while posting Invoice IDOC (The difference is too large for clearing)
Hi All,
While posting Invoice IDOC to Remittance Advice IDOC get fails with status 51 & message ' The difference is too large for clearing'.
Please suggest any solution or reason to fail IDOC.
Thanks & Regards,
Ajay
Moderator message: please search for information and try to find out yourself before asking, this will be a functional problem anyway that should be asked in the appropriate forum, e.g. ERP Financials.
locked by: Thomas Zloch on Aug 20, 2010 1:59 PMPls check the tolerance amounts limits:
SPRO--- F/A --AR/AP -
Business transactions -Open item clearing--- Clearing differance---- Define / Assign tolerance groups for emp -
Where you need to change the limits of max amounts with the %
Let me know for any info.
Regards
Suresh -
Error while trying to post inbound idoc of message type COND_A
Hi,
I am getting error while trying to post inbound idoc of message type COND_A.
If I left Usage & Condition field of segment E1KOMG then 'Table not available' idoc message is coming
and if providing value in above fields then dump is coming.
How to solve ?
Plz do reply
Thanks
MohitI do not see any reason why you would need to use COND_A04 if COND_A01 is working.
What if you could get COND_A04 to post and you would face the same result as in COND_A01?
If SAP does not check wrong values, then you have to do it yourself, or you report an incident at SAP (after you have searched for OSS notes that may have fixed this error already)
For example OSS Note 1169998 - IDoc: KONP-LIFNR values not checked
fixed a situation where the vendor number was not validated. -
Please read "The Forum Rules of Engagement" before posting! HOT NEWS!!
Welcome to the SDN ABAP Development Forums!
Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting to avoid potential problems (e.g. your posts are deleted).
The [ABAP Development Forums|https://forums.sdn.sap.com/category.jspa?categoryID=42] have dedicated forums for the following ABAP related areas:
=> General questions about the ABAP language and language implementations. If in doubt, use this forum and do not cross-post.
=> Tables, views, structures, data elements, domains, search helps and types in the underlying relational database.
=> SAPscript and Smartforms form generation, editing and printing and the corresponding programs.
=> Classical Dynpro, Screen Painter and Controls Framework (ALV grid, Table Controls).
=> Enhancing ABAP code through techniques as CMOD, SMOD and the newer BADIs, Switch and Enhancement Frameworks.
=> Code quality, ABAP Unit, Testing, Debugging, efficient code techniques and database reads, SQL trace tools and Runtime Analysis.
=> Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
=> ABAP Object definition and implementation including encapsulation, interfaces and inheritance in ABAP Objects.
Please...
- Use the correct or most appropriate forum,
- Do not cross-post or multiple-post, and
- Search for information before asking basic questions, again.
Using these categories will enhance performance in the forums and improve the chances that your questions are answered quickly and more accurately!
Other relevant blogs and rule related infos are:
- Michael Schwandt's blog about [Moving to strict rules to improve quality and control|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/10047].
- Michael Schwandt's blog about [Quality: Invitation To Clean Up Your Forum Threads|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/11978].
- Please follow-up on your threads and assign points correctly, as this also contributes to the [UN Food Program|https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7898].
Enjoy the forums and happy posting!!Start of related discussions about the above rules. Feel free to discuss the rules here...
Dear Jan
Sometime i found very difficuties and time taking process in putting questions in forum bcos i have to elaborate the whole pictorial process in words.
Why Cant we make our this forum more Interactive in way of asking questions by allowing us to attach print preview of what we face in the system.
If you kindly give a glance on this issue and try to implement it for us, forum members like us will be benefited and it will be beneficial for those who are all into in this forum.
Thanks & Regards
Saifur Rahaman -
Can we apply custom validation before uploading data in WebADI in 12.1.3
Hi,
I have requirement of applying custom validation before uploading data from spreadsheet using webADI. How can we do that.
Is there any way in desktop Integration Manager Responsibilty in WebADI.
I have just started exploring webADI
Please Help Me...
Thanks,
SuhaniWhy are you posting this in OAF?
Anyway you can by creating a custom PL/SQL wrapper that is called by the WebADI.
Raise an application ERROR in your wrapper and it will show in the WebADI
If you just want to validated VALUES, you are better of creating an LOV on the Column. Then WebADI will do the validation work for you.
Jeroen -
Validation before Digital Signature
Hello everybody,
I created a form in Lifecycle ES working like a charm.
Now i have added a JavaScript for validating the entries in the Form.
My idea is to launch the validation before the user enters the signature. When the signature is added the validation must have been passed successfully.
I have begun with adding an event_enter JS to activate the validation.
The Problem is that the signature dialogue box opens anyway. How can I get rid of this dialog box?
Thank you for your kind help
Best regards
Ch. Du ChampsPlease post in the LiveCycle Designer ES forum.
-
Posting an Idoc with Multiple Headers and Multiple Lines
Hi all,
I have a scenario like this fileXIIdoc
Invoice file comes in text file with multiple header and multiple lines like this
111 aaa 13214234 US (header)
09082010 ABC 9999 A (Line)
222 ccc 43454543 US (header)
09082010 XYZ 7777 B (Line)
09082010 PQR 8888 C (Line)
I need to post single Idoc with all the headers and lines
we are planning to use Custom Idoc,Is this possible by having the header segment as unbounded??
Regards
Edited by: Vamsi Krishna on Sep 8, 2010 8:05 PMhi,
lets go again.
you have to edit the custom IDoc and change the ocurrance on the header segment. also modify the details segment adding an addtional field that identify which header that this detail belong.
for this case you cannot change the occurrance in SAP PI because you wont identify what i have told you before. in PI apply to change the occurrance if you could send ONE Idoc Per Header.
now is better clear???
Let us know.
Thanks
Rodrigo P-. -
Object (MARA) not found error while posting CLFMAS Idocs
Good day,
We are migrating the class hierarchy using Transaction CLHI (mesg. type - CLFMAS) from one SAP system to another.
When we try to post CLFMAS Idocs in the receiving system, we are encountering this error-
Object < > from table MARA has not yet been created. For this reason, no class allocations can be maintained for this object.
On further research, we found that this class (say parent class), has a subordinate class assigned to it that gets sent in the Idoc. The child class is not present in the receiving side, hence the error.
Now when we try to ALE the child class first (before the parent), the same idoc as above scenario gets created with the same error that the child class is not present.
These are our field values in the Idoc-
Segment E1OCLFM MSGFN 004
OBTAB MARA
OBJEK Child (or subordinate class) class
KLART 001
MAFID K
Object_table MARA
Segment E1KSSKM MSGFN 004
CLASS Parent class
DATUV 00000000
STATU 1
There is one other issue that we are missing is that we are trying to migrate the material
classes/ hierarchies. We are not yet mapping the material # to it. Why is it that the object table name is MARA.
Please advise. TIA!!
LizHi!
Any ideas anyone?
TIA, Liz -
Validating file, b4 creating idoc
Hi,
Is it possible to validate file b4 creating idoc in DB?
we are getting it from FILE port for example...
plz suggest..thanks in advance...Hi,
After getting the data from the file port,
You have to send these data into the particular structure of EDIDD,
According to your segments in the idoc.
so while passing the data you cna do the validations before calling the final FM MASTER_IDOC_DISTRIBUTE, for creating the idocs.
Please let me know if you need further info.
Regards,
Sasi -
Error while posting the IDoc for Customer Invoice.
hi,
I m posting Customer Invoice through LSMW using IDocs.
Basic type is FIDCCP02 and message is FIDCC2.
While posting the Idoc I m getting error as:
'Document or line item does not exist for invoice reference'.
I m not getting the error why it is asking for invoice reference because
in FB01 it is not asking for any reference or anything.
Even in f-22 also it is not asking for the same.
In Idoc all the item level values are coming prorperly.
If anybody worked on such issues then please reply.
-Thanx.
-UmeshHi,
Where you able to resolve your issue, I would appreciate if you can share the solution.
Thanks -
Non-po invoice posting using IDOC into LIV module
Hi,
does anyone know if idoc interface is available for posting non-po invoice as an LIV invoice into MM module. what I found that I can post the idoc to FI module directly using message code - FI.
Thanks.Hi
I Got your name from this site.I would be very thankful if you can help me here.I am designing a EDI based invoice LIV.Is it possible to post some charges which are without PO reference but are coming in Vendor Invoices.Is it possible to post these kind of charges with EDI message INOIC01 or we have to post through FI posting.If possible through EDI in which segment of IDOC we will enter these charges with amt.Also is it possible to post credit memo also with EDI
Thanks
Sanjeev -
Error while posting the IDOC. Status message '56'
Hi,
I have a requirement where I will post an IDOC which inturn will split the original IDOC into child IDOCs based on the store value.
I am trying to post the IDOC in WE19. So, the Original IDOC is posted successfully with status '53'. Whereas, the child IDOCS finished with error. The status of the message is '56' and the error says 'EDI: Partner profile not available'. Could someone tell me what could be the reason for this..?
Actually, the IDOC was created by the Functional Consultant. So, should the partner profile creation also done by them or do we need to do anything to solve this problem.? Could someone answer me this question. Thanks in advance.
Best Regards,
Paddu.It looks like the control data for the child segment is not getting populated. you have to find the code which populated the control data and see if it is doing what it should.
-
Error while posting the Idoc 'Update error, transaction VA01'
Hi Gurus,
When an inbound Idoc for sales order is trying to post we are getting the error 'Update error, transaction VA01'.
Aslo following are the details of the error:
Update error, transaction VA01
Message no. 00377
Diagnosis
An error occurred in CALL TRANSACTION USING or CALL DIALOG USING
during a synchronous update.
The error was caused by the transaction VA01.
Update information
Return code: 009
Text : Error during insert table FPLTC (RC= 1, Key= )
Procedure
Pleas analyse your Batch-Input data.
You can also examine your posting data using the transaction SM13.
Can somebody let me know what would be the cause.
Also the we are trying to post the Idoc with a Id which is having maximum Authorization.Hi,
Where you able to resolve your issue, I would appreciate if you can share the solution.
Thanks -
Enhancement for MB01 - Need to check the document before post
Hi All,
I need to check a material document before posting in MB01 for a field "GR/GI Slip No" which we are using to enter "gate entry no".The issue now is as i'm using a table control screen to post GRs in bulk . i want to avoid duplicate GRs of a particular gate entry.during analysis i found that an exit/Badi at MB01 - end may serve my purpose well.
thanks and regards,
sachin soniHi,
You may try the EXIT:
MBCF0005 Material document item for goods receipt/issue slip
or BADIs:
MB_BAPI_GOODSMVT_CREATE
MB_BATCH_MASTER
MB_DOCUMENT_BADI
Regards,
Renjith Michael.
Maybe you are looking for
-
Please help , I have downloaded upgrade 11.03.. Now I have lost my movies and music files from my ipad and cannot reinstall them , try as I might. Having used itunes for years I cannot believe I cannot mkae this work and feel very let down by itunes
-
Oracle 7 - Maximum SQL statement length
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96536/ch44.htm#288033 Like above, maximum SQL Statement Length is clearly defined on the "Reference" document of Oracle 8, 9, and 10. But I could not find it for Oracle 7. Can someone help
-
ChaRM - Authorization Object to show documents in CRM_DNO_MONITOR
Hi folks, does anyone know which auth. object or other prerequisite is needed to show documents in transaction CRM_DNO_MONITOR? To our needs the SAP ChaRM default roles do not fit. So I am building roles from scratch (basically). Auth. trace via ST01
-
Lets say i have a component with the name "Accounts" in this component it has a view stack named "stkView". How do i reference the "stkView" in the main application?
-
WARNING: Payload cannot be installed due to dependent operation failure
Help - This message shows up when I try to instal disk 2 of elements 9 package - I am on a Mac