Change order date if output for change order
Hi guys,
how do i pull the change order date on to the printout only if the output is for change order.I don't know much about change order.i would really appreciate your help.
Thanks
Chris
Hi Cheris,
Assume you mentioned purchase order change date ?
Change document date won't be updated in the purchase order header table(EKKO) or purchase order item table(EKPO).Generally all the changes will updated in the CDHDR (Change doument header table ) with Object value <b>OBJECTID</b>( Doument number ex: purchase order ) , User name of the person responsible in change document <b>USERNAME</b> , Creation date of the change document <b>UDATE</b> and etc,..
In your case consider CDHDR- UDATE filed as change order date. While selecting the updated information from the table make join query bet'n EKKO, EKPO and CDHDR with required combination and show the change order date on the PO printout.
I hope this will helps for you.Thanks.
Regards,
SAP TN.
Similar Messages
-
Output for changes versions in SRM
Hello,
We are currently trying to control when our SRM (server 550)system is to send output to our vendors, but the output is only to be sent if specific elements in an order is changed.
To do this we are using the table BBPD_COMP_FIELDS.
This works very well, there is just one problem that we cant seem to understand why.
If you created an order, then change the order with something that was not suppost to send output (because it is set in the table above) it sends the output. If you then change the same again it will not send out put (which is correct).
So what it does is for changes that shouldent send output when changed:
order --> output (correct)
change1 --> output (Wrong)
change2 --> no output (correct)
it should of been:
order --> output
change1 --> no output
change2 --> no output
Question is why and how do we get it to stop doing this?
Hope someone can help us.
Best Regards
Lisa M SimonsenHi
Use the PO version control BADi to change the version for the PO on identified field changes. In SPRO, out put conditions, trigger the change output when there is a change version of the document. This should work.
BBPD_COMP_FIELDS (with SM30). There is something mentioned about which fields to compare for PO output, you have to scroll some way down to get there.
Re: Changed PO output
Also, Please go through the following pointers, which might help you out.
Re: PO output fields
Re: Control PO output to vendor
Re: No Output Condition on Purchase Orders
Version Details
Do let me know.
Regards
- Atul -
T Code for doing mass output for Sales order like VL71 for Delivery
Hi
Can anyone let me know what is the t code for the sales orders for which despatch time was set as "3- using own transaction"
MuthuHi,
Though there is a program, there is no output for sales order similar to VL71 for delivery. Sales order is the only transaction for which there is no tcode for this purpose.
You can do the following.
Go to SE38 give program name SD70AV1A and execute
Now give ur selection criteria and save this as a variant.
Now you can schedule a job at regular intervals using this variant.
This will enable that if you maintain the output record as 3(using own transaction), the output will be created in mass for multiple sales orders. -
Order type dependent parameters for process order
Hello friends,
In Order type dependent parameters for process order (T.C COR4), there is subscreen for Process data documentation.Inside it we have three options :a) Batch Record Required
b) Order Record Required
c) No Process Data Documentation Reqd.
Through F1 help whatever information i have got regarding them, is not cleared.
According to it, if i select Order Record Reqd, than first of all i will have to delete (archieve) the order record than only i can delete (archieve) the process order.The same is with Batch Record Required.
So according to it if i want to delete the process order than first i will have to delete order record.So guys may i know which order record firstly i have to delete?Than only the system status for process order will not have the status ORRQ (Order Record Reqd).
And one more thing friends,if i select the third option No Process Data Documentation Reqd than which process data documentation system will not create?Or what will happen if i select this third option?
Thankingy you guys in advance.HI
For process data documentaion pls check the following link:
http://help.sap.com/saphelp_47x200/helpdata/en/89/a43ea8461e11d182b50000e829fbfe/frameset.htm
Thanks -
Change detector failed while scanning for changes to type User
I'm receiving lots of system log warnings in IdM.
These warnings are not bound to any particular action in IdM, they just do appear while IdM is on.
Almost one warning per one second.
Change detector failed while scanning for changes to type Server
Change detector failed while scanning for changes to type UserForm
Change detector failed while scanning for changes to type User
Change detector failed while scanning for changes to type Resource
SysLog detail:
Timestamp 123
Event
Server server11
Severity Warning
Component Repository
Error Code OCDT00
Message Change detector failed while scanning for changes to type User
Reported cause java.lang.NullPointerException
java.lang.NullPointerException
at com.waveset.repository.ObjectChange.equals(ObjectChange.java:112)
at java.util.HashMap.eq(HashMap.java:299)
at java.util.HashMap.containsKey(HashMap.java:381)
at java.util.HashSet.contains(HashSet.java:182)
at com.waveset.repository.ObjectChangeManager$RemoteChangeDetector.dispatchChanges(ObjectChangeManager.java:398)
at com.waveset.repository.ObjectChangeManager$RemoteChangeDetector.run(ObjectChangeManager.java:314)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)same here, just deployed 8.1 with oracle as db. It results in syslog table growing into 10+G and still growing.
wonder if there are others who are seeing this.
my "syslog -d 1" output looks like this...
2009-12-02 04:52:55.972 null W xxx RP OCDT00 Change
detector failed while scanning for changes to type Account
2009-12-02 04:53:06.400 null W xxx RP OCDT00 Change
detector failed while scanning for changes to type Server
2009-12-02 04:53:06.578 null W xxx RP OCDT00 Change
detector failed while scanning for changes to type User
2009-12-02 04:53:06.914 null W xxx RP OCDT00 Change
detector failed while scanning for changes to type Account
2009-12-02 04:53:17.479 null W xxx RP OCDT00 Change
detector failed while scanning for changes to type Server
C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.18\webapps\ims\bin
lh syslog -d 1 -
SRM 7.0 Output for changed purchase order documents
Hi all,
if we change purchase orders we like to send a PO output document for changed purchase orders only if we change certain PO fields in header or items.
What is the functionality in PO - Header - Output - Order and Send Immediatelly ? We thought that this function is the solution!
But independent we press the button <Order and Send Immediatelly > or button <Order> the system creates allways an output document in any cases of PO field changes which will be sent to a supplier (fax, email). How we can control that a PO document only will be created in cases we define ?
Kind Regards
Edited by: Hermann-Josef Wessels on Mar 28, 2011 6:53 PMHi Jay,
we like to control the output because PO changes for G/L account, cost centre or change from account assigment order to cost centre are not interesting for the supplier and in this cases a PO document should not be sent to the supplier. This was the main reason why we like to use function <Order and Send Immediatelly>.
So I would like to clarify the requirement:
1. Automatic created output document if a new PO will be created
2. Automatic created output document if a PO will be changed but no output if the following fields will be changed:
e.g. for G/L account, cost centre or change from account assigment order to cost centre
So we come back in our discussion to table: BBPV_COMP_FIELDS. There are entries for POO = PO Output and POR = Version comparison for Purchase Order.
Question: Can I use structure name: BBP_PDS_ACC for our requirement. If yes which field-names I have to maintain in detail in this table. If possible I need the entries in detail.
Kind Regards
Edited by: Hermann-Josef Wessels on Mar 30, 2011 9:20 AM -
How to change Document Date on a Old Purchase Order
We are having issues with about 57 purchase orders document date set at 12/31/2999 that is causing issues implementing Business Intelligence. Is there a program that I can use to change these dates back to 12/31/2019 or something. Due to calendar year 2999 not being setup BW can not bring this information into their queue. I hate to do this via debug. Are there any options. Thank you for your help.
ChandraAccording to SAP, since purchase order is a legal document they do not support the process of changing document number. They suggested I do the change with debug and replace at my own risk. In ME22N go to debug and type MEPO_TOPLINE-BEDAT. The values for this field show up as 29991231 that should be changed to 20191231 and press F8, then save the purchase order.
-
Purchase order already exists error for change Idoc 860
Hi all
I am getting an error that purchase order number already exists, when i try to post change inbound IDoc 860. How can I fix this issue?
Thanks in advanceThis can be b'coz of Check purch.order no is active (A - Check whether the purchase order number already exists) in your sales doc type (TCode VOV8) used for the transaction.
So, if for your business process, one PO number can be mention in more than one sales orders. Then maintain Check purch.order no should mention as <Blank> - No Check under your sales doc type used for transaction's General Control. Or else use diff. PO Number.
Hope this can assist you.
Thanks & Regards
JP -
Urgent- Can we change the data in an Approved sales order
Hi Experts,
Can we change the data once the Sales Order is Approved. If not Is there a solution to be done through SDK or B1 itself. Any help will be greatly apprieciated.
Thanks
JohnHi John,
Unfortunately it cannot be done. Because if you are not able do it manually or by User Interface then it will not be possible by SDK or any other approach,as far as I Know.
Meanwhile you can create a duplicate of the approved document. Make changes to that. And Close or Cancel the approved one.
Hope it helps.
Thanks & Regards
Ankit Chauhan -
Processing log output for Purchase order
Dear All,
Iam getting some problem when iam creating an IDOC and checking in the Processing log for IDOC number.
Actually i had created one custom idoc for Purchase order since my client need only some field and in one line for header and line item, I had done it and i can see it in sdata of EDIDD structure. When i create a Purchase order and save it an idoc number is posting and I can see this file in my physical directory indeed.
Now when iam going into change mode of PO ME22n to see the Processing LOG, It is not showing the IDOC Number in Purchase order output processing log popup.The processing log will only show output based standard output control (Table NAST).
How is your IDoc being created. Via a user exit, BADI. If so then they will not appear on the processing log.
It is being created as a custom IDOC for which i had written a Z function module and given that in PO processing code which is ME10. When iam checking the standard IDOC for PO it is generating the IDOC in processing log as well.
Iam just placing my code just have a look at it and suggest if any thing needs to be done.
FUNCTION Z_IDOC_OUTPUT_ORDERS.
""Local Interface:
*" IMPORTING
*" VALUE(OBJECT) LIKE NAST STRUCTURE NAST
*" VALUE(CONTROL_RECORD_IN) LIKE EDIDC STRUCTURE EDIDC
*" EXPORTING
*" VALUE(OBJECT_TYPE) LIKE WFAS1-ASGTP
*" VALUE(CONTROL_RECORD_OUT) LIKE EDIDC STRUCTURE EDIDC
*" TABLES
*" INT_EDIDD STRUCTURE EDIDD
*" EXCEPTIONS
*" ERROR_MESSAGE_RECEIVED
*" DATA_NOT_RELEVANT_FOR_SENDING
DATA: xdruvo. "Druckvorgang
DATA: neu VALUE '1', "Neudruck
h_kappl LIKE nast-kappl, "Hilfsfeld Applikation
h_parvw LIKE ekpa-parvw, "Hilfsfeld Partnerrolle
h_ebeln LIKE ekko-ebeln. "Hilfsfeld Belegnummer
CLEAR control_record_out.
xdruvo = neu.
h_kappl = object-kappl.
h_ebeln = object-objky.
h_parvw = object-parvw.
DATA:
LT_EDIDC LIKE EDIDC OCCURS 0 WITH HEADER LINE,
L_EDIDC LIKE EDIDC,
L_SEND_FLAG,
W_SDATA LIKE EDIDD-SDATA.
DATA: T_BDI_MODEL LIKE BDI_MODEL OCCURS 0 WITH HEADER LINE.
DATA: T_EDIDC LIKE EDIDC OCCURS 0 WITH HEADER LINE.
DATA: T_EDIDD LIKE EDIDD OCCURS 0 WITH HEADER LINE.
DATA: C_MESSAGE_TYPE LIKE EDIDC-MESTYP VALUE 'ZORDER'.
*- Call function module to determine if message is to be distributed
OBJECT_TYPE = 'BUS2012'.
MOVE control_record_in TO control_record_out.
CALL FUNCTION 'ALE_MODEL_DETERMINE_IF_TO_SEND'
EXPORTING
MESSAGE_TYPE = C_MESSAGE_TYPE
IMPORTING
IDOC_MUST_BE_SENT = L_SEND_FLAG.
EXCEPTIONS
OWN_SYSTEM_NOT_DEFINED = 1
OTHERS = 2.
DATA : BEGIN OF EKKO_tAB OCCURS 0,
EBELN LIKE EKKO-EBELN,
F1 TYPE C VALUE ',',
BUKRS LIKE EKKO-BUKRS,
F2 TYPE C VALUE ',',
BSART LIKE EKKO-BSART,
F3 TYPE C VALUE ',',
LIFNR LIKE EKKO-LIFNR,
F4 TYPE C VALUE ',',
WAERS LIKE EKKO-WAERS,
F5 TYPE C VALUE ',',
BEDAT LIKE EKKO-BEDAT,
F6 TYPE C VALUE ',',
WERKS LIKE EKPO-WERKS,
F7 TYPE C VALUE ',',
PLIFZ LIKE EKPO-PLIFZ,
F8 TYPE C VALUE ',',
EBELP LIKE EKPO-EBELP,
F9 TYPE C VALUE ',',
MATNR LIKE EKPO-MATNR,
F10 TYPE C VALUE ',',
MENGE LIKE EKPO-MENGE,
F11 TYPE C VALUE ',',
MEINS LIKE EKPO-MEINS,
F12 TYPE C VALUE ',',
END OF EKKO_TAB.
DATA SDATA1 LIKE EKKO_tAB OCCURS 0 WITH HEADER LINE.
DATA EBELN LIKE EKKO-EBELN.
WRITE OBJECT-OBJKY TO EBELN.
SELECT T1EBELN T1BUKRS BSART LIFNR WAERS BEDAT WERKS PLIFZ EBELP MATNR MENGE MEINS
FROM EKKO AS T1
INNER JOIN EKPO AS T2 ON T2EBELN = t1EBELN
INTO CORRESPONDING FIELDS OF TABLE EKKO_tAB
WHERE
*T1~KAPPL = 'EF' AND
T1~EBELN = EBELN.
*T1~KSCHL = 'YEDI' .
DATA SDATA LIKE EDIDD-SDATA.
DATA NDATE LIKE SY-DATUM.
DATA NMENGE(17) TYPE C.
LOOP AT EKKO_tAB.
WRITE EKKO_TAB-MENGE TO NMENGE.
NDATE = EKKO_tAB-BEDAT + EKKO_tAB-PLIFZ.
CONCATENATE EKKO_tAB-EBELP ',' EKKO_tAB-BUKRS ',' EKKO_tAB-BSART EKKO_tAB-EBELN ',' EKKO_tAB-LIFNR ',' EKKO_tAB-BEDAT ','
NDATE ',' EKKO_tAB-BSART EKKO_tAB-EBELN ',' EKKO_tAB-EBELN ', 0,' EKKO_tAB-MATNR ','
NMENGE ',' EKKO_tAB-MEINS ',' EKKO_tAB-WERKS INTO SDATA.
MOVE SDATA TO: W_SDATA, T_EDIDD-SDATA.
MOVE 'ZORDERS' TO T_EDIDD-SEGNAM.
APPEND T_EDIDD.
ENDLOOP.
*call function 'L_IDOC_SEGMENT_CREATE'
exporting
i_segnam = 'ZORDERS'
i_sdata = w_sdata
exceptions
others = 1.
*LT_EDIDC
call function 'L_IDOC_SEND'
tables
t_comm_idoc = LT_EDIDC
exceptions
error_distribute_idoc = 1
others = 2.
*DATA T_BDI_MODEL LIKE BDI_MODEL.
WRITE OBJECT-OBJKY TO T_BDI_MODEL.
READ TABLE T_BDI_MODEL INDEX 1. " maximum 1 recipient
L_EDIDC-DIRECT = 1.
L_EDIDC-DOCNUM = DOCNUM. "***
L_EDIDC-RCVPRN = 'HCM_00_785'.
L_EDIDC-RCVPOR = 'MM_PO_FILO'.
MOVE 'ZORDER' TO L_EDIDC-MESTYP.
MOVE 'ZPURIDOC' TO L_EDIDC-IDOCTP.
MOVE 'LS' TO L_EDIDC-RCVPRT.
MOVE T_BDI_MODEL-RCVSYSTEM TO L_EDIDC-RCVPRN.
*MOVE-CORRESPONDING L_EDIDC TO W_EDIDC.
*- Distribute the iDoc
BREAK-POINT.
CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE' "IN UPDATE TASK
EXPORTING
MASTER_IDOC_CONTROL = L_EDIDC
TABLES
COMMUNICATION_IDOC_CONTROL = LT_EDIDC
MASTER_IDOC_DATA = T_EDIDD
EXCEPTIONS
ERROR_IN_IDOC_CONTROL = 01
ERROR_WRITING_IDOC_STATUS = 02
ERROR_IN_IDOC_DATA = 03
SENDING_LOGICAL_SYSTEM_UNKNOWN = 04.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE LT_EDIDC INDEX 1.
control_record_out-direct = '1'.
CONTROL_RECORD_OUT-DOCNUM = DOCNUM. " ***
control_record_out-serial = sy-datum.
control_record_out-serial+8 = sy-uzeit.
control_record_out-mestyp = LT_EDIDC-mestyp.
control_record_out-idoctp = LT_EDIDC-idoctp.
control_record_out-SNDPRN = 'HCM_00_786'.
MOVE 'MM_PO_FILO' TO control_record_out-RCVPOR.
MOVE 'LI' TO control_record_out-SNDPRT.
MOVE 'SAPQIS' TO control_record_out-SNDPOR.
ENDFUNCTION. -
Reg the output for sales order
hi friends,
i have raised the sales order, i have gone to change mode and i have got the output.
here, my problem is when i try to enter some more sales data in the same sales order in the change mode , i was unable to get the output for the respective order.
Msg : output has not been selected..
Thanks in advance
rajurahimHi there,
What O/p are you talking here?
Usually O/p will be trigered when the doc is saved. In some scenarios, it is triggered when some details are changed. The condition under which it is triggered is maintained in the requirement routine in the O/p determination procedure.
Also if the condition records are maintained, it will automatically trigger. If you want to re-trigger, then you need to go got VA02, select the O/p & click on repeat O/p.
In your case, what I feel is the requirement is not met when you try to retrigger the O/p.
Regards,
Sivanand -
Change due date in receivables for credit check
Hi Sappers!!
Scenario: When SAP performs a credit check for a customer we need that pending receivables
(open items) for this customer which have a concrete payment method, don't use due date
for calculation, instead we want to use invoice date for carrying out the credit check
calculation.
Is that posible? Is there any user-exit where we can change this date to be used during
credit check control for documents which fulfill this requirement?
We don't want to change permanently the due date for this kind of documents, we only need to take another date into account when performing credit control.
Thanks so much in advance & best regardsThanks so much for your quickly answer.
Creating a new payment term is not a valid solution because, we don't want to change any date in the financial document. We just only need to use another data only for credit check. Here you have a concrete example:
Invoice created with invoice date 01/12/2009
Payment method confirming 90 days.
Base line calculated: 01/03/2010
If we create a new sales order, this open item will not be considered exceeded because due date is still in the future.
We want to consider it as exceeded and the due date would be 01/12/2009 but only for credit check. This "new" due date must not be stored anywhere.
Thanks so much once again & best regards -
Updating Batch classification data from MIGO for Purchase order
Hi,
I need to update batch classification data (in MSC3n) from MIGO for purchase order. The logic needed for this is as below,
1) Pass material and batch to MCH1 table to get CUOBJ_BM.
2) Pass CUOBJ_BM to INOB table to get INOB-OBJEK.
3) Pass INOB-OBJEK to CLAF_CLASSIFICATION_OF_OBJECTS to get class name & characteristic name.
4) Pass INOB-OBJEK, CLASS name and characteristic name to BAPI_OBJCL_CHANGE to update batch classification data.
I created implicit enhancement at the bottom of FM "CLVF_VB_INSERT_CLASSIFICATION". But the problem is, the return parameter of BAPI_OBJCL_CHANGE is giving the following error.
Class type 023, object type MCH1, object RAW-6 0000001151
Object is currently locked by user
The assignment was not changed
Please let me know how to do it. Is there any BADI or User Exit?Hi,
As you said the break point is not triggering did you activate your exit and activated even the project to which your exit is assigned.
I hope you missed activating your project in CMOD transaction. Please verify it once and if it is not activated then immediately activate it and try debugging again.
Regards,
Rafi -
Hi All,
I have created an output type for item level output in sales order.Please suggest me what is the program and FORM routine to be assigned to this output type.
Thanks,
Anup.Hello,
You have to create the PRINT PROGRAM & SMARTFORM as per your requirement.
Program can be created in the SE38 transaction code
Smartform can be created in the transaction code SMARTFORMS
This will be done be ABAPERS, just you have to give the functional specifications to the ABAPERs to fetch the data.
Hope it is clear,
thanks,
santosh -
When I connect my 5s to itunes for a sync, the sync gets struck on either Step 4, waiting for changes to be applied, or "downloading safe safari data." This does not happen with my ipad. Any suggestions would be appreciated. Thx, Jimmy
Same thing has been happening to me and I havent been able to find a fix. Itunes has basically rendered my phone uselsee. It wont see it, let alone sync it.
Maybe you are looking for
-
i am having an MacBook Pro 13inch , having an Startup Problem , the time i press the power button after few seconds the apple symbol appears with a loading sign below it and wont go further ahead of it . My data is all in the hard drive .. . I even
-
Hello, I know this sounds like already discussed but my case is a little different. I have got two web applications, one for testing that just contains ADF-Faces and the other one is the actual project with ADF-Faces, Spring(JSF variable resolver), S
-
Ip4 loosing internet connection
my phone keeps dropping my internet connection even when i have full wifi strength, it has only been doing this since i upgraded to 4.3.1. It's not my router or modem as I have the same problem at work on another wireless link. What's going on??
-
Maintaining WebUI Business Roles in PFCG/Infotype 1263
Hello there, we are migrating from CRM 4.0 to CRM 7.0 and have to maintain the Business Roles for our users in the organization modell (PPOMA_CRM). Usually we have to assign the business role to the position. All users under this position will get th
-
If I run this class: import java.awt.*; import java.io.*; import javax.swing.*; public class Main { public static void main(String[] args) throws FileNotFoundException, IOException { StringBuilder htmlCode = new StringBuilder(