Idoc to CIDX without PI
Hello,
I need for a project to create xml CIDX based on Invoice Idoc.
We are not using PI.
Could you help ?
Regards
JC
You can use the IF-IXML interface.
Search SCN or check: https://scn.sap.com/thread/822393
Similar Messages
-
Conversion of idoc into xml without XI
Hi everyone
i am working on EDI i want to know procedure to convert our idoc into XML without using XI. is it possible, if yes then plz reply me with procedure.
Thanks & Regards
VimarshHi Nicolai
Thanks for ur suggestion, i have one more doubt regarding this, i got this program to convert my records in XML but whatever output i m getting that comes in form of excell sheet, i am sending you that program which not working,
report zexternalfile .
tables : zzpublisher,
sscrfields.
data: it_publisher like standard table of zzpublisher,
wa_publisher like zzpublisher.
select * from zzpublisher into table it_publisher.
call function 'GUI_DOWNLOAD'
exporting
BIN_FILESIZE =
filename = 'C:\externalfiles\kamal.XLS'
FILETYPE = 'ASC'
APPEND = ' '
write_field_separator = 'X'
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = it_publisher
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
if sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
IF YOU HAVE ANY OTHER OPTION THEN PLEASE SEND ME, I WILL BE VERY THANKFUL FOR YOU.
PLEASE SEND ME WHOLE PROCEDURE IF YOU CAN.
THANKS & REGARDS
VIMARSH -
Dear All,
I just managed my configuration of PI for B2B (IDOC - CIDX).
I am using "Business System without party for SAP ERP IDOC" and "Communication component with Party for CIDX Adapter".
I managed to send the idoc to SAP PI. I can see the message is successful. I can't find it in CIDX computer.
I would like to know from the monitoring. Where can we see that SAP PI has tried to use the https to the third party?
Cause in the communication channel, I have put the url : https://<host_thirdparty>:<port>//internal/gateway.b2b.xml/receiveChemXML
Thanks & Regards,
L.MochisukiHi Suraj,
Thanks. I have seen the message monitoring .
There are information and error in communication channel:
1. The message was successfully received by the messaging system. Protocol: XI URL: http://xidolphin:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
2. Using connection CIDX_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
3. Message successfully put into the queue.
4. The message was successfully retrieved from the receive queue.
5. The message status was set to DLNG.
6. Delivering to channel: CIDX_SELLER_CC
7. Unable to determine XI party '. ' party not configured for party schema DUNS, party agency 016
8. Error occurred in CPA Facade processing. -
Could not find party configuration for Party\=;PartySchema\=DUNS;PartyAgency\=016. -
Party found to be null or empty : Could not find party configuration for Party\=;PartySchema\=DUNS;PartyAgency\=016.
9. Adapter Framework caught exception: null
10. Delivering the message to the application using connection CIDX_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.NullPointerException.
Do you have any clues on these? Is it because of my mapping?
Thanks & Regards,
L.Mochisuki -
Dear All,
I am trying to develop interface using SAP PI within my company to other company. My Company will use idoc. The other company is using CIDX adapter. This will be b2b scenario.
1. Should I create two party? first party is sap r3, second party is cidxe41_seller.
2. Or Should I just create one party for cidxe41_seller and sap r3 will remain as business system without party?
Thanks in advance
Best Regards,
L.MochisukiHi Suraj,
So sorry for my poor english. Just want to clarify your statement.
Do you mean that " Sender (in this case is SAP ERP - IDOC) can be business system under party and it also can be business system without party ", rite?
The other company is external company. It is using CIDX. This one, I should determine as a party.
are my statements correct?
Thanks in advance.
L.Mochisuki -
Choosing Receiver Interface (IDoc or RFC) without using BPM
Hi,
We have a scenario wherein the receiver interface (either IDoc or RFC) must be dynamically determined at runtime based on the source message. I've tried using Multi-Mapping but this did not work since IDoc and RFC interfaces are not on the same Adapter Engine.
How do I configure this scenario without using BPM?
Thanks,
FrancisHi,
>That was my first solution but it did not work since it seems that conditions only work for determining the Operation Mapping to use for the same Receiver interfaces.
not true - not only Operation Mapping but also receiver agreement
so the receiver's channel
>I was misled into thinking that we could use it to dynamically determine the receiver interface.
but you can do it over there
intrface determination can be used for pseudo receiver determination too
so you can have one interface that either goes to one
channel or the other (within the same receiver)
Regards,
Michal Krawczyk -
How to handle Asynch Synch (IDoc - SOAP) interfce without using BPM
Hi Experts,
I have a Idoc to SOAP scenario and where I need to hadle SOAP response but for this how it can be handle without BPM I am unable to figure out. Specificaly it is a interfacce with SFDC (sales force.com) CRM and need to handle IDoc - SOAP interface and response needs to be captured with another idoc which can be sent back to SAP.
Any suggestion will be helpful.
Regards,
Nitin PatilHi,
you cannot do it with IDOC adapter unless you have PI 7.3 without a BPM
you need to use a different adapter like ABAP proxy (on java) or RFC
hope it's clear,
Regards,
Michal Krawczyk -
How to send two different IDocs to SAP without BPM
Hi Experts,
I am working on jms to IDoc scneario,my requirement is to convert one JMS messge in to 2 IDocs(DELVRY,MATMAS) to ECC , i searched in SDN to achieve this requirement without BPM, i found one blog,but its saying its not possible to use multi mapping scenarios with out BPM in IDoc
what is the best approch to achieve my requirement without BPM.
Regards,
Jamesis it true that multi mapping not going to support IDoc scenarios??
Yes it is true that IDOC does not support multi-mapping....this can be proved if you look into the help section which shows the list of adapters supporting multimapping....IDOC is missing from that list....do not get confused between Idoc Multimapping and IDOC Bundling.....IDOC bundling means bundling IDOCs of same type...however you are looking for IDOCs of different types.
Regards,
Abhishek. -
Idoc Error-Price without service not allowed
Hi Experts,
I have a Service PO with Acc.***. P .One service item entered in PO with price.When I go via ME22n & change the Price of Service item under services tab,its fine.
When this is done via Idoc generation(Msg.Type PORDCH) using standard FM BAPI_IDOC_INPUT1, it creates another service line item for the new price.
The first line item cannot be deleted via IDOC posting.Gives error "Price without service not allowed"
This is quite Urgent.Immediate reply is highly appreciable.
Regards,
JaganHi,
Check in WE42, for the process code, you have assigned this function module and given the correct process code in the partner profile.
Sujay -
How to stop outbound IDOC in PI without error
Hi,
The scenario is Idoc - JDBC and personID is unique field in database.
Now the requirement is, in some cases personID generated after certain process or I can say in some cases personID is not present when this interface runs.
Now I need to stop outbound Idoc in PI system (without any error) if perosnID is not present. Means I dont want to send any data to database if personID is not present. Is there any way to accomplish this task?
Regards,
ChintanHi All,
Thanks for replying with very useful information and answers, really appreciated.
I am able to solve this issue by using Node Function at Message Type level. I created following condition at message type level.
personID -> removecontext -> Equals -> 0001 -> removeContext -> createIf -> receiver MT
Here i've to use removeContext two times because the segment which contains personID field is repeated many times so I've to check in each segment.
If this condition fails (if personID is not present ) then the target message structure is not going to be created.
Thank you once again.
Regards
Chintan -
IDOC to File without XI or Middleware
Hi
I have a req to create idoc from external system without XI or any other middleware.
So i need to access the files from application server and create inbound idocs.
for this i need to access the files from application server(AL11) ...I did this part.
Example:
Create the order idoc from file and process the idoc : Sales order created
But when i deliver this sales order do i need to create an idoc again and convert it to file and place it on application server? or is there anyway to create a file whenever outbound transaction is processed like Delivery , invoice etc?
I need to communicate with legacy system only with the files..so inbound is fine coz iam creating idocs but do i need to create outbound idocs to create the files to place it on application server wrt preceeding documents i.e sales order etc..?
Please let me know coz we dont have middleware like XI etc...
Thanks
MadhuSudhanThanks for ur reply
I got your point..
Lets take a scenario
Lets say i created an inbound IDOC and created a Sales order thru the File data.
You are saying is right..when we create delivery for the sales order thru the transaction it will create the delivery number.. but i want to make it automation process ...I want to capture that Delivery number along with some delivery related data to capture in the file and put in the file on application server (Outbound)
Since i have the requirement to create Sales order at the very beginning i have the control coz i will process the idocs.but when i send the outbound information thru the file do i need to create the idoc and capture the data into the file
OR
is there any way to capture the data into file whenever we create the delivery for a sales order in SAP.
Please let me know and ask me if u r not clear on this...
Just be sure that there is no Middleware like Xi,Gentron....
Madhusudhan -
Expose IDoc as Webservice without PI/XI
Is it possible to expose an IDoc as an webservice without PI/XI?
I noticed there is a port called XML-HTTP. Does it use SOAP? Can i use this port for webservices.
Thanks.Hi,
Precisely.
Idoc is not a program but structure. You can create RFC which interact with this Idoc or related structure and then expose this RFC as webservice.
Regards,
Gourav -
Idoc successfully posted without deleting service line
Dear Team,
I am trying to delete the service line item for multiple service lines throguh Idoc (FM : BAPI_PO_CHANGE) its bit of surprising thata my IDOC is getting posted without any errors but nothing is changing ,however the value is getting changed for single line but not able to delete the service line .
I can able to delete the main line item but not the service line item .Anyone can quickly help on this i am trying since last two days but nothing worked for me .
Also kindly confirm me if is there any SAP note i need to check
Thanks for your support ..
Regards
Kiran Kumar
Please find Below Idoc passing values :
Header -
PO_NUMBER C00014
DOC_TYPE CCTC
VENDOR 0000010001
PURCH_ORG D001
PUR_GROUP 018
CURRENCY EUR
Header X
PO_NUMBER X
DOC_TYPE X
PURCH_ORG X
PUR_GROUP X
CURRENCY X
Item
PO_ITEM 00010
SHORT_TEXT ITEM 10 CHANGE
PLANT D001
MATL_GROUP 10341
ITEM_CAT 9
ACCTASSCAT T
PCKG_NO 0000000035
SRV_BASED_IV X
Item X
PO_ITEM 00010
PO_ITEMX X
SHORT_TEXT X
PLANT X
MATL_GROUP X
ITEM_CAT X
ACCTASSCAT X
PCKG_NO X
SRV_BASED_IV X
PO Account :
PO_ITEM 00010
SERIAL_NO 01
WBS_ELEMENT D-000015-01-001
RES_DOC 0050000014
RES_ITEM 001
Po Account X :
PO_ITEM 00010
SERIAL_NO 01
PO_ITEMX X
SERIAL_NOX X
WBS_ELEMENT X
RES_DOC X
RES_ITEM X
Service line :
PCKG_NO 0000000035
LINE_NO 0000000001
EXT_LINE 0000000010
OUTL_IND X
SUBPCKG_NO 0000000050
linkage Service line1 :
PCKG_NO 0000000050
LINE_NO 0000000002
EXT_LINE 0000000010
QUANTITY 5.00
BASE_UOM D
PRICE_UNIT 1
GR_PRICE 5.00
SHORT_TEXT TEST CHANGE
MATL_GROUP 10341
NET_VALUE 25.00
linkage Service line 2:
PCKG_NO 0000000050
LINE_NO 0000000003
EXT_LINE 0000000020
QUANTITY 5.00
BASE_UOM D
PRICE_UNIT 1
GR_PRICE 6.00
SHORT_TEXT TEST CHANGE
MATL_GROUP 10341
NET_VALUE 30.00
Account assignment dist. service line1 :
PCKG_NO 0000000050
LINE_NO 0000000002
SERNO_LINE 01
PERCENTAGE 100.00
SERIAL_NO 01
QUANTITY 5
NET_VALUE 25.00
Account assignment dist. service line2 :
PCKG_NO 0000000050
LINE_NO 0000000003
SERNO_LINE 01
PERCENTAGE 100.00
SERIAL_NO 01
QUANTITY 5
NET_VALUE 30.00
PO results after IDoc posted : Purchase order Item changes screen below
Item Indicator for Service-Based Invoice Verification Changed X BONGAK 01.05.2015 11:20:40 3168 WE19
Item Indicator for Service-Based Invoice Verification Changed X BONGAK 01.05.2015 11:23:12 3169 WE19
Item Purchasing Document Item Change Date Changed 01.05.2015 30.04.2015 BONGAK 01.05.2015 11:20:40 3168 WE19
Item Indicator for Service-Based Invoice Verification Changed X BONGAK 30.04.2015 16:41:02 3154 WE19
Item Indicator for Service-Based Invoice Verification Changed X BONGAK 30.04.2015 16:43:09 3156 WE19
Item Indicator for Service-Based Invoice Verification Changed X BONGAK 30.04.2015 16:49:50 3157 WE19
Item Indicator for Service-Based Invoice Verification Changed X BONGAK 30.04.2015 17:00:19 3159 WE19
Item Indicator for Service-Based Invoice Verification Changed X BONGAK 30.04.2015 17:02:33 3160 WE19
Item Indicator for Service-Based Invoice Verification Changed X BONGAK 30.04.2015 17:37:31 3165 WE19
Item Indicator for Service-Based Invoice Verification Changed X BONGAK 30.04.2015 17:40:29 3166 WE19
Item Purchasing Document Item Change Date Changed 30.04.2015 13.04.2015 BONGAK 30.04.2015 16:41:02 3154 WE19
Item Short Text Changed ITEM 10 CHANGE FS-FND-223 - Fees BONGAK 30.04.2015 16:41:02 3154 WE19Hi Kiran,
If you are using message type ORDERS then check the qualifier and action which you have used in segments E1EDK01 E1EDK14 also check all your service segments also.
Rgds,
Nayeem. -
IDoc - Create Delivery without Reference
Hi all
I need to create a delivery without reference on an inbound IDoc, but DESADV is having none of it.
Anybody, had any success with this?
Ta... rudster.... also tried SHPORD
This is a SAP to SAP interface, I simply need to duplicate the delivery in the target ... is there an ALE option?
System 1
1. STPO
2. Delivery -> SHPORD (Delivery Create)
System 2
3. SHPORD -> Delivery
4. PGI -> DESADV (ASN)
System 1
5. DESADV -> Goods Issue
ta... -
Multiple Idoc to file without BPM
Hi All,
I am using xml [HTTP destination|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b ] in ECC system to collect Idocs(say 100,200 etc) of particular type (say MATMAS05) and sending it as a single message with multiple Idoc noes for same message type to PI 7.1 system, In PI I need to create the single node for each IDoc on target side based on certain validations on the fields of various segments( with unbounded occurences ) occuring at various levels . Node should be created only if all the fields are validated,even if a single field fails validation node for that IDoc should not be created on target side.
for example:
>>MATMAS
>>|_E1MARAM
>> |_ MATNR
>>| _E1MAKTM
>> |_MAKTX
If there are 100 MATMAS nodes in the message and if MAKTX field of third E1MAKTM segment in 97 th IDOC node fails validation the node for this IDOC node should not be created on the target side..
Currently I am trying to do it using UDF but due to performance point of view I do not want to execute Loop across various segments twice, once to validate the fields and second time to generate node.
Can anybody help me in this ?
Thanks,
AmitHi Mughda,
How would i validate using createif node function as i also need to validate fields of all the segments of the same Idoc. ?
Thanks,
Amit -
IORDER01 IDoc is sent without plant code from SAP ECC
Hi MEINT experts,
Does anyone experience before on the service order integration between SAP ERP and SAP ME, somehow the IORDER01 IDoc is sent over with empty plant code embedded in the original document? (where we suppose to see <WERKS> data tag is attached to the IDoc sent over from SAP ECC). This has resulted to the corresponding IDoc is not able to process by MEINT due to empty plant code.
Please advice how to resolve this if you have done that before.Hi,
Once the issue stems from ERP side of integration process, this question should be either re-posted to ERP-related forum or submitted as a customer ticket against PP-MES component.
Regards,
Sergiy
Maybe you are looking for
-
Help needed! Raid degraded again!
Hi! Help needed! I hava made bootable RAID with two S-ATAII 250Gb HDD and its not working! Every now and then at bootup I get a message RAID -> DEGRADED... Must be seventh time! Rebuild takes its own time! What am I doing wrong! T: Ekku K8N Neo4 Ultr
-
Dc7700 Booting randomly // BIOS error
Hey! I am having trouble with my dc7700 computer, it has started booting randomly. This occurs, like mentoned, randomly. There is no spesific program that is "crashing" or forcing the computer to boot. It sometimes boots when I am doing nothing on it
-
In some times if customer as a vendor,what can i do?
in some times if customer as a vendor,what can i do? Pls Tell me how to customization
-
Hello, I have a large pdf, 2mb and I would like to be able to send this through email easily so I was hoping to be able to size it smaller. I was told that I could use "save as" and it would convert smaller but that application in Adobe Reader was "s
-
HI I HAVE PROBLEM WITH MY APSE 10,AFTER CLICKING ADOBE ICON ON MY PULPIT DONT RESPOND,ONCE COMPUTER IS RESTARTED WORKING WITHOUT PROBLEM TILL NEXT TIME WHAT CAN I DOO PLEASE FOR HELP PS MY LAPTOP IS HP PAVILION DV6 WITH WIN7 OS