CIF for sales order
Hi APO Experts
When I do sales order changes like qty changes then Queues has formed in SMQ1 i.e CIF has trigger
but When I changed to Custom Partner Profile (With no other field has changed then CIF has not Trigger) due ti Custom partner Function Field has not Revalent to APO( This field has not in User exit CIFSLS02/03)
Please let me how to Trigger for custom fields which are not for APO Fields /not in CIF user Exit)
Thanks
Kanth
Hi Kamath,
Please try the below Enhancements/BADI
APOCF010
APOCF025
APOCFPCO
BADI :- /SAPAPO/SMOY_PUB_APP
Regards
R. Senthil Mareeswaran.
Similar Messages
-
Custom filed not appearing in APO while ECC-APO CIF for Sales Order
Hi,
I require a custom field to be passed to APO while CIF.
For this i created a custom field ZZKDGRP in CIFSLDCCUS in ECC and CI_SLDCCUS in APO.
While CIF in ECC ,the field is passing to the structure CI_SLDCCUS in APO.
but it is not appearing in product view /SAPAPO/RRP3.
The characteristic column (Pyramid) is blank.
Please help..suggest alternative..
Useful answers will be rewarded.
Thanks in advance.
KashyapHi Kamath,
Please try the below Enhancements/BADI
APOCF010
APOCF025
APOCFPCO
BADI :- /SAPAPO/SMOY_PUB_APP
Regards
R. Senthil Mareeswaran. -
Outbound Cif userexit for Sales order
Hi All,
Is there any outbound cif userexit for sales order. I need to modify few data in outbound userexit in R/3 side.
I know there is a Inbound userexit in APO but the requirement is such that I need to modify data in R/3 since data is available only in R/3.
Regards,
Prashant.Hi Prashant,
yes, there is such an EXIT - it's 'EXIT_SAPLCSLS_002' which is called from function 'CIF_SL_DOC_SEND'. This is the very last place to modify data before sales documents are sent to APO.
Hope this helps!
Best regards,
Sebastian Göbel -
Error while CIF'fing Sales order to APO
While I tried to CIF a Sales order from R3 to APO, there is ablicked Q in SMQ1 which reads
"Too many parameters specified with perform" in the FM /SAPAPO/CIF_SL_DOC_INBOUND.
Any ideas on what mightbe causing this issue and how to resolve this issue ?
ThanksHi
In SMQ1 I had executed blocked Q (F6) and system shows an information at the bottom left hadn corner as "Function module does not exist or EXCEPTION raised"
Even deleting Q and Reciffing SO didnt work..Application log in CFG1 doesn't show any exceptions. As the Q is blocked, I didn't see any meesages in APO log.
R3 SMQ1 log is displayed as below.
Function Module Queue Name Status
/SAPAPO/CIF_SL_DOC_INBOUND CFLDERPCLNT020_3316 Too many parameters specified with PERFORM.
CFG1 extended Log for FM CIF_SL_DOC_INBOUND while Ciffing SO to APO
Parameter: IS_APOINF
O,
Table: IT_REQX Entries: 4
No.,U,U,U,U,M,U,Purch.doc. ,Item ,Schd,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,
1 , ,X, ,X,N,X,0000057680 ,000010,0001,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X, ,
2 , ,X, ,X,N,X,0000057680 ,000010,0002,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X, ,
3 , ,X, ,X,N,X,0000057681 ,000010,0001,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X, ,
4 , ,X, ,X,N,X,0000057682 ,000020,0001,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X, ,
Table: IT_SDDOC Entries: 3
No.,Pmnt,P,Matl No. ,Matl No. ,Matl Grou,Prod.Hier. ,Ma,Ac,Re,Co,Val. Type ,Profit Ctr,Mat
1 ,DCLF, ,MATERIALXYZ , ,100 , , , , , , ,Z001DU
2 ,DCLF, ,MATERIALXYZ , ,100 , , , , , , ,Z001DU
3 ,DCLF, ,MATERIALXYZ , ,100 , , , , , , ,Z001DU
Table: IT_ATPFIELD Entries: 83
No.,Number ,MRP it,Field ,Char ,
1 ,0000057680 ,000010,LTIMEZONE ,EST ,
2 ,0000057680 ,000010,LZONE ,0000000001 ,
3 ,0000057680 ,000010,UEBTK ,X ,
4 ,0000057680 ,000010,PRREG ,AE ,
5 ,0000057680 ,000010,QNTY ,31.000 ,
6 ,0000057680 ,000010,RESMOD ,X ,
7 ,0000057680 ,000010,RESMOD_BATCH ,B ,
8 ,0000057680 ,000010,SCHED_BWLPROCESS ,E ,
9 ,0000057680 ,000010,EXT_MATNR ,MATERIALXYZ ,
10 ,0000057680 ,000010,UNAME ,USERV ,
11 ,0000057680 ,000010,/LPRIO ,01 ,
12 ,0000057680 ,000010,POSGUID , ,
13 ,0000057680 ,000010,BOP_FLAG ,N ,
14 ,0000057680 ,000010,BOP_SUPPORT ,Y ,
15 ,0000057680 ,000010,LREGIO ,NC ,
16 ,0000057680 ,000010,/UEBTO ,0.0 ,
17 ,0000057680 ,000010,/UNTTO ,0.0 ,
18 ,0000057680 ,000010,APO_SD_GID_EXT0001GOISSUE_DATE,20081002195959 ,
19 ,0000057680 ,000010,APO_SD_GID_EXT0002GOISSUE_DATE,20081010200000 ,
20 ,0000057680 ,000010,APO_SD_WMENG0001 ,31 ,
21 ,0000057680 ,000010,BPROC ,ZAP1 ,
22 ,0000057680 ,000010,/UEBTO ,0.0 ,
23 ,0000057680 ,000010,LOGSYS ,ERPCLNT020 ,
24 ,0000057680 ,000010,LLAND ,US ,
25 ,0000057680 ,000010,LAND1 ,US ,
26 ,0000057680 ,000010,KZAZU ,X ,
27 ,0000057680 ,000010,APO_SD_REQ_EXT0002RECEIVE_DATE,20081012140000 ,
28 ,0000057680 ,000010,APO_SD_REQ_EXT0001RECEIVE_DATE,20081006040000 ,
29 ,0000057680 ,000010,/UNTTO ,0.0 ,
30 ,0000057681 ,000010,LZONE ,0000000001 ,
31 ,0000057681 ,000010,BOP_FLAG ,N ,
32 ,0000057681 ,000010,PRREG ,A ,
33 ,0000057681 ,000010,UEBTK ,X ,
34 ,0000057681 ,000010,SCHED_BWLPROCESS ,A ,
35 ,0000057681 ,000010,RESMOD_BATCH ,B ,
36 ,0000057681 ,000010,RESMOD ,X ,
37 ,0000057681 ,000010,QNTY ,21.000 ,
38 ,0000057681 ,000010,BOP_SUPPORT ,Y ,
39 ,0000057681 ,000010,EXT_MATNR ,MATERIALXYZ ,
40 ,0000057681 ,000010,UNAME ,USERV ,
41 ,0000057681 ,000010,POSGUID , ,
42 ,0000057681 ,000010,/LPRIO ,01 ,
43 ,0000057681 ,000010,LTIMEZONE ,EST ,
44 ,0000057681 ,000010,APO_SD_GID_EXT0001GOISSUE_DATE,20081014195959 ,
45 ,0000057681 ,000010,APO_SD_WMENG0001 ,21 ,
46 ,0000057681 ,000010,/UNTTO ,0.0 ,
47 ,0000057681 ,000010,/UEBTO ,0.0 ,
48 ,0000057681 ,000010,BPROC ,ZAP1 ,
49 ,0000057681 ,000010,APO_SD_REQ_EXT0001RECEIVE_DATE,20081015040000 ,
50 ,0000057681 ,000010,/UNTTO ,0.0 ,
51 ,0000057681 ,000010,LREGIO ,NC ,
52 ,0000057681 ,000010,LOGSYS ,ERPCLNT020 ,
53 ,0000057681 ,000010,LLAND ,US ,
54 ,0000057681 ,000010,LAND1 ,US ,
55 ,0000057681 ,000010,KZAZU ,X ,
56 ,0000057681 ,000010,/UEBTO ,0.0 ,
57 ,0000057682 ,000020,LZONE ,0000000001 ,
58 ,0000057682 ,000020,/LPRIO ,01 ,
59 ,0000057682 ,000020,POSGUID , ,
60 ,0000057682 ,000020,BOP_SUPPORT ,Y ,
61 ,0000057682 ,000020,BOP_FLAG ,N ,
62 ,0000057682 ,000020,PRREG ,A ,
63 ,0000057682 ,000020,QNTY ,11.000 ,
64 ,0000057682 ,000020,UNAME ,USERV ,
65 ,0000057682 ,000020,UEBTK ,X ,
66 ,0000057682 ,000020,SCHED_BWLPROCESS ,A ,
67 ,0000057682 ,000020,RESMOD_BATCH ,B ,
68 ,0000057682 ,000020,RESMOD ,X ,
69 ,0000057682 ,000020,EXT_MATNR ,MATERIALXYZ ,
70 ,0000057682 ,000020,LTIMEZONE ,EST ,
71 ,0000057682 ,000020,/UEBTO ,0.0 ,
72 ,0000057682 ,000020,/UNTTO ,0.0 ,
73 ,0000057682 ,000020,APO_SD_GID_EXT0001GOISSUE_DATE,20081007175230 ,
74 ,0000057682 ,000020,APO_SD_WMENG0001 ,11 ,
75 ,0000057682 ,000020,BPROC ,ZAP1 ,
76 ,0000057682 ,000020,APO_SD_REQ_EXT0001RECEIVE_DATE,20081006040000 ,
77 ,0000057682 ,000020,/UNTTO ,0.0 ,
78 ,0000057682 ,000020,/UEBTO ,0.0 ,
79 ,0000057682 ,000020,KZAZU ,X ,
80 ,0000057682 ,000020,LAND1 ,US ,
81 ,0000057682 ,000020,LLAND ,US ,
82 ,0000057682 ,000020,LOGSYS ,ERPCLNT020 ,
83 ,0000057682 ,000020,LREGIO ,NC ,
Table: IT_REQ Entries: 4
No.,M,EinkBeleg ,Positi,Eint,MatNr ,Werk ,AT,Charge ,V.be,Offen ,Menge ,Pla
1 ,N,0000057680 ,000010,0001,MATERIALXYZ ,LOC10 ,BM, , ,31.000
2 ,N,0000057680 ,000010,0002,MATERIALXYZ ,LOC10 ,BM, , ,0.000
3 ,N,0000057681 ,000010,0001,MATERIALXYZ ,LOC10 ,BM, , ,21.000
4 ,N,0000057682 ,000020,0001,MATERIALXYZ ,LOC10 ,BM, , ,11.000
Table: IT_QUOT_VB Entries: 0
No.,Number ,MRP it,PlanObj no ,TSTAMP ,ConfirmQty ,Uni,ConfirmQty ,Item ind.
Table: IT_CCV Entries: 0
No.,Table ,CharValObj ,Class ,Char. ,Valid
Table: IT_DOC Entries: 3
No.,M,EinkBeleg ,Positi,V,V.be,
1 ,C,0000057680 ,000010,C,TA ,
2 ,C,0000057681 ,000010,C,ZOR,
3 ,C,0000057682 ,000020,C,ZOR,
Table: IT_GID Entries: 0
No.,Purch.doc. ,Item ,GUID ,
Table: IT_DOCX Entries: 3
No.,M,Purch.doc. ,Item ,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,U,
1 ,C,0000057680 ,000010,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
2 ,C,0000057681 ,000010,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
3 ,C,0000057682 ,000020,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,
Table: IT_ENQUEUE_ARGS Entries:0
No.,Cli,Model ,LogSystem ,APOAppl ,Created on,Changed ,ObjectType,Segm,S,BlockN,Created by ,A,Lengt,Vector
Table: EXTENSIONOUT Entries: 0
No.,Structure ,Data
Table: IT_DOC_TPDS Entries: 0
No.,Purch.doc. ,Item ,Location ,API ,Purc,Purch.doc. ,Item ,
Table: IT_DOC_CUS Entries: 0
No.,Purch.doc. ,Item ,
Table: IT_REQ_CUS Entries: 0
No.,Purch.doc. ,Item ,Schd,Date ,
Table: IT_QUEUE_NAMES Entries: 0
No.,Q Name ,Dest. ,
Table: IT_SD_MON_ITM Entries: 0
No.,M,Number ,Item ,G,CustFacLoc ,CusF,Location ,Loc.,Re,RJ,NO,RE,HighLe,Numera,Denom.,Uni,Numera,Deno
Table: IT_SD_MON_SCH Entries: 0
No.,M,Number ,Item ,Schd,GI Dt/Time,UE,
TIA
Edited by: SCM_Func on Oct 6, 2008 7:19 PM -
Integration model for sales orders failing repeatedly
Integration model for Sales Orders to APO is failing and in the CIF the error says "Customer requirement G BR 0082372353 900010 0000: liveCache problem, retu".
This error appears everytime you we run the integration model and it says in the Job log; ABAP/4 Processor: SYSTEM_CANCELED.
Note that this is "not" manually stopped but it still gives this error.Hi Kailash,
Run /SAPAPO/SDRQCR21 in apo for the part contained in your delivery document, which is failing. While running the report, check the radiobutton, Build the requirements from Doc.Flow table. This will remove the inconsistencies remaining in the requirement table on R/3 side.
Try this and let us know, if you could succeed.
Regards
Sanjeev -
Additional selection Condition for sales order in CFM1
Dear APO Gurus,
Our business scenario requires CFM1 to have additional selection
condition based on Sales order type (Table:VBAK, Field: AUART) for
sales order data.
Kindly guide us if there are any enhancement or OSS note to acheive the
requirement?
I know OSS note: 507696 can be used for enhancing CFM1 selection conditions based on MARC table
fields. Any way this will not solve our requirement.
Thanks in advance for your answer.
Vignesh MHi Bipin,
Yes, that would be an option if we couldnt find a solution for setting a new selection condition in CFM1. Is there a CIF userexit related to sales order? That would be grateful..
Cheers.
Thanks in advance
Vignesh M -
Query for Sales Order Analysis
Dear Experts
I have written a Query for Sales Order Analysis and would like to have help on this.
The query is used for generating daily report for Sales Order on number of documents (Sales Order), total amount of sales orders and total GP of Sales Order. The query is written as below:
SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum] ORDER BY T0.[DocNum]
where U_Total_GP is a UDF for storing the GP of each order.
After executing the query, a selection criteria of date appears and after a date is selected, the report shown information required. However, the query does not calculate column total for total amount and total GP. Although I know the total for each column can be displayed by pressing "Ctrl" + Click on the column title, it would have to be done from time to time.
Therefore, I would like to modify my query in order to calculate the column totals when executed. Are there any suggestions for this?
Thank you
Regards
EltonHi Elton,
Try this:
SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum]
Union ALL
SELECT '', SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
FROM ORDR T0 WHERE T0.[DocDate] =[%0]
ORDER BY T0.[DocNum]
Thanks,
Gordon -
Workflow for Sales Order Release via Status Profile
Dear all,
i want to make a workflow for sales order which have 4 User Status in One status profile.
Once Event triggered for sales order
1. Mail should go to main authority with sales order number.
2. Once authority will do some changes in the required field then he/she changes
the user status-1 from defauts as per line Item and mail should go to department no-1 (Head authority).
3. Once again same changes in sales order but now user status-2 from user status-1
as per line Item and mail should go to department no-2 (Head authority).
4. Once again same changes in sales order but now user status-3 from user status-2
as per line Item and mail should go to department no-3 (Head authority).
5. Once again same changes in sales order but now user status-4 from user status-3
as per line Item and mail should go to department no-4 (Head authority) .
and parrally for each changes of Status mail should also go to User (Event Creator).
6. Finally mail sholud go to User as you are permitted to do next business transaction for this sales order
Please tel me the process as i am very new this topic and i am always going to stuck in Binding.
please help me out.
Thank YouHi Neeraj,
First of all start with SWELS and SWEL T-Code to check if any standard event is getting triggered or not. If event is getting triggered, then use the same event to trigger the workflow; otherwise create a custom event of BO and use the same to trigger the workflow.
Hope you are aware of T-Code SWO1 and delegation of BO. The BO used for your requirement will be BUS2000115.
As you want the workflow to get triggered only for one status profile and one of its status, so use check function module. There set the condition for you status profile and status.
The FM which you will be using the most is CRM_ORDER_READ. To read the status, you can also use CRM_STATUS_READ_OW.
Now simply make the approval steps in the workflow using activity. In the activity, you can use the standard method USERSTATUSPOPUP to send the workitem for approval. In each step use the same activity with different agents as approvers.
Just go with these things and let me know if you get stuck up somewhere.
Regards,
Guddan -
hi,
i need to eliminate leading zeros for PO number which comes in SO created trough ALE.i found the enhancement for the FM idoc_input_orders.in that enahancement we have 12 FM's.my Leading zeros are comming for field belnr which comes in e1edk01 segment of idoc orders05.now i had coded my part of coding in FM exit_saplved.._oo1 and i had activated that.but it is not working for me.than i tought of going to other FM exit_sapl..._009.in which i'm not able go into the include either.plz help me out.thank you.Hi, Krishna!
With IDOC_INPUT_ORDERS during IDoc interpretation PO number is assigned to XVBAK-BSTKD field which is later used for sales order creation with reference to PO.
So all you need is to use some customer exit with changing parameters containing XVBAK after IDoc interpretation is completed. For example you can use EXIT_SAPLVEDA_009 which is called at the end of IDoc check after interpretation.
Regards,
Maxim. -
RBA GATP check is not getting invoked for Sales Order
Hi Everyone,
RBA GATP check is not getting invoked for Sales order.
I maintained the configuration settings for 'Rules-Based Availability Check', APO general settings (check mode, check instruction), carried out integrated rule maintenance, Rule determination for the combination of order type & product, associated the check mode to product master. Also maintained all the settings in ECC towards Req class, Req type, checking control etc.
However, sales order is not invoking RBA Check though it is showing up the 'Rule' icon in the screen. Also, in the APO Availability check in Sales order when I click onto 'check instruction', I get the checking mode that pertains to RBA for business event 'A' (Sales order). Though I have not maintained any stock for the main material for which I have the sales order, yet system is confirming any quantity that I put in.
I would expect that system would propose the same material in an alternate location where we have stock through RBA.
Request you to share ideas on this.
Regards,
Avijit DuttaHi Avijit,
You should used No Checking Horizon in Checking instructions and also Check your rule control settings.
What you have defined in 1st and 2nd steps. Check whether product substitution is carried out or Location Substitution.
Thanks,
Bala. -
How to create a daily report for sales order
hi
how to create a daily report for sales order. what fields it must consists of. what are the tables it need?Hi
You have to use the sales order tables VBAK,VBAP and VBEP
So keep date field on selection screen
and treat this date as Order creation data audat field in VBAK.
based on this fetch the data from VBAK and VBAP with the following fields like
VBELN, KUNNR,NETWR,POSNR, MATNR,ARKTX,KWMENG,WAERS etc and display in the report
<b>Reward points for useful Answers</b>
Regards
Anji -
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 -
How to look for sales order number if I know outbound delivery number?
How to look for sales order number if I know outbound delivery number?
Hi ,
If you want to see the Sales order Number from Outbound delivery or invoice,go to their respective T-codes,say for example,
for delivery,Goto Tcode: VL02N / VL03N.There you will find Document Flow Icon,click on that,or press F7.
You will get a window,there you can see the Sales order Number before your outbound delivery Number
With Thanks and Regards,
Priya -
WBS element for Sales Order Item level
Hi gurus,
I am trying to create an inbound idoc for sales order ' VA01'. I need to populate WBS element in the item level under Account Assignment Tab. I am using ORDERS05 basic type. Please help to find which segment to use for WBS element. Waiting for your reply. Please help.
Regards,
Satyajit
Edited by: Satyajit Saha on Feb 22, 2008 1:24 AMHi gurus,
I am trying to create an inbound idoc for sales order ' VA01'. I need to populate WBS element in the item level under Account Assignment Tab. I am using ORDERS05 basic type. Please help to find which segment to use for WBS element. Waiting for your reply. Please help.
Regards,
Satyajit
Edited by: Satyajit Saha on Feb 22, 2008 1:24 AM -
Requisitions for sale order stock
Requisitions for sale order stock that are generated directly from the
sales order are not passed to SRM but requisitions that are created
manually for sales order stock are passed to SRM.
Why is the sourcing of a requisition for sales order stock where the
requisition was created directly from the sales order not supported?Hi,
We need same requirement, we found only PR's with item category "5"(Third party ) created from sales are transfered to SRM.( It is hard coaded in ECC).
Let us know if you are able to resolve your issue.
Thank you
Sreedhar Vetcha
Maybe you are looking for
-
What is Apple doing to fix the bugs from IOS 7.1.2 update??? This update has ruined my phone! Why would you put out a update you know is going to ruin someones phone? Whats being done? I have tried everything to fix my phone which was just fine befor
-
I have a HP Pavillion G7-227 I cant solved a problem with the resolution. How I can change manually the resolution to use the laptop with a projector.
-
HT4859 can I use icloud to backup my mac?
can I use icloud to backup my mac?
-
At my work station I have both a ThinkVision L194W (LI3.6) and a ThinkVision L197W (v0.02). However, it appears the white temperature for these two monitors has been set differently - the L197W has a significantly bluer tone than the L194W, and it's
-
Troulbe configuring Identtiy Manager 6.0 on Sun Application Server 8.1
I am trying to deploy IDm6.0 on Sun App Server8.1 but I have trouble deploying it I am getting a 500 error ,while trying to access it. Please help me out in this regard,