Automatically generate outbound IDoc of FIDCC1
Hello,
I need to be able to automatically generate an Idoc of the type FIDCC1 when an BKPF document (Vendor Invoices)is saved via FB10. Could you please direct me to the be approach.
Hey Andrew,
Being able to test an IDoc is not the same as ALE enabling an IDoc. You have to go to SALE and activate the IDoc.
Please check note number 114814 for more information on the same.
Thank You.
Sumit.
Similar Messages
-
Generate outbound idoc for Customer Master
Hi Developers,
I have requirement to generate outbound IDOC for Customer Master Data. I need to send customer master data through an Outbound IDOC. Can we generate an outbound DEBMAS06 idoc? Can someone help me finding a solution to this problem?
Thanks in advance for helping.
Regards,
GajendraHi,
If you have done all the required settings (logical system, partner profiles, distribution model), then either transaction BD10 / BD14 will help you generate the IDOC.
If you want to send the idocs automatically, then you will to configure some program.
Unlike transaction data, Master data IDOCS are not triggered immediately, you will have to do the required configuration in SPRO.
Transaction SPRO
SAP Customizing Implementation Guide -->
SAP Web application Server --> Application Link Enabling --> Modeling and Implementing Business Processes -->
Master Data distribution --> Replication of Modified Data --> Creating IDOCS from Change Pointers
Take a look at this thread.
Re: automatic Idoc outbound
Regards,
Ravi
Note : Please mark the helpful answers
Message was edited by: Ravikumar Allampallam -
Is it possible to generate outbound idocs for FI invoices? How?
Is it possible to generate Outbound idocs for FI invoices? How? or else i have to write program to get data in file and pass it to translator. Please help.
Dear Gabriel
Before letting you know the possibility, can you please let me know why you want such a requirement, since standard has not provided such copy control, to my knowledge.
As you would know order type KB is for consignment fillup where you are just transferring the goods from FG unrestricted to your own warehouse and that is why in standard you can see the copy control KB --> F8 which means you can raise proforma against delivery and not against fillup order.
So think of whether really you wanted to raise proforma against fillup order which is NOT recommended by SAP. However, still if you feel that the requirement is so to have, you can make the settings in VTFA.
thanks
G. Lakshmipathi -
Hello Experts!
Upon create and/or update of an Opportunity in CRM, I'd like the system to automatically generate an Outbound IDoc.
I've already configured the following:
1. Define Logical Systems and Assign Client to Logical System - Transaction SALE
2. Maintain RFC Destinations - Transaction SM59
3. Define the Ports - Transaction WE21
4. Maintain Distribution Model - Transaction BD64
5. Generate/Create Partner Profile Transactions BD82 and WE20
6. Distribute Model View Transaction BD64
Upon creation of an Opporunity and viewing transaction WE02, I unfortunately do not see any created IDocs
The only part I'm missing (as far as I can tell) is how to tell the system to actually generate the IDoc upon create and/or update of an Opportunity.
Does anyone know how I can accomplish this?
Thanks!I figured it out... Here are the steps I was missing:
7. Configure External Interface Adapter (XIF) with Subscription 'All Business Transactions' - Transaction SMOEAC
8. Assign Site ID to Interface Type with BDoc Type 'BUS_TRANS_MSG' and Interface Name 'CRMXIF_ORDER_SAVE' and Complete = checked - Transaction CRMIX_C1
Hope this information helps anyone looking to send IDocs out of CRM
Also, this procedure can be used to send Business Partner IDocs, too -
Function Module to Generate Outbound IDOC for Sales Documents
Hello Experts,
Can someone please help me, I need to know which function module to use in order to generate the outbound IDOC for sales documents. Some of the fm's I have come across are the following:
IDOC_OUTPUT_ORDERS, but actually for Purchase Orders
IDOC_OUTPUT_ORDRSP, but did not generate any IDocs for my sample Sales Order.
Points will be given for any help provided.
Thanks in advance.Hi Nagaraj,
I tried using the IDOC_OUTPUT_ORDERS but I keep getting an error that the Purchase Order <xxx> does not exist, even though the document I tried is a sales order. For everyone's reference here is the code:
form process_data.
DATA v_idoc TYPE edidc-docnum.
DATA i_edidd TYPE TABLE OF edidd.
DATA wa_idoc_ctrl TYPE edidc.
LOOP AT i_nast INTO wa_nast.
CLEAR i_msgs[].
CALL FUNCTION 'WFMC_PROTOCOL_GET'
EXPORTING
cps_nast = wa_nast
tables
messages = i_msgs
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
LOOP AT i_msgs INTO wa_msgs WHERE arbgb EQ 'E0'.
*--- Check first if there is an IDOC
IF wa_msgs-msgv1 IS INITIAL.
CONTINUE.
ENDIF.
v_idoc = wa_msgs-msgv1.
CLEAR i_edidd[].
CLEAR wa_idoc_ctrl.
CALL FUNCTION 'IDOC_READ_COMPLETELY'
EXPORTING
document_number = v_idoc
IMPORTING
IDOC_CONTROL = wa_idoc_ctrl
* NUMBER_OF_DATA_RECORDS =
* NUMBER_OF_STATUS_RECORDS =
TABLES
* INT_EDIDS =
INT_EDIDD = i_edidd
EXCEPTIONS
* DOCUMENT_NOT_EXIST = 1
* DOCUMENT_NUMBER_INVALID = 2
OTHERS = 3.
CALL FUNCTION 'IDOC_OUTPUT_ORDERS'
EXPORTING
object = wa_nast
control_record_in = wa_idoc_ctrl
* IMPORTING
* OBJECT_TYPE =
* CONTROL_RECORD_OUT =
tables
int_edidd = i_edidd
* EXCEPTIONS
* ERROR_MESSAGE_RECEIVED = 1
* DATA_NOT_RELEVANT_FOR_SENDING = 2
* OTHERS = 3
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
COMMIT WORK.
ENDLOOP.
ENDLOOP. -
Generating outbound idoc - During Oubound delivery deletion using VL02(N).
Hi All,
There is a requirement for me to send an outbound idoc from SAP System, when a outbound delivery is deleted in SAP system using transaction VL02N. The functionality is to achieve the same using message control/output control.
When an item of the delivery is deleted then the idoc is getting generated correctly.
But when the outbound delivery itself is being deleted no idoc is getting generated in fact the output determination itself is not taking place.
Could anyone please give me some inputs on this.Hi,
Could anyone please reply to my query. Points will be definitely awarded. Thanks in advance.
Goutham. -
How to generate Outbound idoc for Material Reservation
Hi Experts,
I want to send outbound IDoc when a material reservation is created with tcode MB21.
I have been working on this issue and finding the solution in SCN for a week...
I found some messages similar to this but I could not find out the correct way how to do that.
At this moment, I configured BD64/WE20 referring the following topic which seems to be feasible solution but could not find any outbound IDocs created, unfortunately.
Implement ALE_RESERVATION_CREATE
I appreciate if someone can help me how to create outbound IDoc with MB21 or advice some possibility of missing configuration or steps.
Best Regards,
KenjiHi;
Have been able to find the solution to create the IDoc MRESCR after entering a reservation?
I am in the same situation and I do not see the IDoc output in the BD87.
It would be nice if you share the solution.
Thanks in advance -
Custom error in outbound idoc FIDCC1
Hi all,
I am generating outbounds idocs for FI documents and i need to put some of them in error. I need the FI Document created and the idoc in error so that i can reprocess it later. To do that i am using the User Exit EXIT_SAPLF050_007
Enhancement - F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(MESSAGE_TYPE) LIKE EDMSG-MSGTYP
*" TABLES
*" IDOC_DATA STRUCTURE EDIDD
*" CHANGING
*" VALUE(IDOC_CONTROL) LIKE EDIDC STRUCTURE EDIDC
*" VALUE(DISTRIBUTION) LIKE BOOLE STRUCTURE BOOLE
*" OPTIONAL
IDOC_CONTROL-status = '26'.
The problem is that in the UserExit i set the Idoc Status to some value diferent than 3 (Data passed to port OK) but finally the idoc is created with the status 3.
Does anybody know how to change the idoc status in the creation from 3 to for example 26 or 27? ( an error idoc status ).
thanks!!Hi,
In the partner profile, set the option as Collect IDOC's option.
Create a background job in which the first step of that should be your custom program and the second step is RSEOUT00 program.
In your custom program, validate the idoc if you feel your idoc is correct then leave it like that and if you feel there is some problem in the idoc then flag that error idoc for deletion that means that error idoc will not be sent to your partner.
For flagging an outbound idoc to deletion is nothing setting the idoc status to 31. This you can do with the program RC1_IDOC_SET_STATUS.
Thanks,
Mahesh. -
Outbound IDOC WPDTAX not getting generated
Hi
I am not able to generate outbound IDOC WPDTAX through WPMA transaction.
We are using TAXUSJ as the tax procedure.
Tax Condition type UTXJ and JR1 has been maintained in the system.
On looking at the code against WPMA ,
POS_TAX_GET is called to calculate taxes.
It does not have a fetch against all the condtion tables for tax.
The above condition has been maintained in table A053.While the above program fetches data against only A003.
Can somebody help?
Regards,
Amit.Hi Amit,
For TAXUSJ, the conditions maintained are time dependent conditions.
However , IDoc type WPDTAX01 does not support time dependent conditions.
Only time independent conditions will be transferred with the help of Idoc type WPDTAX01.
http://help.sap.com/erp2005_ehp_03/helpdata/EN/3f/81e33bfa5d11d38d1f080009d10d9a/frameset.htm
Regards,
Lisa -
Triggering Outbound idoc in VL10UC
Dear sdn members,
Its related to outbound Idoc generation online in SCM. The requirements is that whenever a sales order created in CRM system ,automatically outbound delivery will be created in ECC. For that I can check in VL03N transaction in ECC.
But that outbound delivery will be unchecked in ECC. In VL10UC we can combine and check the delivery and a new delivery document will be created and old document will be deleted and automatically one outbound idoc should be generated in ECC for the new delivery document.
Can we handle this using message control or any other way to handle this since a online interface.
Message Type-DESADV
Basic type-DELVRY05
Process Code-DELV
Function Module-IDOC_OUTPUT_DELVRY
Reward points for useful Answers
Regards,
KrushnaIts solved.
-
Message type for Scheduling Agreement - Outbound IDoc
Hi All,
I have to create an Idoc for Scheduling Agreement through a Z program based on some conditions. I have bit confusion, whether i can use Idoc type for Orders(e.g ORDERS01..05) & Message type ORDERS / ORDCHG to generate Outbound Idoc.
Already there is process code for for ORDCHG mappig IDOC_OUTPUT_ORDCHG & ORDERS mappig IDOC_OUTPUT_ORDERS. Whether there will be any impact on this.
Appreciate your help.
Regards,
Anbalagan.Hi Anji,
Thanks for the Reply. But i think ORDRSP is for Order Confirmations.
But I have to send Outbound Idoc for a Schedule Agreement.
Whether the same Idoc type & Messge type used for SO/PO(e.g ORDERS05, ORDERS/ORDCHG) can be used for Scheduling Agreement.
Please Advice.
Regards,
Anbalagan -
SENDING WBS ELEMENT IN OUTBOUND IDOC ORDRSP
Hi Experts,
i need to update idoc ORDRSP (to distribute Sales order) with field WBS ELEMENT , you can find this under item tab "Account assignment" field COBL-PS_POSID
I generated outbound idoc on several sales orders but none of them has this information.
do you know how to have this information populated in this idoc ?
Thanks and regardsHi,
You need to do the following steps to create a custom segment and populate values into that:-
1. Create a custom segment using the T Code WE31
2. Add the created custom segment to the orders05 basic type by creating a new extension using WE30 transaction
3. Maintain a new entry in WE82 transaction for the message type, basic type and extension
4. Update the extension in all the necessary partner profiles WE20
5. You have lot of function exits in the function module IDOC_OUTPUT_ORDRSP, you can see them as customer function in that function module. You need to write the code in that include
6. Create a project for the function exit and activate the project.
Once you do all the above 6 steps then you can see values populated into the custom segment.
Thansk,
Mahesh. -
Outbound idocs getting delyed sometimes
Hi All,
I am generating outbound idocs using master_idoc_distribute FM and sending to Tibco..my issue is some times idocs reaches very late (15min) and some times fast even I choose tigger immediately option in we20..could any body tell me what would be the reason..
Below is my code..
Call Master_idoc_distribute
Commit work..
If I use FM: 'EDI_DOCUMENT_DEQUEUE_LATER' before commit work..does it rectifies my problem..or anything else I have to performu2026.please let me know..Hi,
Try using the statment
call function 'DEQUEUE_ALL'.
See Standard function module "MASTERIDOC_CREATE_REQ_MATMAS", line no 1049 for reference.
Regards
Vinod -
Standard program for creating outbound IDoc holding wbs+cost plan
Hello,
a)
Before we start developing our own ABAP, I would like to ask the forum if somebody knows if there is already a standard ABAP program for generating outbound IDocs including wbs-element data (CJ20N; wbs ID, description) plus annual data from the cost planning (CJ41; such as fiscal year and costing items from unit costing; quantity, unit, price per unit, total price, description of item) ?
b) we are planning to use the logical message /ISDFPS/PS, basic type /ISDFPS/PS01 and enhance this IDoc with segments for the costing items from the cost planning.
Question: Do you know if there is a standard IDoc which has segments for both wbs-element data and costing items?
Kind regards
Viveka SchwartzHi Frank,
Did u check this Link on the PP confirmaitos[LINK|http://help.sap.com/saphelp_47x200/helpdata/en/12/3bbc1c504811d182c20000e829fbfe/frameset.htm]
Reg
Dsk
Edited by: DSk on Sep 14, 2010 3:44 PM -
Standard program for creating outbound IDoc including wbs + cost planning
Hello,
a)
Before we start developing our own ABAP, I would like to ask the forum if somebody knows if there is already a standard ABAP program for generating outbound IDocs including wbs-element data (CJ20N; wbs ID, description) plus annual data from the cost planning (CJ41; such as fiscal year and costing items from unit costing; quantity, unit, price per unit, total price, description of item) ?
b) we are planning to use the logical message /ISDFPS/PS, basic type /ISDFPS/PS01 and enhance this IDoc with segments for the costing items from the cost planning.
Question: Do you know if there is a standard IDoc which has segments for both wbs-element data and costing items?
Kind regards
Viveka SchwartzHi Frank,
Did u check this Link on the PP confirmaitos[LINK|http://help.sap.com/saphelp_47x200/helpdata/en/12/3bbc1c504811d182c20000e829fbfe/frameset.htm]
Reg
Dsk
Edited by: DSk on Sep 14, 2010 3:44 PM
Maybe you are looking for
-
How do I prevent a PDF file from automatically downloading to my computer.
I've tried everything I know to Prevent a PDF file from automatically downloading to my computer. I would like the "Choice" of Read only or Download. HELP!!!
-
Analysis Authorization - Strange behaviour clarification
Hi, Need to understand whether this is expected behaviour. Scenario : User1 -> Authorized to only see Q1/2008 data. The Query contains 2 restricted key figures -> Q2 Balance and Q1 Balance. When the report is run is does not fail with "No Authorizati
-
Comments left that does not deal with the problem, only stereotypes
Hi, Can a Level 2+ do something about this guy? His posts never pertain to the subject. Please check his posts out in these thread. Name is Ziatron... http://discussions.apple.com/message.jspa?messageID=6014947#6014947 http://discussions.apple.com/me
-
I'm new to MAC so please be patient. Does anyone know if I can connect my MacBook Pro to my TV using my USB to svideo converter box (works on my old PC) or do I have to purchase a mini displayport adapter?
-
Error message keeps popping up
This just started this week, all was working well before. I keep getting this message but I do not know what it means or what I should do to resolve the issue can someone help please /Users/mireille/Desktop/Image 1.png