Sales Order - Output Type EDI
Hi All,
I am working on an SD requirement in which I get Perchage Order from third party through IDoc (Basic Type ORDERS05).
After receiving this IDoc I have to create a Sales Order (that I am doing using FM IDOC_INPUT_ORDERS). Here as soon as Sales Order gets created, an Outbound IDoc gets triggered (Message Type - ORDRSP) for confirmation. This outbound idoc gets created every time I do any change in sales order items. Every thing is visible in trasaction.
My problem is, I want to get all the outbound IDocs triggred in a particular sales order in my Z program.
Please let me know if there is any 'Table' or 'Function Module' or any other way to get them.
Thanks !!
Hi Immanuel,
Thanks a lot for your ans !!!
It solved my prob.
Many Thanks ....
Rewarding you points for this
Regard,
Neha
Similar Messages
-
Hi Friends,
I am facing below mentioned issue and request your suggestion to solve it
Via processing of sales order output type BA00 another Z output type is processed and acknowledgment is sent to SAP inbox( sost).
This is working incase of manual addition of BA00 output type and via standard program " sd70av1a", but this functionality is not working when i am calling this standard program in a Z report via batch job.
with the below code-
DATA: name TYPE tbtcjob-jobname.
DATA: number TYPE tbtcjob-jobcount.
DATA: print_parameters TYPE pri_params.
name = 'ORDER_PRINTING'.
CLEAR: range1.
*REFRESH: range.
range1-sign = 'I'.
range1-option = 'EQ'.
range1-low = 'BA00'.
* range1-high = 'ZBA1'.
APPEND range1 TO range.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT sd70av1a WITH rg_kschl IN range
WITH rg_vbeln IN order_tab
TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
In this case only BA00 is getting processed but Z output type created for sending acknowledgment is not triggered.
Please suggest how can i achieve the required functionality.
Thanks,
SuryaSolved myself..
Thanks.
Br,
Surya -
Regarding finding out Partner function based on Sales Order/Output Type
Hi All,
<b>I have a issue in finding out Partner function[PARVW], Message partner[PARNR], Message transmission medium[NACHA], Teletex number[TELTX], User name[USNAM], Message processed manually[MANUE], Country Key[TLAND] and some other fields all are related to NAST table.</b>
Actually we have one script which is already working when we run from from <b>VA02/03</b> for single order.
When we execute from <b>VA02/03</b> all <b>NAST</b> table entries are filled up and by using those entries we are fetching remaining entries and displaying them in Output.
Now we are developing another program where we will have a selection screen with <b>Sales order, Output Type & Order Type</b> and execute the program and then we will get list of sales orders in <b>ALV list output</b> with check boxes before every record.
Now if we select one (or) multiple records from there and click on Print Prevview button i am calling above <b>SAP Script Print Program</b> but now in that P.Program we will not have any <b>NAST</b> table entries other than Sales Order and Output Type those can be moved to [<b>NAST-OBJKY, NAST-KSCHL</b>].
But here what about other fields in <b>NAST</b> table like <b>PARVW, PARNR, NACHA, TELTX, USNAM, MANUE, TLAND</b> etc.
How can we get them as we are exclusively using those other <b>NAST</b> table entries in above <b>SCRIPT/Print Program</b>.
Can anybody solve this issue!
Thanks in advance.
Thanks & Regards,
Prasad.Check this FM
WFMC_MESSAGES_SELECT
example
tables : nase.
constants: appl like nase-kappl value 'V2'.
select-options:
rg_nacha for nase-nacha default '1',
rg_kschl for nase-kschl.
ranges: rg_objky for nast-objky.
data:
msgs_1 like msg0 occurs 100 with header line.
*-Fill Object Key
*-Execute fm
call function 'WFMC_MESSAGES_SELECT'
exporting
pi_application = appl
pi_processing = '1'
tables
ri_medium = rg_nacha
ri_type = rg_kschl
ri_object = rg_objky
tx_messages = msgs_1. -
For some sales orders output type is not showing even thoug configured in N
Hi ,
I have 100 sales orders out them 10 sales orders out put type is not appearing in VA02->goto->OUTPUT->HEADER->EDIT
In Tcode : NACE every thing is configured accordingly.
As an abaper what can I do.Hi,
1. go to transastion VA02.
2. enter the sales order number for which you are not getting the output type
3. go to > extras>output--> header >edit> you will get the output messages window
4. In Application tool bar you find the ICON i (determine analysis ) or press cntr+F1.
5. in analysis out put you will find the reason why the output type is not getting selected. -
Sales order output type is on header level, but output trigger is based on
line item user status.........
Order Confirmation is sent to the customer once confirmed.
Depending on the scenario and the systems involved in the process, the trigger to send the Order Confirmation from SAP is differ. The user status will be used as the trigger, however different statuses will be used depending on the scenario.
Client wants all items on a Sales Order to appear on the Order Confirmation. What this means is that once an Order Confirmation is triggered at the item level an Order Confirmation will be issued and include all items on the Order.
For example, a sales order (123) contains 3 items (10, 20 & 30). The first item (10) is passed user status (which required triggering an output) and the status is updated, the other two items were not passed to that user status which required triggering the output. The output should be issued based on one item meeting the qualifying criteria . The Order Confirmation should contain all 3 items. The first item (10) will show on the Order Confirmation as confirmed qty on a specific date at a specific price. Items 20 and 30 will show on the Order Confirmation as Pending. When the second and or third items are confirmed, another Order Confirmation will be issued showing again all 3 items and the whether they have been confirmed.Hi!
Sounds like you need a line-triggered output (with a message, which displays all lines of the order).
Do you have problems to create a new output type?
Regards,
Christian -
Sales Order output type???????
My requirement is Sales Orders created have the option of printing a Sales Order Confirmation output report; this is controlled by condition records. The user may alternatively choose to re print the document by selected the output and printing.
Its for condition type ZB00. The new format should be as below,
Here could please give me the delivering plant , how we get the below bold color info? what is relation between plant code and name 1,name 2 and city field? possible give me the info for all beow fields and their relationship
<b>Delivering Plant:<Plant Code></b>
<b><Name 1> <Name 2>
<City> </b>
Message was edited by:
sanjana KHi,
With the help of VBAP-WERKS go to the table T001W and fetch the Plant, and its address and use them .
Create a Character format 'B' for bold(if it is not there) and use that for the fields to display in bold.
reward points if useful
regards,
ANJI -
Table for Sales Order - Output Type - Processing Check
Hi all,
We have around 300 Sales Order, where we need to check weather Sales Order Acknowledgement (Custom) Output Type is processed or not?
With the help of condition record setup we beleive all the Sales Order have got the output type assigned, but we need to know, is there any way from any SAP table, we can check the output is processed or not.
Also, let me know is there any way some table can we check, all the sales order have got the output type assigned?
<Text removed by Moderator. Priority normalized.> Please help.
Thanks
RSYou can use Table NAST.
Field
Field Desc
Reference
KAPPL
Application
Application type
V1 - Sales
V2 - Shipping
V3 - Billing
OBJKY
Object key
Sales Order - Header Output
Sales Order + Item - Item Output
KSCHL
Message type
Output Type
PARNR
Partner
Customer Number
PARVW
Partner Role
Partner Function - SP
NACHA
Transm. Medium
MANUE
Msg. manually
DATVR
Processing date
UHRVR
Processing time
USNAM
User name
VSTAT
Processing status
LDEST
Output Device
TCODE
Communication strategy
OBJTYPE
Object type
BUS2032 - Sales Order
LIKP\LIPS - Delivery-Header\Item
VBRK\VBRP - Billing-Header\Item
Thanks, JP -
Automatic Billing Creation Through Sales Order Output Type
I have requirement to create Automatic Billing document when Sales Order has been created.
Any Suggestion.
Regards
Vijay MauryaHi,
it is not supported by standard SAP.in cash sales and rush orders, delivery will be created automatically because of the settings assigned in their respective sales document types.u please check VOV8 t-code.go to the details of BV(CS) and RO.there, Create Delivery field is there and shipping conditions should be 10.
for ur requirement, u contact ur ABAPer and ask him to put one field like Create Billing Automatically in ur sales document..then it may be possible..
hope it helps..
regards..
yogi.. -
Send a text Doc as attachment to mail-id through sales order output type
Hi,
when i create a SD document and select an output type and external mode before i save the document, it generates a PDF document as an attachment and sents an email. I would like to send a text document as an attachment. Can anybody please tell me the procedure to convert or send the text document as attachment.
Thanks,
RaviHi Ravi sirigiri,
Donot convert the data into PDF just pass the OTF data to the
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = W_DOC_CHNG
PUT_IN_OUTBOX = 'X'
commit_work = 'X'
TABLES
PACKING_LIST = I_OBJPACK
CONTENTS_BIN = I_OBJBIN
OBJECT_HEADER = W_OBJHEAD
CONTENTS_TXT = I_OBJTXT
RECEIVERS = I_RECLIST
Regards,
Sravanthi -
Header condition type value not displayed in sales order output
Hi gurus,
I have observed a strange issue regarding a header condition in a sales order.
we have a set up like following:
1. If the Header condition XXXX is used in sales Order then this value should be printed on sales order output.
2. If the Header condition mentioned in above point is not maintained in sales order it should print the total price of all line items.
Though i have maintained the header condition value in Sales Order Header its not displayed in SO output.
That is , I have a sales order and it has one HEADER condition type entered with 3500 USD.
In fact this value is used for some business purpose and is being printed on the sales order output for a specific output type.
But where as in a sales order this header condition value is not getting printed on the output though I am using same data as of the sales order which is having the header condition value printed on its output.
According to business,we must have the header condition value printed on sales Order output.
Please suggest how to proceed.
Thanks in advance.Not sure if you are using costom smartform to print invoice, if yes then ask developer to debug and find the root cause and fix it.
You might need to give him condition when it shuld be printed and when not.
You can take reference of another output type for which it is printing -
I have to send the sales order output via mail to a customer
have to send the sales order output via mail to a customer, what steps i have to follow
kindly guide me.
regards
satyaHello,
You need to carru out your output configuration for this.
Use tcode, NACE where you can do this centrally.
Select V1 & click on output types above
Select output type MAIL for your requirement & use tranmission medium as simple mail.
After configuring your MP mail partner functions & use of proper output program you will be able to send mail to your party.
Hope this is helpful to you.
Regards,
Dhananjay -
Which table stores the Sales Order--Header--Texts--EDI Text?
Hi Experts,
I hv a requirenment regarding the Sales Order -> HEADER -> TEXTs -> EDI Text-Int, so, I need to hv some Orders(#). which does hv this text on them, for as test data.
So, I am looking which table stores, this text for my_sales_oders_12345678.
[ actually, i got some info from sdn, like,
Table TTXOB -> stores Texts: application object for Sales order header it is always VBBK i.e. field TDOBJECT = VBBK.
Now all the text types i.e. text ids are stored in table TTXID
So fetch all text ids(TDID) from this table based on TDOBJECT = VBBK. And its descriptions are stored in TTXIT table.
but, no use this ]
thanq
Edited by: Srinivas on Jul 10, 2008 11:06 PMHi Srinivas,
Generally to access the text we use READ_TEXT function Module.
we need to pass the four parameters
ID
LANGUAGE
NAME
OBJECT
You can find these parameters in the sales order it self.
Goto ---> Header ---> Texts
Now double click on the text it takes you to the Text Editor. You can find the screen Display Form Header . In this goto Menu Path Goto ---> Header. You get a screen Text header. Here you can find the these parameters.
Text Name
Language
Text ID
Text Object
You need to pass these parameters to the function Module to text the text.
You can also fins the text in Table STXH
Best regards,
raam -
How to create a Sales Order through an EDI configuration.
Hi
How to create a Sales Order through an EDI configuration.
Tell me the step-by-step procedure for this.
Any power point presentation would be fine.
Cheers
MaruthiHi,
You can go to these links to know little bit about sales order creation through EDI/ALE by means of IDOCS.
http://www.riyaz.net/blog/index.php/2008/01/19/beginners-guide-to-ale-and-idocs-a-step-by-step-approach/
Sales Order Idoc Extension.
http://www.*******************/2007/11/abap-idocs-basic-tools.html
For any specific information, just do a google search(information like message t ype, IDOC type, Functoin module, etc. You will definitely get the information you are looking for
Please reward if this helps you -
Re: Sales Order OUtput( V**) v/s Billing Output ( VF31)
Hello Friends,
In Standard SAP, we have VF31 - Output from Billing , where we can choose the Invoice we would like to print.
I would like to have the same functionality for Sales Order Output.
In Standard SAP , there is no such functionality where we can choose the Sales orders which we want to print.
Pl. let me know what type of enhancement would be required to achieve the above mentioned functionality.
Thanks a lot in advance,
Julie.Hi,
There are two options for you.
1.Using the standard program "RSNAST0D".
Goto SE38,Enter the Program name as "RSNAST0D".
Execute or press F8.
In the selection screen,Enter the Application as "V1".Selection type as "2(for repeated processing)".
Execute.
You can make this one as a T.Code also by using the transaction SE93.Ask your ABAPer for this.
You can use the program "RSNAST0F" for monitoring the incorrectly processed output".
2.For VF31,it uses a standard program "SD70AV3A".
Make a copy of this one and change the necessary tables etc. for this so that the screen is also similar to our VF31.For this ask your ABAPer to develop a Z program.
Regards,
Krishna. -
How to print one sales order output from two printers using single command.
Dear all,
Our requirement is to print single sales order from two different printers, where as one printout for sales order output and another for sales order cash receipt.
We developed two smartforms for both outputs.
But we are struggling to assign the smartforms to single document type, which has to result two printouts after saving the sales order.
Please help us to solve the issue.
Your suggestions will be highly appreciated.
Best regards
Raghu ramHi,
You should define two different output type for your requests, one is for SO output, the other is for SO cash receipt. That's okay!
Good luck
Z.T
Maybe you are looking for
-
Hi, we have apex 3.1.2 running in Oracle 10g and we have to upgrade to 11g. i understand that apex 3.0 installs with 11g. could you guys please guide if any documentation is present for such an upgrade. Thanks CKLP
-
How to install the Workflow Manager for ?
how to install the Workflow Manager for ? where can I find the information ?
-
VALUE NOT PASSING FROM 1 PAGE TO OTHER PAGE ?
Hi friends I have bsp application with 3 htm pages. I have a input value in first page like i_matnr. If i give input material no its valu is coming in second page. But its not coming in 3rd page.So what i have to do? Moosa
-
Hello, Recently a bunch of new cost centers were created which will be used in posting payroll. We are getting an error during posting because there are no entries in table CSSL for the new cost centers and the corresponding activity types. How do
-
Maximum number of AP supported has already joined cisco
Dear all, We have vWLC, AP connected through MPLS network, we also have ap base license for 15 AP, the problem is that AP cant joint to WLC because of this error: Maximum number of AP supported has already joined cisco WLC shows that all 15 licenses