Finding batch job name for sales order change (billing block)
hi,
there is a tab known as billing block in the sales order.
now a batch job ran which removed this billing block and released the sales order for delivery and PGI activities.
we have the information regarding the date and time on which this batch job ran but the job name is unknown.
also we tried in SM37 which gives no details.
we have information regarding the user name of the batch job but name is unknown.
help us in finding the batch job name with the above mentioned available data.
it is a very high priority.
thanks in advance
Rahman
Hi ,
in SM37-->
a)Set the Job start condition ( dates ) --You have information --YOu can keep them blank if you don't have the information. But it will fetch all the batch jobs of the user.
b) user Name -You have information
c_ use '*' in place of Job name
Then this will fetch you the Batch Job name . Then Check step --> you can find the program name.
You can check the Log for job details like when started and when completed.
Regards,
Lanka
Similar Messages
-
Batch job creation for sales order
Hi,
How to create a job and schedule it so that it assigns reason of rejection to sales order line items for a particular sales org which are not delivered and after doing so, the status of the sales order is set to complete.
regards
sachinHi,
Execute transaction SM36
Define Job name, Job class, Target server
Click on 'START CONDITION' button
Click on 'Date/Time' button
Enter Scheduled start DATE & TIME. Check mark 'Periodic Job' field. Click on 'Period values' button and select 'Hourly' or 'Dialy' or 'Weekly' or 'Monthly' or Other period and SAVE. Go back to main screen.
Click on 'STEPS' button and enter Program name and Variant under box 'ABAP Program'. Click on 'Print Specification' button and enter Printer name under 'Output device' and SAVE
Click on SAVE button until you get message on bottom of the screen that describes 'Job XYZ saved with status: Scheduled'.
Click on 'Job overview' button or execute SM37 transaction.
Select the appropriate 'Job name', 'User name', 'Job Status' & Schedule date under 'Job start condition' and click on 'Execute' button or press F8.
You will now see all your scheduled JOBS.
regards,
mahantesh -
Table for sales order change by field
Dear Friends,
I want to get the data @ table level for the list of sales orders with changed by field. Can you please tell which table/s for sales order change by field can be used?
Thanks,
pinkyHi
You can get the changes for SALES ORDER item in CDPOS table
Goto SE16 and find the changes.
hope it will serve your purpose.
thanks,
santosh -
Table Name for Sales Order Header Text.
Hi.
Whats the Table name for Sales Order Header Text???
Reg,
AmolHi Amol,
please Try to check the below link
http://scn.sap.com/thread/1361272
http://scn.sap.com/thread/416757
https://scn.sap.com/thread/1909247
https://scn.sap.com/thread/811915
Regards,
Gurunath -
Table name for sales order with Customer info
Hi Gurus,
Could you please provide me table name for sales order with customer no and customer name.
I have list of sales order number (more than 1000 no's ) i need to identify customer number and customer name (ship to party and sold to party information). I am running this report every week. so i plan to create sqvi for this report.
Thanks and regards,
B.Deethya.Hello,
Access Tables VBAK & VBAP.
From the above tables you will get Solt to Party & Ship to Party Codes.
For Customer names you have to pass the Customer Codes to Table - KNA1
Hope this clarifies.
Thanks,
Jignesh Mehta -
VD05 - Customer master record blocked for sales orders and billing
Hi,
I have a scenario whereby I have blocked a customer master record for sales orders and billing using transaction VD05, but it still allows you to create sales orders and post billing documents.
What is the reason for this?
Regards
GandiHi,
Block the customer for the sales order, delivery and Billing for the specific sales area in vd05
and try out,
Regards
Pradeep BV. -
CRM - R-3 integration for sales order and billing
Hi All,,
Please could you help me to set up the connectivity between CRM and R-3.
This will be for Sales order and billing.
Regards,
PiyushHi All,
Thanks for your information.
I have created a site, subscription, connectivity is established between R-3 and CRM through RFC destination.
What else do i need to do, Could you please share <b>step by step</b> information for the whole scenario 'Sales order in CRM to R-3 and Billing info from R-3 to CRM ?
This will help me a lot to do things.
If you have documents for this please mail me at [email protected]
Regards,
Piyush -
Table name for sales order history
hi guys,
I want to know the name of table which contains sales order history.
regards
neeleshHi
Use this code it will get all the details
Sales Order Changed History Display
Sales Order Changed History Display
You can execute the report by :
1. Change Date
2. User Name
3. Sales Order Number
Submitted by : SAP Basis, ABAP Programming and Other IMG Stuff
http://www.sap-img.com
REPORT ZSDCHANGE LINE-SIZE 132 NO STANDARD PAGE HEADING
LINE-COUNT 065(001)
MESSAGE-ID VR.
TABLES: DD04T,
CDHDR,
CDPOS,
DD03L,
DD41V,
T685T,
VBPA,
TPART,
KONVC,
VBUK.
DATA: BEGIN OF ICDHDR OCCURS 50.
INCLUDE STRUCTURE CDHDR.
DATA: END OF ICDHDR.
SELECT-OPTIONS: XUDATE FOR ICDHDR-UDATE,
XNAME FOR ICDHDR-USERNAME,
XVBELN FOR VBUK-VBELN.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
PARAMETERS: SUDATE RADIOBUTTON GROUP R1,
SNAME RADIOBUTTON GROUP R1,
SOBID RADIOBUTTON GROUP R1.
SELECTION-SCREEN END OF BLOCK BLK1.
DATA: WFLAG,
WCHANGENR LIKE CDHDR-CHANGENR,
WUDATE LIKE CDHDR-UDATE,
WNAME LIKE CDHDR-USERNAME,
WVBELN LIKE VBUK-VBELN,
WDEC1 TYPE P DECIMALS 3,
WDEC2 TYPE P DECIMALS 3,
WDEC3 TYPE P DECIMALS 3,
WDEC4 TYPE P DECIMALS 3.
DATA: UTEXT(16) VALUE 'has been changed',
ITEXT(16) VALUE 'has been created',
DTEXT(16) VALUE 'has been deleted'.
DATA: BEGIN OF ICDSHW OCCURS 50.
INCLUDE STRUCTURE CDSHW.
DATA: END OF ICDSHW.
DATA: BEGIN OF ITAB OCCURS 10.
INCLUDE STRUCTURE CDSHW.
DATA: UDATE LIKE CDHDR-UDATE,
USERNAME LIKE CDHDR-USERNAME,
CHANGENR LIKE CDHDR-CHANGENR,
VBELN(10),
POSNR(6),
ETENR(4),
INDTEXT(200),
END OF ITAB.
SELECT * FROM VBUK WHERE VBELN IN XVBELN.
CLEAR CDHDR.
CLEAR CDPOS.
CDHDR-OBJECTCLAS = 'VERKBELEG'.
CDHDR-OBJECTID = VBUK-VBELN.
PERFORM READHEADER.
PERFORM READPOS.
LOOP AT ITAB.
CASE ITAB-TABNAME.
WHEN 'VBPA'.
IF ITAB-FNAME = 'KUNNR' OR
ITAB-FNAME = 'LIFNR' OR
ITAB-FNAME = 'PARNR' OR
ITAB-FNAME = 'PERNR' OR
ITAB-FNAME IS INITIAL.
MOVE ITAB-TABKEY TO VBPA.
SELECT SINGLE * FROM TPART WHERE SPRAS = SY-LANGU
AND PARVW = VBPA-PARVW.
IF SY-SUBRC = 0.
REPLACE '&' WITH TPART-VTEXT INTO ITAB-INDTEXT.
ENDIF.
ENDIF.
WHEN 'VBAP'.
IF ITAB-FNAME IS INITIAL.
REPLACE '&' WITH 'Item' INTO ITAB-INDTEXT.
ENDIF.
WHEN 'KONVC'.
MOVE ITAB-TABKEY TO KONVC.
SELECT SINGLE * FROM T685T WHERE SPRAS = SY-LANGU
AND KVEWE = 'A'
AND KAPPL = 'V'
AND KSCHL = KONVC-KSCHL.
IF SY-SUBRC = 0.
REPLACE '&' WITH T685T-VTEXT INTO ITAB-INDTEXT.
ENDIF.
ENDCASE.
IF ITAB-INDTEXT(1) EQ '&'.
REPLACE '&' WITH ITAB-FTEXT(40) INTO ITAB-INDTEXT.
ENDIF.
IF ITAB-CHNGIND = 'I'.
REPLACE '%' WITH ITEXT INTO ITAB-INDTEXT.
ELSEIF ITAB-CHNGIND = 'U'.
REPLACE '%' WITH UTEXT INTO ITAB-INDTEXT.
ELSE.
REPLACE '%' WITH DTEXT INTO ITAB-INDTEXT.
ENDIF.
CONDENSE ITAB-INDTEXT.
MODIFY ITAB.
ENDLOOP.
ENDSELECT.
IF SUDATE = 'X'.
SORT ITAB BY UDATE VBELN POSNR ETENR.
ELSEIF SOBID = 'X'.
SORT ITAB BY VBELN POSNR ETENR UDATE.
ELSE.
SORT ITAB BY USERNAME VBELN POSNR ETENR UDATE.
ENDIF.
LOOP AT ITAB.
CLEAR WFLAG.
IF SUDATE = 'X'.
IF WUDATE NE ITAB-UDATE.
SKIP.
WRITE:/001 ITAB-UDATE,
023 ITAB-USERNAME,
037(10) ITAB-VBELN.
WFLAG = 'X'.
WUDATE = ITAB-UDATE.
WCHANGENR = ITAB-CHANGENR.
ENDIF.
ELSEIF SOBID NE 'X'.
IF WVBELN NE ITAB-VBELN.
SKIP.
WRITE:/001 ITAB-VBELN.
WVBELN = ITAB-VBELN.
ENDIF.
ELSE.
IF WNAME NE ITAB-USERNAME.
SKIP.
WRITE:/001 ITAB-USERNAME.
WNAME = ITAB-USERNAME.
ENDIF.
ENDIF.
IF WCHANGENR NE ITAB-CHANGENR.
WRITE:/023 ITAB-USERNAME,
037(10) ITAB-VBELN.
WFLAG = 'X'.
WCHANGENR = ITAB-CHANGENR.
ENDIF.
IF WFLAG = 'X'.
WRITE: 013 ITAB-CHNGIND,
049 ITAB-POSNR,
057 ITAB-ETENR,
065 ITAB-INDTEXT(60).
ELSE.
WRITE: /013 ITAB-CHNGIND,
049 ITAB-POSNR,
057 ITAB-ETENR,
065 ITAB-INDTEXT(60).
ENDIF.
WRITE:/065 ITAB-F_OLD.
WRITE:/065 ITAB-F_NEW.
ENDLOOP.
FORM READHEADER.
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
DATE_OF_CHANGE = CDHDR-UDATE
OBJECTCLASS = CDHDR-OBJECTCLAS
OBJECTID = CDHDR-OBJECTID
TIME_OF_CHANGE = CDHDR-UTIME
USERNAME = CDHDR-USERNAME
TABLES
I_CDHDR = ICDHDR
EXCEPTIONS
NO_POSITION_FOUND = 1
OTHERS = 2.
CASE SY-SUBRC.
WHEN '0000'.
WHEN '0001'.
MESSAGE S311.
LEAVE.
WHEN '0002'.
MESSAGE S311.
LEAVE.
ENDCASE.
ENDFORM.
FORM READPOS.
LOOP AT ICDHDR.
CHECK ICDHDR-UDATE
IN XUDATE.
CHECK ICDHDR-USERNAME
IN XNAME.
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING
CHANGENUMBER = ICDHDR-CHANGENR
TABLEKEY = CDPOS-TABKEY
TABLENAME = CDPOS-TABNAME
IMPORTING
HEADER = CDHDR
TABLES
EDITPOS = ICDSHW
EXCEPTIONS
NO_POSITION_FOUND = 1
OTHERS = 2.
CASE SY-SUBRC.
WHEN '0000'.
LOOP AT ICDSHW.
CHECK ICDSHW-CHNGIND NE 'E'.
CLEAR ITAB.
MOVE-CORRESPONDING ICDHDR TO ITAB.
MOVE-CORRESPONDING ICDSHW TO ITAB.
CASE ITAB-TABNAME.
WHEN 'KONVC'.
MOVE ICDHDR-OBJECTID TO ITAB-VBELN.
MOVE ICDSHW-TABKEY(6) TO ITAB-POSNR.
WHEN OTHERS.
MOVE ICDSHW-TABKEY+3(10) TO ITAB-VBELN.
MOVE ICDSHW-TABKEY+13(6) TO ITAB-POSNR.
MOVE ICDSHW-TABKEY+19(4) TO ITAB-ETENR.
ENDCASE.
MOVE '& %' TO ITAB-INDTEXT.
APPEND ITAB.
CLEAR ITAB.
ENDLOOP.
WHEN OTHERS.
MESSAGE S311.
LEAVE.
ENDCASE.
ENDLOOP.
ENDFORM.
TOP-OF-PAGE.
WRITE:/ SY-DATUM,SY-UZEIT,
50 'SALES ORDER CHANGE HISTORY',
120 'Page', SY-PAGNO.
WRITE: / SY-REPID,
60 'SALES ORDERS STATISTICS'.
SKIP.
ULINE.
IF SUDATE = 'X'.
WRITE:/001 'Change Date',
013 'Time',
023 'User Name',
037 'Sale Order',
049 'Line',
057 'Sch No',
065 'Changes'.
ELSEIF SOBID = 'X'.
WRITE:/001 'Sale Order',
013 'Line',
021 'Sch No',
029 'Change Date',
041 'Time',
051 'User Name',
065 'Comment'.
ELSE.
WRITE:/001 'User Name',
015 'Time',
025 'Change Date',
037 'Sale Order',
049 'Line',
057 'Sch No',
065 'Changes'.
ENDIF.
ULINE.
*--- End of Program
Regards
Shiva -
Report for Sales Order Change History CDPOS and CDHDR
How to take a report of the data for the Sales Order Change history for a particular period of time. It is required to take a report of all the Sales Orders for which the basic price has been changed. Please let me know the procedure. I could not get the data from the table CDPOS and CDHDR
Helpful answer would be rewarded.
Regards
PraveenDear Praveen Kumar
Have you tried with VBAP where sale order details at item level would be stored.
Moreover, to my knowledge, there won't be any changes as for as pricing is concerned at sale order level but there is at billing level. Normally, any price increase / decrease would reflect in billing. So why dont you to table join through SQVI VBAP (for sale order details) and VBRP (for billing details) so that you can compare the selling price in sale order with billing.
Thanks
G. Lakshmipathi -
Update KOMV-KBETR field for sales order and billing
I would like to update the KOMV-KBETR (condition amount or percentage) under condition tab for both Sales order and billing.
example:There are two condition types ZA00 and ZB00 and need to get the KBETR value from ZA00 and add it to KBETR value of ZB00 and update the sum in KBER value of ZB00.
1. creation of sales order & billing.
2. Change of sales order & billing.
3. For single & multiple line items in both sales order & billing.
4. during updation of price in the change mode of sales order & billing.
5.When user click on Update button in the condition tab(i.e., when clicked on Carryout new pricing)
I tried with the VOFM routine but as the routine is triggering multiple times the sum is calculated again and again.For that I set flags also.It is working for sales orders but for billing creation the field XKOMV-KBETR is cleared after this routine.
So I would like to know are there any EXITS for this scenario or any one entountered the similiar issue which I am facing.Hi Brad,
It is an Client requirement.So need to do the addition of that condition types.
Can you please let me know the configuration point where we can do it and the condition type which we need to update the Rate/Amount value.ie., KOMV-KBETR is and Price list value and not the subtotal one.
Thanks,
Srilakshmi Lagisetty. -
Report for Sales Order changes
We are searching for a report which can list the changes of sales order items for a selected group of materials.
Thanks for the help.Please search the forum before posting. This has been discussed many times and being an old member, you should be aware of forum rules. Please try to adhere to forum rules. Answer to your query is execute AUT10.
G. Lakshmipathi -
Badi name for Sales order download from R/3 to CRM
Hi Guys,
Can some one give me the badi name for below requirement.
Requirement:
We are downloading the orders from R/3 to CRM system.while downloading the Order history from R/3, top level VC (Variant config data) is also comming to CRM.
But we want to download only 73 top level VC's Out of 103 top level vc.we want to filter the 30 Top level VC's before starting the Intial load of Sales orders in CRM system.
I need a badi name in the R/3 system, which filters the 30 top level VC's while orders going to CRM system.
I will allot Max points for Perfect Solution.
Regards,
Sathya Reddy.Hi Roberto,
I need a badi name,which helps to delete the unwanted Top level vc's while starting an Intial load of orders from R/3 to CRM.I don't want see the Unwanted 30 top level vc's after intial load in the CRM order.
Hope you understand the requirement.
Regards,
Sathya Reddy. -
Copy control and program name for Sales Order to Delivery
Hi,
Please provide the copy control and program name to split a single delivery into multiple invoices depending on the sales order it belonged to and to split a single sales order into multiple deliveries depending on the shipping type.
Thanks in advance.Hi there,
In VTFL, at item level, there is a field called "Data VBRK/VBRP". Routine 001 & 007 are for invoice split. Those may be relevant for your case.
In VOFM, select data transfer --> billing docs in the menu bar. It will give you the requirement numbers & their description.
Select the required routine num & click on Source text (note pad icon) on the above. It will give you the prog / include names.
For eg for 001 its FV60C001, for 007 its FV60C007.
Regards,
Sivanand -
Workflow for sales order change
hi
im new to workflow.can anyone help me the steps to configure a workflow to send a mail whenever a change in sales order.
thanksHi,
Please refer the link given below and develop workflow for your requirement.
(For your requirement, you need to use BOR BUS2032 with Method SalesOrder.Change and use the start event SalesOrder.CHANGED)[link1|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0bbdb3c-d640-2a10-d3b2-e4d9b90536a6] -
How to find out Enhancement details for Sales Order
Hello,
Follwing is the scenerio:
As soon as Third Party Sales Order created, Header Billing block gets triggered (from Sales Doc settings in VOV8).
In Sales Order there are 4 items of items:
1. Hardware Material (Price) with Item Category, say A
2. Hardware Material (Free-of-Charge) with item category, say B
3. Service Material (Price) with Item Category, say C
4. Service Material (Free-of-Charge) with item category, say D
Now there is another billing block, at item level, for Hardware Material (Price) - item cat. A, ONLY.
I checked item cat. in VOV7, and this block is not configured there.
Sales Order saved (with pop-up message - Maintain Serial No. for Material, but as it's third party Order, stock is not in Inventory, so no Serial number at this point of time). PR triggered upon saving the Order. from PR, PO gets generated,and then MIRO.
Now, as vendor Invoice received with Stock details (Manufacturer's Serial No.), we go to VA02 and maintain Serial No. (Extra --> Serial No.) for all 4 types of material (Pls note that Billing block is for Hardware Price Material, but we need to maintain Serial No. for all 4 types of material) and save order.
As soon as, serial no. maintained, item level billing block gets removed for Hardware (price) material, automatically.
I need to understand how this functionality has been achieved?
More precisely how and where i can see the technical details, like What program is being developed, which user-exit is being used etc...
Thanks.Hi Sumitra,
Since the system exit handler has to call your BADI go to SE24 and display
CL_EXITHANDLER
Chose method get_instance and set a break point.
And, then press F8, so it will show all the Badi's.
Regard's,
Shivesh Ranjan.
Maybe you are looking for
-
I have purchased StoreIt (and also SQLite Console) for my iPod but it is not clear to me how to import a CSV file into a StoreIt "category", after reading and rereading the documentation at http://www.database4iphone.com/faq/import-text-file-into-sto
-
Converting Wordperfect documents into Word
I am considering upgrading from 10.3 to 10.4. I have over 100 "Wordperfect" documents (a Classic application). Can I use automater to open these documents, copy the contents of these documents and paste them into a "Word" document, and then save each
-
Apex_util.get_print_document returns empty blob
Hi, I'm trying to convert a xsl-fo template into PDF. I have the following code: begin declare v_retval blob; v_data blob; v_xls clob; v_xml_dat clob; begin select page_template into v_xls from flows_030100.wwv_flow_report_layouts where flow_id =101
-
Smart Mailboxes don't work with the junk folder
I've had a Smart Mailbox that worked for many years, but now it wont. This Smart Mailbox is set up like this: Contains messages that match all of the following conditions: Message is in Mailbox Junk Subject Does not contain *VL-JUNK* Subject Does not
-
Putting own custom Writer class in the runtime enviornment of JSP
Hello All: i have a doubt that i have made my own JSPWriter class and i want to use this class to be loaded in the runtime enviornment of the tomcat to get a custom output that is required by me .... for this i have written my own PageContext and thr