Trigger IDOC based on type
Hi Frndz,
I want to trigger outbound ASN based on "Shipment completion" that is present in VT02n. I want to create IDOC if Shipment Completion for sale is set to "DC". I want to stop IDOC creation when it is set to "SL".
How can i do this ?
Points will be awarded
Thanks in advance
can anyone give me a idea or suggestion?
Similar Messages
-
How can we trigger an IDOC based on Orders creation.
Hiii...experts,
After searching alot in SDN i am taking this very commonly asked to experts in the hope of a better understanding.
If i create a sales order means.. i want to trigger a IDOC based on certain Condition on ORDER data .. how can we do this..
when ever i'm creating a sales order it should be automatically trigger a IDOC , Because when ever sales ordre was created in R/3 system it should be transferred to some destination...
And pls tell me about the reports that does the job of collecting required data from the sales order and converts it into a IDOC.
so, how can we trigger an IDOC based on Orders creation..
pls help.
Ram.Use IDOC_OUTPUT_ORDERS for creating IDOC
you need to maintain condition records & output type
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 10, 2008 4:18 PM -
IDoc based asychronus data transfer
Hello Experts,
IDoc based asynchronus data transfer from a non-SAP application to BW is required to be set up.
I understand that SOAP based XML data transfer will achieve the same goal - however our requirement is to use IDocs. It would essentially be a push type of extractor sending data to BW asynchronusly.
Has anyone tried this before? Please share your experiance/ideas.
Thanks,
Yogesh
Message was edited by: Yogesh Baviskaryou will have the option when you create the infocube. select "Data transfer wth Direct Access" option. Then you create the DTP by giving the data source details.Once you have created the DTP, right lick on cube and select activate direct access.
-
How do I execute IDOC for message type LOIPRO
How is it possible to execute IDOC using message type LOIPRO which I have configured with change pointers? Change pointers are using object ORDER.
I am looking to only generate IDOC for production order changes / updates that meets the criteria set by the change pointers. If something in the order changes, but that field is not being looked at by change pointers, I don't need IDOC to pick up that order.
I don't want to have to run RCCLTRAN or RCCLORD on a scheduled job. Only need to have activity if change pointers are activated. Am I going down the wrong road using LOIPRO ?Hi Bob,
Could you please guide me through the process of creating/triggering a change pointer based LOIPRO? Your help much appreciated.
Tabraiz -
Get Archived IDocs based on IDoc creation date
Save Our Environment. Save Yourself.
Hi Experts!!!
We need to get the archived idocs based on the idoc creation date. If I give some date, then I should get all the idocs that are archived in that period. How can this be possible?
One more doubt is - I checked the logical path in FILE for archived idocs. But when I go to that in AL11, I can not see any data in that. Where can I find the details of all the archived idocs?
I serached in SCN for the same but in vain.
Please help me out. Thanks.
- I'm not an environmentalist. I'm an Earth warrior.Please find the code to read archeived idocs
FORM read_datarecord.
STATICS ls_open TYPE boolean VALUE false.
DATA: ld_tabix TYPE sytabix,
lt_edidc TYPE STANDARD TABLE OF edidc,
ld_edidc TYPE edidc.
MOVE syst-tabix TO ld_tabix.
IF int_edidc-mandt IS NOT INITIAL.
ELSE.
IF gd_use_as IS INITIAL.
IF ls_open = false.
CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ'
EXPORTING
object = 'IDOC'
IMPORTING
archive_handle = gd_archive_handle
TABLES
archive_files = gt_arch_sel.
MOVE true TO ls_open.
ENDIF.
CLEAR ld_edidc.
WHILE ld_edidc-docnum <> int_edidc-docnum.
CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT'
EXPORTING
archive_handle = gd_archive_handle
EXCEPTIONS
end_of_file = 1.
IF syst-subrc IS INITIAL.
REFRESH lt_edidc.
CALL FUNCTION 'IDOC_ARCHIVE_GET_TABLE'
EXPORTING
archive_handle = gd_archive_handle
record_structure = 'EDIDC'
TABLES
t_data = lt_edidc.
READ TABLE lt_edidc INTO ld_edidc INDEX 1.
IF ld_edidc-docnum = int_edidc-docnum.
CALL FUNCTION 'IDOC_ARCHIVE_GET_TABLE'
EXPORTING
archive_handle = gd_archive_handle
record_structure = 'EDIDD'
TABLES
t_data = int_edidd.
ENDIF.
ELSE.
EXIT.
ENDIF.
ENDWHILE.
ELSE.
CALL FUNCTION 'EDI_IDOC_GET_FROM_ARCHIVE'
EXPORTING
docnum = int_edidc-docnum
TABLES
int_edidd = int_edidd
EXCEPTIONS
idoc_not_in_infostructures = 1
idoc_read_error_from_archive = 2
archive_close_error = 3
others = 4.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF.
IF ls_open = true AND ld_tabix = anz_int_edidc.
CALL FUNCTION 'ARCHIVE_CLOSE_FILE'
EXPORTING
archive_handle = gd_archive_handle.
ENDIF.
ENDFORM. " READ_DATARECORD
PS if you don't have auth to SARA then get auth . you need to talk to your business owner or talk to basis to get auth -
Trigger IDoc when outbound documents are deleted
Hi Experts,
I am working on a scenario where in when delivery document is deleted then we need to have a IDoc to be triggered and sent to the receiver.
I understand that when we create/change delivery, there is a way to trigger IDoc (i.e., through message control). But when we delete a delivery, I am not sure, we have standard mechanism to trigger an IDoc. Can we have a standard way of making this happen?
Thanks & Regards,
Suraj KumarHi,
In the NACE transaction, Click on the APPLICATION V2 and create a new OUTPUT type with Z as prefix
In the Processing Routine Tab in the control data enter the MEDIUM as 6 which is the EDI and maintain the PROGRAM & SMARTFORM as developed by the ABAPer
Now maintain the CONDITION RECORDS with the MEDIUM 6 and the LS as Partner function
Now with the Help of your ABAPer, define the PARTNER PROFILES in WE20 and the Message types .
This will trigger the OUTBOUND idoc to the other system.
Please check these settings and revert back if you need more details
regars,
santosh -
Trigger Idoc for MIGO Goods Receipt
Hi,
We have an output type created and configured for ALE (dist model). The output type is also enabled with 'Partner Indep-output' in NACE. The program that is attached to it is 'RSNASTED' and form routine 'ALE_PROCESSING' yet while processing we get an error 'incorrect partner type' in output log once the GR is processed. Would like to know how to overcome this issue and the config fix to be in place to trigger idoc for a GR via MIGOoption 1. go for special f/n in the output type config and need to write a program to create and post the idoc
option 2. copy rsnasted and havae the required changes there which is then set in the output processing routines (NACE)
option3. drop the requirement -
How to trigger idocs when GR is done
Hi Guru's
Need to trigger idoc's when GR(Goods Receipt by Order(Supplier))is done(Idoc type: DELV01, Message type WHSORD).
How can this be done for MIGO as there will not be any output type for MIGO.
(EXample for sales order we do have output type to trigger idocs)
Thanks!Hi Prince,
As mentioned earlier, you can configure output type for ME (Inventory Management) in transaction NACE. You can copy existing WE01 output type and configure your custom type for your suppliers(vendors).
You or functional team has to set up a procedure in NACE transaction to automatic determination of your newly configured output type.
Once you are done with output type configuration, you need to maintain partner profile for your related vendors in transaction WE20. You need to maintain outbound parameters like partner type, role, message type, etc in partner profile.
I think now you are ready testing. Good luck!!
Regards,
Pranav -
How to Trigger IDOC for GR in SAP?
Hi Gurus,
I am making the configs for triggering an IDOC whenever a GR document is posted. Could you please advice on what are the configs need to be done and also on the Message type for the Idocs on the same?
Thanks in Advance,
SaakithyanIt is possible.But you need to maintain output condition record to trigger idoc once GR is posted.
Check below Idoc message types this may help your requirement
MBGMCR01 BAPI Posting of goods mvts with MB_CREATE_GOODS_MOVEMENT
MBGMCR02 Post goods movements with MB_CREATE_GOODS_MOVEMENT
MBGMCA01 Reverse goods movements with MB_CANCEL_GOODS_MOVEMENT -
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. -
Quantity based condition type for excise duty calculation in tax procedure
Hi,
If any one has worked on the issue of excise duty calculation on Quantity of items purchased Quantity based condition type.
[<b>For a formula based calculation procedure TAXAU]</b>
Example : If quantity purchased = 10 units
Duty to be calculated @ Rs.3 per unit
Duty on the 10 units = Rs.30
Other than SAP Note 816835 any help is appreciable.
Thanks a lot,
Uma
Message was edited by: UmaI could not find this condition type/Tcode in our client system.
Even we are on 4.6c.
Thanks,
Message was edited by: Uma -
Creation of IDOC with message type INVOIC01
Hi All,
I am trying to create a new IDOC with message type INVOIC01.
When I see transaction WE81, I observe that the required message type INVOIC is available. Also in WE82 the basic types INVOIC01, INVOIC02 and INV_ID01 are attached to the message type INVOIC.
However, while trying to create an IDOC in WE19 using a message type, I get options to create against INVOIC02 or INV_ID01. The basic type INVOIC01 is not getting populated because of which all the IDOC that I create are of basic type INVOIC02.
The client wants me to create IDOCs with basic type INVOIC01.
Can anyone please help?
Thanks in advance.
regards
NagarajanHi Nagaraj!
I've looked at the documentation and did not find information, which would help me. Should I use in my case z-segment to put extra lines or there is some qualifier in segment E1EDP02 (Document Item Reference Data), which triggers to another referencing (not PO or delivery note)?
Thank You,
Natalija -
Inserting a row in a schema-based xml type column
i have problems while inserting a row in a schema-based xml type column
it reports an error(schema and elemnt do not match)
although they are matching if anyone can try it
and if it worked plz send me the exampleSQL> DESC XML_TAB;
Name Null? Type
XML XMLTYPE
SQL> INSERT INTO XML_TAB
2 VALUES
3 (xmltype('<request>
4 <filter>(extshortname=bhagat)</filter>
5 <attributes>dn</attributes>
6 <context/>
7 <scope>subtree</scope>
8 </request>'));
1 row created.
If your problem persists,post ur lines of code..
Good luck!!!
Bhagat -
Splitting Purchase Order Idoc based on qty
Hi All,
I am having a requirement wherein i have to insert multiple line items in purchase order idoc based on quatity .Eg if the line item qty is 3 then the same line item has to be repated for 3 times and purchase order idoc has to created with 3 line items.I am trying to do this User exit EXIT_SAPLEINM_002 which is used Customer Enhancements to Data Segments: Purchasing Document (Outbound ).Can anybody tell me how can i go ahead inserting multiple lineitems in purchase order idoc based on the qty.So, Can anybody know how to handle this scenario? Also, can you please let me know whether is there any standard procedure for handling this scenario
Thanks in advance
Regards
SaravanaHi,
Use t.code ME2M or ME2N , enter account assignment category A & then choose selection parameter WE101 (open goods receipt) and execute.
Regards,
Biju K -
Creating idocs based on invoice number ocurrences
Hi ,
I want to create idocs based on invoice numbers .
Lets say i have a file coming in from sender system
Invoice1 material customer value
Invoice1 materail1 ..........
imvoice2 material2.....
invoice2 material1.....
invoice1 material3..
Invoice3. material4....
So for Invoice1 only one Idoc should be created similarly for invoice 2 which is ocurring twice in the file
only 1 idoc should be created
Let me know how to achieve this .. by UDF , or by split by value
please help
thnx
ChirdipHi,
Change the IDOC occurance to 0-unbounded.Export the xsd change the occurance and import it to external definition.
Map Like below:
invoice number--removecontext--sort--splitbyvalue(valuechange)--IDOC
other fields you need to map like below.
invoice number--removecontext--sortbykey--SplibyValue(Each)---IDOC fields
source field----removecontext------
Regards,
Prakasu.M
Maybe you are looking for
-
Variable WT not working .. PLEASE HELP!
Hi All, I am writing (What should be) a simple PCR, to write the contents of a Wagetype in to a variable (Below) WGTYP? ADDWT * 6220 ADDWT * PRINT ADDWT&V622 PRINT But when I ru
-
Can't get Firefox to work properly behind corporate proxy
I am forced to use Firefox behind our corporate proxy and have to continually make exceptions just to get to sites, but even this doesn't always work. I don't know much about certificates, but I know certificates are issued by our organization for ea
-
How to change the paragraph style of every paragraph that only contains an anchored object?
Hi, I have a document in word that needs to be converted into indesign. The document containts instructions, each step followed by an image. I've managed to import the document into Indesign, and applied a paragraph style with numbering to everything
-
The APP STORE app on the iPhone 4S not working correctly for UPDATES now.
It used to be, when I had APPS that needed to be updated, I would see a badge on the APP STORE icon with the number of apps that needed to be updated. Then I could tap on the icon for the APP STORE, and I would see the UPDATE button showing the badge
-
i have a website that i am redesigning. The website is made up of png images. unYaaaaY!!!!! A friend said that there was a way that i could use illustrator to pull the text from the png and copy to pages for editing. He cant remember how it was done