Standard program for creating outbound IDoc holding wbs+cost plan
Hello,
a)
Before we start developing our own ABAP, I would like to ask the forum if somebody knows if there is already a standard ABAP program for generating outbound IDocs including wbs-element data (CJ20N; wbs ID, description) plus annual data from the cost planning (CJ41; such as fiscal year and costing items from unit costing; quantity, unit, price per unit, total price, description of item) ?
b) we are planning to use the logical message /ISDFPS/PS, basic type /ISDFPS/PS01 and enhance this IDoc with segments for the costing items from the cost planning.
Question: Do you know if there is a standard IDoc which has segments for both wbs-element data and costing items?
Kind regards
Viveka Schwartz
Hi Frank,
Did u check this Link on the PP confirmaitos[LINK|http://help.sap.com/saphelp_47x200/helpdata/en/12/3bbc1c504811d182c20000e829fbfe/frameset.htm]
Reg
Dsk
Edited by: DSk on Sep 14, 2010 3:44 PM
Similar Messages
-
Standard program for creating outbound IDoc including wbs + cost planning
Hello,
a)
Before we start developing our own ABAP, I would like to ask the forum if somebody knows if there is already a standard ABAP program for generating outbound IDocs including wbs-element data (CJ20N; wbs ID, description) plus annual data from the cost planning (CJ41; such as fiscal year and costing items from unit costing; quantity, unit, price per unit, total price, description of item) ?
b) we are planning to use the logical message /ISDFPS/PS, basic type /ISDFPS/PS01 and enhance this IDoc with segments for the costing items from the cost planning.
Question: Do you know if there is a standard IDoc which has segments for both wbs-element data and costing items?
Kind regards
Viveka SchwartzHi Frank,
Did u check this Link on the PP confirmaitos[LINK|http://help.sap.com/saphelp_47x200/helpdata/en/12/3bbc1c504811d182c20000e829fbfe/frameset.htm]
Reg
Dsk
Edited by: DSk on Sep 14, 2010 3:44 PM -
Standard program for uploading of IDOCs - CREMAS
Dear SAP gurus,
I would like to ask you if there exists some standard program for uploading IDOCs messages - type CREMAS (Vendor master data).
Thank you in advance.
AlenaHas not been solved.
-
Function Module to create Outbound IDoc
I have created a segment (ZSEGPRO), basic type (ZIDOCPRO) and message type (ZMSGPRO) to create a custom IDoc. Now I have to write a Function Module to create Outbound IDoc.
I want to know what will be in Import, Export, Changing, Tables, Exceptions and Source code of that function module. The fields used in the segment ZSEGPRO is given below:
Fld NameSource Data Elmn Description
PRODUCT MARA MATNR Material number
TEXT MAKT MAKTX Material description
PRN MARA YYBCEZNDR Print Field
Additional information: Export parameter will be BAPIRETURN for holding error message(if any).
These Function Module need not require to be RFC enabled.Hi ,
Refer these:
There are two main reasons
1) Make sure you call COMMIT WORK after the MASTER_IDOC_DISTRIBUTE
http://help.sap.com/saphelp_nw04/helpdata/en/78/21783151ce11d189570000e829fbbd/content.htm
2) The rest of the setting of the ALE IDoc might not have been done
http://help.sap.com/saphelp_46c/helpdata/en/78/2177c951ce11d189570000e829fbbd/frameset.htm
You can use the Area Menu WEDI and do the rest of the settings.
ALE Quick Start guide and ALE Programming Guides for your reference
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
Recent discussion which could be helpful,
About WE21, BD64, sm59
Regards
Shiva Kumar -
FM for ORDERS05 Outbound Idoc.
Hi,
I have to post an idoc of basic type ORDERS05 from a custom program.
I have populated the fields for control header and the data section of the idoc.I tried using the FM IDOC_OUTPUT_ORDERS to post the idoc,but when I went and checked in WE05,there were no idoc created.I don't understand why the idoc's are not been created.Could you help me in knowing how to use the FM IDOC_OUTPUT_ORDERS or if there are any other FM's to post an outbound idoc.
Please reply asap.
Thanks,
Sandeep.Hi,
There is a exit in the FM IDOC_OUTPUT_ORDERS line no 50... double click on the '001' it will take u to the Function Module EXIT_SAPLEINM_001... there click on the Zprogram ...
The FM has EKKO table fields has a Impirting parameter .
u write a code in that Z include program
u have to call the FM MASTER_IDOC_DISTRIBUTE in the program
which creates the IDOC
Thanks,
Manjunath MS -
How to use copy of standard program for direct input in LSMW
currently we're using object 0085 Purchase Orders and and method 0001 for standard direct input, which is processed with program RM06EEI0
now I want to set an additional flag and avoid creating it by means of BUS PurchaseOrder.CreateFromData1 method (coz the structure is quite different and more complex).
so my question is now how can i assign a copy of the standard program for processing?
for better understanding I've attached a screenshot of the according screen
[img]http://img71.imageshack.us/img71/1558/lsmwcr6.jpg[/img]ok, solution was to maintain table SXDA1 (SAPDXfer: Data Transfer Objects and Sub-Category).
modify entries for DXPRG, DXPR1 and LOADPRG with custom program names -
FM for create outbound delivery with order reference
Hi,
Can u pls tell me the function module name for create outbound delivery with order reference.
regards,
Mahi.Hi,
You can use the BAPI BAPI_DELIVERYPROCESSING_EXEC
Check this sample code..
PARAMETERS: p_vbeln LIKE vbak-vbeln.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr kwmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = p_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-kwmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
READ TABLE t_created INDEX 1.
Write: / t_created-document_numb.
Thanks
Naren -
How to do configuration to create outbound idoc using message control
The objective is to create outbound idoc based on some selection criteria using message control approach.The interface will be triggered when there is goods receipt via MIGO transaction.............Now based on the material document number from NAST table i am going to fetch data and do further processing inside the function module i am going to create.later idocs will be created via program RSNASTED.How we do the configuration to set up this whole operation?
Please go thru:
1) message control
2) http://help.sap.com/saphelp_di46c2/helpdata/EN/c8/19878343b111d1896f0000e8322d00/content.htm
Regards
Shital -
Function module for create outbound delivery
Hi,
Can any one pls tell me the BAPI function module name for create outbound delivery with order reference.
Regards,
MahiHi
This is the BAPI for creating Delivery with Sales Order Reference.
You can use the BAPI <b>BAPI_DELIVERYPROCESSING_EXEC</b>
Check this sample code..
PARAMETERS: p_vbeln LIKE vbak-vbeln.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
kwmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr kwmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = p_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-kwmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
READ TABLE t_created INDEX 1.
Write: / t_created-document_numb.
REWARD IF HELPFUL. -
Program for creating a model is locked by User
Hi Guys,
We have created a process chain to create the Integration Model and to activate the Integration Model using this prg RIMODGEN. So, This prg we have created variants for different location wise. This process chain contains 13 processes For each location, which is running in parallel. Some time we are getting the error message " Program for creating a model is locked by User
RegardsDear Pullaiah,
Locking happens if there is any overlap of models or duplicate scheduling of jobs with same variant.
See include LCIFIF01
CALL FUNCTION 'ENQUEUE_ECIF_IMOD'
EXPORTING
mode_cif_imod = 'E'
modelname = i_modid
logsys = i_logsys
apoapp = i_appl
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3.
So this means for you, you get the lockentry if the modelname, logsys and apoapp is the same. So please check again your variants if there is one with the same integrationmodels.
This can be the only reason we you get here this entry in your joblog.
Regards,
Tibor -
Standard program for unbilled sales orders and purchase order items
Can anyone advice, is there any standard program which gives the unbilled sales order and purchase order items.
Hi,
Use the T.Code VA05/VA05n for list of all the sales order s which are open.
Take T.Code:VA05N
Select the option "Open Sales Orders".
Execute.
It will give you all the orders which are open.
The standard program for this is:"SD_SALES_ORDERS_VIEW".
The same you can also get by using the T.Code VF04.
In this if your scenario is "Order related",then select the option "Order related".
Else if it is "Delivery related",then select "Delivery-related".
Execute.
The standatd program for this is:"SDBILLDL".
T.Code:VF05/VF05n is for list of billing documents.
Regards,
Krishna.
Note:Pls search the forum. -
Is there any standard program for vendor's ageing
Hi friends,
There is a standard program for customers ageing(s_alr_87012178).Now i have a requirement for vendors ageing......Is it possible ?
helpful answer is rewarded.
Thanks & Regards,
Anand kumar.Hi,
Check in the following,
All Standard Reports which are available are as under:
SAP Easy Access: Information Systems -> Logistics -> Sales and distribution ->
1. Customer -> Incoming orders / Returns / Sales / Credit memos / Sales activities / Customer master / Conditions / Credit Master Sheet
2. Material -> Incoming orders / Returns / Sales / Credit memos / Material master / ...
3. Sales organization -> Sales organization / Sales office / Sales employee
4. Shipping point -> Deliveries / Returns
5. SD documents -> Orders / Deliveries / Billing documents ...
& so on.
<b>Reward if helpful.</b> -
F.13 is a standard program for automatic clearing?
f.13 is a standard program for automatic clearing? can i include plant code to the standard program.....and it is used for display clearing......need information?
HI,
F.13 is a Stanndard program for Automatic clearing as you rightly siad. This is wholely dependent on the settings that you make in OB74 which is matching criteria.
Let me take an examloe and explain.
Lets say you have a customer invoice for 1,00,000/-. The customer has given 80,000/- once and 15,000/- once and the balance 5,000/- the company has issued a Credit Note.
If this is a single transaction in a year you may wonder why this F.13 is used. However in practice there will be many transactions per day it self and advising a business proces of F-32 account Clear is not a good practice as the user is loaded with transactions.
Hence You will be taking this as a periodic process and clearing automatically is advised using F.13.
For the system to understand you will be giving the matching criteria in OB74.
So when ever you run this program, program checks for matching Amounts in Dr and Cr sides with the matching feilds given in OB74
The uncleared items need attention which may or may not be processed manually,
For GR IR clearing also you can use this transaction and any open item manged account as longas the matching criteria is confiured.
I don't think you can use Plant code in this.
Reward points if useful.
Sarma -
Standard program for leave updation
HI all,
Is there any standard program for auto updation of leave quota.
Regards
janhavisee
after udateing infotypes 2001 and 2006
u need to run the above programmes to leave updatation
the response was given by snatosh and vinod -
Standard program for Weight up Ftable and Dim. Fable
Hi experts,
Which is the standard program for weight up the Fact table and Dimension table for an InfoCube?
I will assign point to every answer.
thanks a lot in advance
Best regards
FilippoHi Paolo,
Thanks for the info, What I really need is to know if the F Table and the Characteristic in an implemented InfoCube 's star schema are balanced eachother. I know that there is a SAP standard program to do that but I can't find it.
best regards
Filippo
Maybe you are looking for
-
Please explain me how I can use Form feed(\f) and Carriage return(\r)
what is Form feed(\f) and Carriage return(\r)? Please explain to me. Thank you.
-
My company has asked me to modify the payment process so that after the payment proposal is generated, a workflow would start. This workflow would route any payments in the proposal that are over $25K to someone for additional approval. Once the appr
-
LabView expert needed ASAP to help complete a project. Specific skills needed are database connectivity experience with the LV Database Toolkit. Initial phase is approx. 15-20 hours of work with the potential for much more if we find the right person
-
Reinstalled the Mac OS X and now iPhoto is gone?
I decided to entirely wipe clean my Mac by re-installing the Mac OS X discs. My memory was back to factory settings and my Mac was like brand-new. Fine... but then when I tried to import my pics from my digital camera, the memory card appeared as a f
-
When I saved an Illustrator CS6 file to EPS format, I got "could not complete the requested operation. unknown error." Google it and find some temp fix. run the illustrator by using "Run as admin" mode and fix the problem, but when use run as, can't