Outbound idoc( billing )--- from where Out bound idoc fetching data
Hi gurus,
Some one explains me. from where does out bound idoc(billing) fetches data into control records and data records?.
Is it from Order or billing document?
Thanks
Seegal
Hi,
If your IDOC is getting generated from Billing document,the data in control records and data records should be fetched from billing document.You can get data from Sales Order as well.Check with your ABAPer.
Regards,
Krishna.
Similar Messages
-
Hi experts,
I am given a task to create an out bound IDOC which would be input to TIBCO, which must be triggered every time Good issue transaction is completed by either VT02N or VL02N transaction up pressing SAVE.
IDOC is to have fields from Customize tables apart from standard SAP tables, so was asked to create an own IDOC ( eg: Z--Idoc).
Please tell me how to create the idoc, and also the method to trigger it and how to populate the IDOC ( program etc).
Use full inputs would be promtly rewarded.
Regards,
Ram.Sample code in the below:
REPORT zhefrn_idoc_extract_fi LINE-SIZE 160.
Purpose
This program extracts FI postings and create IDOCs
Description
An IDOC of type ACC_GL_POSTING01 is created from the extracted
FI-data.
*- Extract data from BKPF and BSEG
*- Build the IDOC control record. Use structure EDIDC.
*- Build and internal table of structure EDIDD with IDOC segments.
EDIDD contains some keyfields, but the data segment field is simply
one string, as EDIDD is used for all type of IDOCs. To simplify the
process of building this string, use the SAP datastructures with the
same name as the segment. E.g for segment E1BPACHE08 use structure
E1BPACHE08.
*- Use function module MASTER_IDOC_DISTRIBUTE to create the IDOCs.
Remember to commit.
Important: This program can not handle multiple documents, so all
postings must have the same key (Company code, currency code,
postingdate, document date) so that they can be posted in the same
document. *If the program should handle multiple documents, data
should be split *according to the key, and an IDOC created for each
document.
Standard types
TABLES:
bkpf, "Accounting Document header
bseg. "Accounting Document Segment
TEDS1. "IDoc status values
Standard types
TYPES:
BEGIN OF st_bkpf,
bukrs LIKE bkpf-bukrs,
belnr LIKE bkpf-belnr,
gjahr LIKE bkpf-gjahr,
blart LIKE bkpf-blart,
bldat LIKE bkpf-bldat,
budat LIKE bkpf-budat,
monat LIKE bkpf-monat,
waers LIKE bkpf-waers,
END OF st_bkpf,
BEGIN OF st_extract,
bukrs LIKE bkpf-bukrs,
belnr LIKE bkpf-belnr,
gjahr LIKE bkpf-gjahr,
blart LIKE bkpf-blart,
bldat LIKE bkpf-bldat,
budat LIKE bkpf-budat,
monat LIKE bkpf-monat,
waers LIKE bkpf-waers,
hkont LIKE bseg-hkont,
bschl LIKE bseg-bschl,
shkzg LIKE bseg-shkzg, "Debit/credit indicator
dmbtr LIKE bseg-dmbtr,
wrbtr LIKE bseg-wrbtr,
dmbe2 LIKE bseg-dmbe2,
END OF st_extract.
Table types
TYPES: tt_bkpf TYPE STANDARD TABLE OF st_bkpf,
tt_extract TYPE STANDARD TABLE OF st_extract,
tt_edidd TYPE STANDARD TABLE OF edidd,
tt_edidc TYPE STANDARD TABLE OF edidc.
Internal tables
DATA:
G/L Doc header
gi_bkpf TYPE tt_bkpf,
G/L extracted data
gi_extract TYPE tt_extract,
IDOC segment data
gi_edidd TYPE tt_edidd,
Return table
gi_communication_idoc_control TYPE tt_edidc.
Global variables
DATA:
WA for internal tables
g_bkpf TYPE st_bkpf,
g_extract TYPE st_extract,
g_edidd LIKE edidd,
*-- IDOC structures:
IDOC control record
g_idoc_control_record LIKE edidc,
G/L document header
g_e1bpache08 LIKE e1bpache08,
G/L Account Line Items
g_e1bpacgl08 LIKE e1bpacgl08,
Line Item Currency Fields
g_e1bpaccr08 LIKE e1bpaccr08,
Return table from MASTER_IDOC_DISTRIBUTE
g_communication_idoc_control LIKE edidc.
Selection screen
SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME.
SELECT-OPTIONS: a_bukrs FOR bkpf-bukrs,
a_budat FOR bkpf-budat,
a_hkont FOR bseg-hkont,
a_usnam FOR bkpf-usnam DEFAULT 'WMHEFRN'.
PARAMETERS: p_create AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK 1.
SELECTION-SCREEN BEGIN OF BLOCK 2 WITH FRAME.
IDOC control record - Receiver
PARAMETERS:
p_rcvpor LIKE edidc-rcvpor DEFAULT 'PORT-HFN', "Rec. Port
p_rcvprn LIKE edidc-rcvprn DEFAULT 'WMHEFRN', "Rec. Partn. number
p_rcvprt LIKE edidc-rcvprt DEFAULT 'US', "Rec. Partn. type.
p_rcvpfc LIKE edidc-sndpfc DEFAULT '§§'. "Partner function
SELECTION-SCREEN END OF BLOCK 2.
SELECTION-SCREEN BEGIN OF BLOCK 3 WITH FRAME.
IDOC control record - Sender
PARAMETERS:
p_sndpor LIKE edidc-sndpor DEFAULT 'SAPC46', "Send. Port
p_sndprn LIKE edidc-sndprn DEFAULT 'WMHEFRN', "Send. Partn.number
p_sndprt LIKE edidc-sndprt DEFAULT 'US'. "Send. Partn. type.
p_sndpfc LIKE edidc-sndpfc DEFAULT '§P'. "Send. Partn. funct.
SELECTION-SCREEN END OF BLOCK 3.
Start of selection
START-OF-SELECTION.
PERFORM initialize.
PERFORM extract_data.
PERFORM build_idoc_control_record.
PERFORM build_idoc_segments.
IF p_create = 'X'.
PERFORM create_idocs.
ENDIF.
PERFORM write_report.
*& Form INITIALIZE
FORM initialize.
REFRESH: gi_bkpf,
gi_extract,
gi_edidd.
CLEAR: g_idoc_control_record.
ENDFORM. " INITIALIZE
*& Form EXTRACT_DATA
Extract FI postings to internal table gi_extract
FORM extract_data.
Read BKPF
SELECT bukrs
belnr
gjahr
blart
bldat
budat
monat
waers
FROM bkpf
APPENDING CORRESPONDING FIELDS OF TABLE gi_bkpf
WHERE bukrs IN a_bukrs AND
budat IN a_budat AND
usnam IN a_usnam.
LOOP AT gi_bkpf INTO g_bkpf.
SELECT hkont
bschl
shkzg
dmbtr
wrbtr
dmbe2
FROM bseg
INTO CORRESPONDING FIELDS OF g_extract
WHERE bukrs = g_bkpf-bukrs AND
belnr = g_bkpf-belnr AND
gjahr = g_bkpf-gjahr.
MOVE-CORRESPONDING g_bkpf TO g_extract.
APPEND g_extract TO gi_extract.
CLEAR g_extract.
ENDSELECT.
ENDLOOP.
SORT gi_extract BY belnr.
ENDFORM. " EXTRACT_DATA
*& Form WRITE_REPORT
Writes a report showing the selected data, and generated IDOCs
and errors
FORM write_report.
WRITE: / 'Extracted data' COLOR COL_GROUP INTENSIFIED ON.
LOOP AT gi_extract INTO g_extract.
AT NEW belnr.
SKIP 1.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE: 'Document', g_extract-belnr.
FORMAT RESET.
NEW-LINE.
ENDAT.
WRITE: /
g_extract-bukrs,
g_extract-belnr,
g_extract-gjahr,
g_extract-blart,
g_extract-bldat,
g_extract-budat,
g_extract-monat,
g_extract-waers,
g_extract-hkont,
g_extract-bschl,
g_extract-shkzg,
g_extract-dmbtr,
g_extract-wrbtr,
g_extract-dmbe2.
ENDLOOP.
Write generated IDOCS
ULINE.
SKIP 2.
WRITE: / 'Generated IDOCs' COLOR COL_GROUP INTENSIFIED ON.
WRITE: / g_idoc_control_record.
LOOP AT gi_edidd INTO g_edidd.
WRITE: / g_edidd-segnam(10) COLOR COL_KEY, g_edidd-sdata(140).
ENDLOOP.
Write staus codes returned from function module MASTER_IDOC_DISTRIBUTE
IF p_create = 'X'.
ULINE.
SKIP 2.
WRITE: / 'Returncoides from function module MASTER_IDOC_DISTRIBUTE'
COLOR COL_GROUP INTENSIFIED ON.
LOOP AT gi_communication_idoc_control INTO
g_communication_idoc_control.
Find error message
select single
from TEDS1
WRITE: / g_communication_idoc_control-docnum,
g_communication_idoc_control-status.
ENDLOOP.
ENDIF.
ENDFORM. " WRITE_REPORT
*& Form BUILD_IDOC_CONTROL_RECORD
The IDOC control record contains message type, port and
partnerinformation
FORM build_idoc_control_record.
g_idoc_control_record-mestyp = 'ACC_GL_POSTING'. "Message type
g_idoc_control_record-idoctp = 'ACC_GL_POSTING01'. "IDOC type
Receiver
g_idoc_control_record-rcvpor = p_rcvpor. "Port
g_idoc_control_record-rcvprn = p_rcvprn. "Partner number
g_idoc_control_record-rcvprt = p_rcvprt. "Partner type
g_idoc_control_record-rcvpfc = p_rcvpfc. "Partner function
Sender
g_idoc_control_record-sndpor = p_sndpor. "Port
g_idoc_control_record-sndprn = p_sndprn. "Partner number
g_idoc_control_record-sndprt = p_sndprt. "Partner type
g_idoc_control_record-sndpfc = p_sndpfc. "Partner function
ENDFORM. " BUILD_IDOC_CONTROL_RECORD
*& Form BUILD_IDOC_SEGMENTS
text
--> p1 text
<-- p2 text
FORM build_idoc_segments.
DATA: l_transdate(8) TYPE c,
l_itemnr TYPE i.
CLEAR l_itemnr.
LOOP AT gi_extract INTO g_extract.
Build data - The structures from the underlying BAPI are used to
simplify thje work of building the data part of the IDOC
*-- Document header segment E1BPACHE08
*-- The document header should only be generated in the first loop
CLEAR g_edidd.
IF sy-tabix = 1.
CLEAR g_e1bpache08.
g_edidd-segnam = 'E1BPACHE08'.
g_edidd-segnum = 1.
g_e1bpache08-obj_type = 'BKPFI'.
g_e1bpache08-obj_key = '127387347'.
g_e1bpache08-obj_sys = 'APOCLNT800'.
g_e1bpache08-username = 'WMHEFRN'.
g_e1bpache08-header_txt = 'Humle er godt'.
g_e1bpache08-comp_code = g_extract-bukrs.
g_e1bpache08-fisc_year = g_extract-gjahr.
g_e1bpache08-doc_date = g_extract-budat.
g_e1bpache08-pstng_date = g_extract-bldat.
g_e1bpache08-trans_date = sy-datum.
g_e1bpache08-fis_period = g_extract-monat.
g_e1bpache08-doc_type = 'SA'.
MOVE g_e1bpache08 TO g_edidd-sdata.
APPEND g_edidd TO gi_edidd.
ENDIF.
*-- Line item segment E1BPACGL08
CLEAR g_e1bpacgl08.
CLEAR g_edidd.
l_itemnr = l_itemnr + 1.
g_edidd-segnam = 'E1BPACGL08'.
g_edidd-segnum = 2.
g_e1bpacgl08-itemno_acc = l_itemnr.
g_e1bpacgl08-gl_account = g_extract-hkont.
g_e1bpacgl08-pstng_date = g_extract-bldat.
g_e1bpacgl08-item_text = 'Halli Hallo'.
MOVE g_e1bpacgl08 TO g_edidd-sdata.
APPEND g_edidd TO gi_edidd.
*-- Line Item Currency Fields segment E1BPACCR08
CLEAR g_e1bpaccr08.
CLEAR g_edidd.
g_edidd-segnam = 'E1BPACCR08'.
g_edidd-segnum = 3.
g_e1bpaccr08-itemno_acc = l_itemnr.
g_e1bpaccr08-curr_type = '00'.
g_e1bpaccr08-currency = g_extract-waers.
IF g_extract-shkzg = 'H'.
g_extract-dmbtr = g_extract-dmbtr * -1.
ENDIF.
CALL FUNCTION 'CURRENCY_AMOUNT_IDOC_TO_SAP'
EXPORTING
currency = g_extract-waers
idoc_amount = g_extract-dmbtr
IMPORTING
sap_amount = g_e1bpaccr08-amt_doccur.
MOVE g_e1bpaccr08 TO g_edidd-sdata.
APPEND g_edidd TO gi_edidd.
ENDLOOP.
SORT gi_edidd BY segnum.
LOOP AT gi_edidd INTO g_edidd.
g_edidd-segnum = sy-tabix.
MODIFY gi_edidd FROM g_edidd.
ENDLOOP.
SORT gi_edidd BY segnum.
ENDFORM. " BUILD_IDOC_SEGMENTS
*& Form CREATE_IDOCS
Create IDOCS
FORM create_idocs.
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
EXPORTING
master_idoc_control = g_idoc_control_record
TABLES
communication_idoc_control = gi_communication_idoc_control
master_idoc_data = gi_edidd
EXCEPTIONS
error_in_idoc_control = 1
error_writing_idoc_status = 2
error_in_idoc_data = 3
sending_logical_system_unknown = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
Remember to commit !
COMMIT WORK.
ENDIF.
ENDFORM. " CREATE_IDOCS
Process outbound IDOCs
Process the outbound IDOCs using program RSEOUT00. The program can be executed from SE38. The IDOC should now have status code 03 Data passed to port OK.
Create inbound IDOCs
The inbound IDOC can be created from the outbound IDOC using transaction WE12 Modification of Outbound file Triggering inbound Procg. The name of the target file is not important, but it must not have the same name as the source file.
Note that the program returns an error, but an inpund IDOC is created.
Source and Sender
The source file must have the same name and path as the outbound file in the partner profile. In this example it is created in the TMP directory which seem to exist in the root directory.
Recipient
Process inbound IDOCs
The inbound IDOC should now have staus code 64. Use program RBDAPP01 to process the inbound IDOC.
Please give me reward points If it is useful.
Thanks
Murali Poli -
Hi experts,
I am given a task to create an out bound IDOC which would be input to TIBCO, which must be triggered every time Good issue transaction is completed by either VT02N or VL02N transaction up pressing SAVE.
IDOC is to have fields from Customize tables apart from standard SAP tables, so was asked to create an own IDOC ( eg: Z--Idoc).
Please tell me how to create the idoc, and also the method to trigger it and how to populate the IDOC ( program etc).
Use full inputs would be promtly rewarded.
Regards,
Ram.Hi
Creation of Custom IDOc type and message Type
First Create Partner Profile(WE20 Tcode) and Port Definition in WE19 Tcodes.
take the Basis help to create them.
1.First create segments in WE31 Tcode with the required dataelements
2.Create the Basic Idoc Type in WE30
release the Segments and IDOC type.
3.Create Message type in We81
4.Assign the message type to IDOC type in WE82 T code
5.Create the process code in We41 (for Outbound) WE42 (for Inbound)
6.Create A fun module in SE37 starting with ZIDOC_OUTPUT_.. by copying some Inbound (for Inbound) Outbound Fun module
7.Create Workflow setting if needed ..
8. Assign the fun module to Idoc Type, Message Type and WF object (if it is there0
9.Define setting for fun module in BD51
10.In BD51 Define the settings for Fun module..
10.Assign the Processs Code to Fun mod`ule
Outbound Interface
PROCESS DIAGRAM for Outbound Interface
1. Analyse Hierarchy Levels
2. Create New segment
3. Create New IDoc Type
4. Create New Message Type
5. Link Message with IDoc Type
6. Create an entry in EDP13 via transactions WE20 and BD64
7. Populate the Custom IDoc via ABAP Program
7b Error Handling
7c. Send Status Email
8. Test the Population of the Custom IDoc
Step 1 Analyse Hierarchy Levels:
Analyse the data relationships being processed in the interface. Define the appropriate hierarchical Parent-to-Child relationships.
Navigate to transaction code WEDI
Transaction WEDI displays the IDOC main menu. This allows navigation around the various development and control areas to create a customised IDOC.
Step 2 Create a new segment:
via wedi : Development - IDOC Segments or Transaction code WE31.
Enter segment name and click on Create.
? The name of the segment type must start with Z1 , and have a maximum of eight characters.
Enter description and enter the relevant field names and data elements.
? The segment should represent a structure in the program so for each field in the segment a field name and a data element must be defined.
Save the segment and enter Person Responsible and Processing Person .
Go to Edit and Set Release.
Repeat this procedure for each new Segment in the IDOC.
Step 3 Create a new IDOC Type
via wedi Development - IDOC Types or Transaction WE30.
Enter segment name (starting with Z), click on Basic Type and then Create.
Create as new, enter Person Responsible and Processing Person and enter description.
On Create Basic Type screen decide where segments should be inserted and go to Edit/Create Segment.
Complete relevant fields in the Maintain Attributes screen:
From the relevant segments created in Step 2 enter the Segment type and if mandatory segment.
The Minimum and Maximum number of segments to be allowed in the sequence. (One minimum and one maximum if segment is mandatory).
The Parent Segment and Hierarchy Level will be automatically created depending on where in the IDOC tree you decided to create that particular segment.
Repeat this process for each segment needed in the IDOC type, deciding whether to add the next segments at the same level or as a Child.
When IDOC created return to initial screen. Go to Edit and Set Release.
Go to Transaction WE60 to view the IDoc Type you have created.
Step 4 Create new Message Type
via wedi Development - Message Types or Transaction WE81.
Display/Change and click on New Entries
Create a new Message Type and Save.
Step 5 Link Message Type to IDOC Type
via wedi Development - IDOC Type/Message or Transaction WE82.
Display/Change and then click on New Entries.
Enter Message Type, Basic Type (IDOC Type) and Release (46C) and Save.
Step 6 Create an entry in EDP13 via transactions WE20 and BD64.
The partner profile for the Idoc must be set up and generated in the transaction BD64 and transaction WE20.
WE20 Add Message Type to appropriate Partner Type, Enter Message Type, Receiver Port and Idoc Type and Save.
BD64 Create a Model View, Enter Sender and Receiver Ports, Attach Message Type. Go to Environment on Menu and click on Generate Partner Profiles and generate (not save) profile.
Step 7 Populate the custom IDOC via ABAP Program
See Test Program ZOUTBD_IDOC_TEMPLATE, Appendix IV.
Create an Internal Table for each segment type, this should be exactly the same structure as the segment type.
The control record is filled into a structure like EDIDC. The message type and the Idoc type for the Idoc must be populated into the eddic structure.
- PERFORM populate_Control_structure USING c_mestyp
c_SEGMENT_type1.
The data segments are filled into a structure like edidd-sdata; sdata and the segment name are populated into the edidd structure.
- PERFORM transfer_Parent_data_to_seg.
The standard SAP function module MASTER_IDOC_DISTRIBUTE is called to pass the populated IDOC to the ALE Layer.
- PERFORM master_idoc_distribute.
NOTE: This function module is only called for stand alone programs and Shared Master Data programs (SMD). It is not called when using extensions or output determination.
The ALE Layer handles the sending of the IDOC to the receiving system.
Error Handling (see Step 7b).
Commit work.
Project Specific
Step 7b Error Handling Analyse which fields in the interface are mandatory for the receiving system and who needs to receive error notification.
Declare a structure of type MCMAILOBJ for sending instructions.
Enter values for the internal table based on structure MCMAILOBJ
For selection processes, on SY-SUBRC checks and where fields are mandatory for the receiving system; insert Function Module MC_SEND_MAIL.
Enter values in the following parameters: -
MS_MAIL_SENDMODE = B (Batch Mode)
MS_MAIL_TITLE = 'Mail Title'
MS_MAIL_DESCRIPTION = Error description (e.g. MATNR not given)
MS_MAIL_RECEIVER = Name of Receiver (To be determined)
MS_MAIL_EXPRESS = E (Express Delivery)
MS_MAIL_DLINAME = Leave Blank
MS_MAIL_LANGU = 'E' (Language)
MS_MAIL_FUNKOBJ_NAME = Leave Blank
TABLES
MS_MAIL_CONT = I_MCMAILOBJ
Note:
It has to be determined separately for each interface how these errors and mail notifications are to be grouped dependant upon the number of errors that are potentially likely. One possible approach is to send an email for each reason for rejection and include all the records that failed for that reason in the mail notification. Another possible approach is to send an email for every failure.
When error checking for mandatory fields it is common SAP practice to reject a record on its first failure (irrespective of subsequent errors in that record)
Step 7c Send status mail
Append to table I_MCMAILOBJ details of the time the interface was processed, how many Idocs were created and how many of these produced a status of 03.
Select the user to receive the mail from ZINT_RECEIVER, using the name of the program as a key (SY-CPROG).
Use function Module MC_SEND_MAIL to send a mail to the user containing the contents of I_MCMAILOBJ at the end of the interface processing.
Step 8 Test the population of the custom IDOC
via wedi IDoc - Display IDoc or Transaction WE02.
Enter your message type and execute.
Status should be green, double click on one of the Idocs you have created to view its contents.
If a problem has occurred click on Status which will give you a description of the error.
Drop down Data Records arrow and this should list the data in the IDoc in the correct hierarchical structure.
Click on each individual segment and view the content to check that the correct data has been read.
If you have UNIX access by using AL11 you can view the file that you have created.
Note:
For some interfaces it may be valid to send an empty file to SAP. This empty file is converted to the custom IDOC format expected by SAP. This custom IDOC will contain dummy information. In the inbound processing code, if the dummy information is identified then the processing of the IDOC is considered to be complete and the IDOC should then be assigned a successfully processed status of 53, even though it has not been processed at all.
Regards
Anji -
Idoc Status error 29 for Out bound Idoc( Receiver of IDoc is its own logic)
I try to create the Out bound Idoc with messag type WMMBXY ( basic Idoc type - WMMBID02 ).
which is configured with the out put type XXXX in VT01N( shippment creation). But I am getting the error status 29 in the Idoc.
Only I am passing the sender, receiver port , partner type and partner function to the communication structure.
Could you please tell me , what is the issue with the partner type configuration .Hi,
Error 29 occurs when there is an incomplete or no partner profile maintained.
Check whether you have done the correct partner profile settings in WE20 outbound parameters.
For the partner no defined in Idoc check whether there is an entry(under partner type LI, KU or LS)
with correct message type WMMBXY and Idoc type WMMBID02. Also check for message function code.
Regards,
Savitha -
Hi,
Can any one let me know about the out bound IDOC ststuses.
In our system the Out bOund IDOC's are being in status 03, they are not moving to 12. Can any one please let me know why it is not moving to status 12.
Regards,
Ravi GHi
Please execute RBDMOIND program you will get change status 03 to 12
Thanks,
Murali -
Sales Order no and IDOC No Link table for Sales Out bound IDOC ORDRSP
Hi Friends
How to find Sales Order no and IDOC No Link table for Sales Out bound IDOC ORDRSP.
Thanks in Advance.
SRHi
If the idoc is managed by message, the link are stored in GOS (Obeject Service)
U can try to use the function module NREL_GET_NEIGHBOURHOOD
If you put
IS_OBJECT-OBJKEY = <sales document>
IS_OBJECT-OBJTYPE = <business object> (I think BUS2032)
the function returns the idoc
or if you put
IS_OBJECT-OBJKEY = <idoc number>
IS_OBJECT-OBJTYPE = <business object> (I think IDOC)
the function returns the sales order
You can investigate that function module in order to find out the tables
Max -
I am receiving bills from my carrier with very high data usage. I read books from apple store. Do ibooks use gb once purchased?
To reduce data usage, you should put iPad on Aeroplane Mode to stop all background activities when not using iPad.
Message was edited by: Diavonex -
Identify tables from where the function module extracts data for the ES
Hi All,
For the datasource, 0CRM_SALES_ORDER_I in the CRM system, we need to add a new field (in the table level). This datasource's extraction type is 'F1 - function module'. Is the extractor itself is this function module? If it is a sepeate FM, where can we find the function module name used for this datasource?
We need to identify the tables from where the fields in this datasource fetch data from. Where can we find this information?
To be specific, in the sales order in tcode crmd_order, if we goto conditions tab and create a new condition, in what table this will get stored?
Thank you in advance,
HariIgnore this thread! there is another thread I have created for the same problem.
I created only one; wonder how it became two!! -
Dear All
I am trying to send the equipment details via idoc from SAP to outside,
Could you please help me in getting to know what standard idoc or message type
I can use and where I can trigger the idoc.
Amol SonaikarHi,
Check this link for details :
http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml
check these steps :
1.Go to the Data Element of the field and check whether change doucment option is checked or not .
2.change the value of the field and check the entries in CDHDR and CDPOS.here u can check the change document object and table .
3.check BDCP table also incase of ALE.The program RBDMIDOC generates IDOc when there is an entry in BDCP.
if not check the following config
1.BD61- change pointers activated -generally
2.BD50 -Activate change pointers for ur message type
3.BD52 - add the triggering fields and corresponding tables and change document object.
Please check the entries in BDCP table ,if u find the entries execute the program RBDMIDOC
Regards
Appana
*Reward Points for useful answers -
WS TO IDOC ERROR in the OUT BOUND STATUS
HI all,
This question remains unresolved I have Provided the trace contents as asked by XIans.
I am Again sending the contents of the trace.
Please let me know where the problem is?
Thanks,
SrinivasaPsrini
check with the steps in the blog:
<a href="/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi steps required for posting idoc's(XI)</a>
also
<a href="/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 to simple(File-XI-File)scenario and complete walk through for starters(Part1)</a>
<a href="/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 to simple (File-XI-File)scenario and complete walk through for starters(Part2)</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098">Steps to Configure IDoc</a>
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660">Sample IDoc scenario</a>
ensure that ur config is in sync. This shud help. Also take the xml payload and test the mapping. If any error in mapping it can fixed then and there.
PS: Try not to post the same issue in a new thread as it will be difficult to organise. Def you post will be answered. -
Hi All
Does any body knows the user exit when the Post Goods Issue is Done. I neet to generate a IDOC at that point. can any body help me with that.
or know the Selection program for IDOC DELVRY03
cheers
AJHi
I think we can handle this using output types.
Ask your functional consultant to create a output type (Medium 5) and assign a routine (VOFM).
In the routine check whether PGI is done.
If yes, get the output type triggered, by setting sy-subrc = 0.
Do the necessary outbound partner profile settings.
Than it should work
Regards
Madhan -
Can any one send me sample program for
DEBMAS Idoc outbound proces with change pointersHi,
Check this link for details :
http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml
check these steps :
1.Go to the Data Element of the field and check whether change doucment option is checked or not .
2.change the value of the field and check the entries in CDHDR and CDPOS.here u can check the change document object and table .
3.check BDCP table also incase of ALE.The program RBDMIDOC generates IDOc when there is an entry in BDCP.
if not check the following config
1.BD61- change pointers activated -generally
2.BD50 -Activate change pointers for ur message type
3.BD52 - add the triggering fields and corresponding tables and change document object.
Please check the entries in BDCP table ,if u find the entries execute the program RBDMIDOC
Regards
Appana
*Reward Points for useful answers -
When ever the employee is terminated the comm idocs should be sent to basis ,CRM and SRM systems
But in our case when ever the employees are terminated
equal number of comm idocs are not being triggered for all the systems
For instance
If 10 users are teminated today
10 users,10 communication idocs to basis ,7 to CRm and 7 to SRm systems
For a few users communication idocs are not triggered to CRm and SRM
Please help
Thanks in advanceHi,
Check in transaction SU01D if the users for which IDocs were not generated are maintained for the respective SRM and CRM systems.
~ Bineah. -
Getting valid idoc number from the sales document
hi,
Iam sending the code for getting the idoc number from sales document.
but iam not getting the result.
please see the code and correct the code so that i will get the idoc number from the sales document.
tables edid4.
data l_docnum like edid4-docnum.
parameters:p_vbeln like vbak-vbeln.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = p_vbeln
IMPORTING
OUTPUT = p_vbeln
select single docnum from edid4 into l_docnum where sdata like '&p_vbeln&'.
if sy-subrc = 0.
write edid4-docnum.
else.
write ' the record is not found'.
endif.
it is very urgent..............
thanks in advance......See the below code :
report zxyz.
tables edid4.
data l_docnum like edid4-docnum.
parameters:p_vbeln like vbak-vbeln.
<b>data sdata like edid4-sdata.</b>
start-of-selection.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = p_vbeln
IMPORTING
OUTPUT = p_vbeln
<b>concatenate '%' p_vbeln '%' into sdata.</b>
select single docnum from edid4 into l_docnum
where sdata like <b>sdata.</b>
if sy-subrc = 0.
write edid4-docnum.
else.
write ' the record is not found'.
endif.
Thanks
Seshu -
How to fetch data from PTREQ tables
I need to display data in the customised webdynpro application from PTREQ tables.
Can anyone help me out how to fetch data from these tables.use the standard modules like
PT_ARQ_REQUEST_CHECK
PT_ARQ_REQUEST_EXECUTE
PT_ARQ_REQUEST_PREPARE
Maybe you are looking for
-
Problem with updating Time component of an Oracle Date field in ALBPM
Hi. I'm new to ALBPM and am experiencing the following problem I hope someone can take the time to help out with. I'm using a Date and Time Picker element in a Form to enter the date and time information. Within ALBPM the date and time representation
-
Passing parameters to a Crystal Reports JavaBean connection
Hi, I'm trying to pass a parameter to a CR XI JavaBean connection. So far I can read and show a String parameter in the report, but I'm unable to pass it to the getResultSet(String aParameter) method that provides the ResultSet. The Crystal Reports e
-
Is it possible to run any web based dreamweaver application in linux? What are the Operating system that Dreamweaver application supports? Please reply. It's urgent.
-
I have downloaded a free trial version of photoshop and they ask for a serail number in the installation that I don't have...
-
Multiple target images for disjoint rollovers
I have one large image on the left that serves as the target (area?) and 4 smaller images on the right that should serve as four separate triggers. When moused over, each trigger should cause a separate image to appear in the trigger area. I've been