Functional module for automatic creation of pur requisition & pur order
hello,
what is the functional module for automatic creation of puchase requisition and automatic creation of purchase order which we will assign in action box in service order processing management.
please let me know as early as possible
regards,
rajesh kumar raju
Hi,
Please check with following.
IDOC_INPUT_ACC_PURCHASE_REQUI
IDOC_INPUT_ACC_PURCHASE_ORDER
/ISDFPS/OR_PURCHASE_ORDER_CR
BS01_PURCHASE_DOCUMENT_CREATE
CO_MP_CREATE_PURCHASE_ORDER
Thanks & Regards
Sadhu Kishore
Similar Messages
-
BAPI/Function Module for Debtor Creation
Hi Friends,
Could you pls let me know the BAPI or Function Module for Debtor Creation.
Thanks
RavindraHi,
I found one link for you, check out probably help you out.
http://abap.wikiprog.com/wiki/Category:BAPI_Debtor
Thanks,
Krishna -
Function module for Delivery and billing based on sales order
Hi Friends
I am developing an object which has to create the sales order, delivery for that sales order and billing for it at the same time.
I have tried for few function modules to create the delivery and billing but I am not able to achieve.
Would you please help me by providing the correct function modules for these 2 activities?
Thanks
PraveenHi Nikhil
Thanks for reply,
i am creating the sales order using the BAPI "BAPI_SALESORDER_CREATEFROMDAT1" only, but the billing document bapi
"BAPI_BILLINGDOC_CREATE" is for online creation, it will call the t-code 'VF01'.
I need to create the billing document with out calling the t-code like using bapi for sales order. Please suggest me if there are function modules to achieve this.
Thanks
Praveen -
Function Modules for Actual, Plan, Budget Cost over internal orders
Dear All,
I need a function module for getting the Actual, Plan, Budget Costs for the internal orders assigned.
I want to fetch the cost related to internal order which is assigned to project C projects in PLM.hai tehre are no such funcion moduels
u have to select from bpge and bpja tables
and sum up them
afzal -
Function Module For Item Level Details of a Sales Order
Hi Guys,
I have to get the item level details for a particular sales document no ..I want to know if there is any function module existing for the same.
Also I need any function module for getting the contact information such as contact form (KNVK-ANRED),contact name(KNVK-NAM1),contact name(KNVK-NAMEV),Contact number (KNVK-TELF1).
Please let me know if anyone is aware of it.
Thanks in Advance,
Mayank<b>SD_SALES_DOCUMENT_READ</b> Reads sales document header and business data: tables VBAK, VBKD and VBPA (Sold-to (AG), Payer (RG) and Ship-to (WE) parties)
<b>SD_SALES_DOCUMENT_READ_POS</b> Reads sales document header and item material: tables VBAK, VBAP-MATNR
<b>SD_DOCUMENT_PARTNER_READ</b> partner information including address. Calls SD_PARTNER_READ
<b>SD_PARTNER_READ</b> all the partners information and addresses
<b>SD_DETERMINE_CONTRACT_TYPE</b>
In: at least VBAK-VBELN
Exceptions: NO CONTRACT | SERVICE_CONTRACT | QUANTITY_CONTRACT
<b>SD_SALES_DOCUMENT_COPY</b>
<b>RV_ORDER_FLOW_INFORMATION</b> Reads sales document flow of sales document after delivery and billing
SD_SALES_DOCUMENT_SAVE create Sales Doc from the copied document
SD_SALES_DOCUMENT_ENQUEUE to dequeue use DEQUEUE_EVVBAKE
RV_DELIVERY_PRINT_VIEW Data provision for delivery note printing
SD_PACKING_PRINT_VIEW
SD_DELIVERY_VIEW Data collection for printing
called from RV_DELIVERY_PRINT_VIEW, SD_PACKING_PRINT_VIEW
RV_BILLING_PRINT_VIEW Data Provision for Billing Document Print
regards
vinod -
Function module for automating creation of organizational unit
Experts,
I am using SRM 4.0. In my system R/3 is acting as backend.
For creation of new organisational unit in SRM, which is not present in SRM but present in R/3 side i have to do the manual activity every time.
Is there any function module? Which can automate this process. If there is any function module which i can use please let me know. and how can i use that also please let me know.
By this automation every time through the program the new organization unit should created in SRM side.
Please let me know..
Thanks in advance. I will appriciate through rewards points.Hi,
Thanks for your input. But i am planning to send one file for HR records and then from that file through program i will upload the file. IF for some user the orgaisation unit will not be found then there itself it would create the OU through Function module(If Any)... I am doing like this as the HR system is some legacy system not the R/3 system.
So Please help me to find out function module.
i will appeciate for you help.
Thanks -
Function module for Article creation (transaction MM41)
Hello,
I have been trying to create an article which is normally done using transaction MM41.
I am trying to use BAPI_MATERIAL_SAVEDATA to do this, but since article creation is different from regular material creation, there are fields that are not available, for example article category (MARA-ATTYP).
Another problem encountered with the BAPI is that the industry section is a required input. For MM41 it is not a required field.
Therefore, is there an available function module aside from the BAPI mentioned above that can perform article creation?
If the BAPI above is sufficient, how can I properly populate the necessary fields?
Additional information: requirement is developed in 4.6c.
provide the code I've been working on if asked.
Thanks in advance!Hello Harsh
To extend the article to another distribution channel you need to populate the salesdata/salesdatax structures of the BAPI. For example:
CLEAR wa_salesdata.
wa_salesdata-material = material.
wa_salesdata-sales_org = salesorg.
wa_salesdata-distr_chan = dstchan.
wa_salesdata-item_cat = itemcat.
wa_salesdata-matl_stats = '1'.
APPEND wa_salesdata TO i_salesdata.
CLEAR wa_salesdatax.
wa_salesdata-material = material.
wa_salesdata-sales_org = salesorg.
wa_salesdata-distr_chan = dstchan.
wa_salesdatax-item_cat = 'X'.
wa_salesdatax-matl_stats = 'X'.
APPEND wa_salesdatax TO i_salesdatax.
I believe the important data you need to have are material, sales org, and distribution channel.
Hope this helps. -
Function modules for delivery creation, change, deletion.
hi all,
anyone know and worked on function module to create/change/delete deliveries with reference to sales order/without reference of sales order.
if any one knows about the function modules please let me know.BAPI_DELIVERYPROCESSING_EXEC will allow you to create an outbound delivery, but this is <b><u>not released</u></b> for customer use yet(Rel.47). Type that function module in the forum search area and you will get some sample code.
-
Remote Function module for Model creation
Can any body give solution to this query?
To get update the table : /sapapo/model which remote function module we can use?
But I need this newly created model available in to the table : /sapapo/model
Thanks
SasiHi,
Goto T code SE37
Give FM name /SAPAPO/MVM_INT_SVC_CR_MOD
Go to Function module Click Test sequence
Give the name of Fm /SAPAPO/MVM_INT_SVC_CR_MOD
Then give BAPI_TRANSACTION_COMMIT
Two parameters reqd - modelid and model text
Then will update the /SAPAPO/MODEL table -
FUNCTION MODULE FOR ERROR LOG IN BILLING OF SALES ORDER
Hello,
Is there any way through which I can access the error log generated while releasing billing through vfx3?
Is tehre any function module or table for the same?
Regards,
Krutikathe problem resolved myself.
-
Function Module for TECO(technically complete) a maintenance work order
Hi,
Please let me know if there is any FM for TECO(technically complete) a maintenance work order.
Regards,
VimalIs there any BAPI for the same as the FM STATUS_CHANGE_INTERN is doing TECO without considering other statuses which need to be done.
I do technically complete in IW32 by going to ORDER-FUNCTIONS-Complete-Complete(Technically ). Once done Complete(Technically ) will be inactive and Cancel technical Completion will become active. But when i use this FM it does the teco but when i go to ORDER-FUNCTIONS-Complete-Complete(Technically ) it gives me following status information--System Status TECO is active. Also Complete(Technically ) remains active.
Please help.
Regards,
Vimal
Edited by: Vimal kumar on Sep 16, 2008 11:10 AM -
FUNCTION MODULE FOR AUTOMATIC MAIL GENERATION
Hello,
I want to generate an automatic mail of a scheduled report on everyday basis.
the output spool req of scheduled report in generated n saved inside the system.
Could you please help me in generating automatic mail through that saved spool request?
Regards,
Krutikahi,
use:
DATA: lv_filesize TYPE i,
lv_buffer TYPE string,
lv_attachment TYPE i,
lv_testo TYPE i.
DATA: li_pdfdata TYPE STANDARD TABLE OF tline,
li_mess_att TYPE STANDARD TABLE OF solisti1,
li_mtab_pdf TYPE STANDARD TABLE OF tline,
li_objpack TYPE STANDARD TABLE OF sopcklsti1,
li_objtxt TYPE STANDARD TABLE OF solisti1,
li_objbin TYPE STANDARD TABLE OF solisti1,
li_reclist TYPE STANDARD TABLE OF somlreci1,
li_objhead TYPE soli_tab.
DATA: lwa_pdfdata TYPE tline,
lwa_objpack TYPE sopcklsti1,
lwa_mess_att TYPE solisti1,
lwa_objtxt TYPE solisti1,
lwa_objbin TYPE solisti1,
lwa_reclist TYPE somlreci1,
lwa_doc_chng TYPE sodocchgi1.
CONSTANTS: lc_u TYPE char1 VALUE 'U',
lc_0 TYPE char1 VALUE '0',
lc_1 TYPE char1 VALUE '1',
lc_pdf TYPE char3 VALUE 'PDF',
lc_raw TYPE char3 VALUE 'RAW',
lc_ordform TYPE char15 VALUE 'ZORDCONFIRM_01',
lc_attachment TYPE char10 VALUE 'ATTACHMENT'.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = lc_pdf
max_linewidth = 132
IMPORTING
bin_filesize = lv_filesize
TABLES
otf = pv_otfdata
lines = li_pdfdata
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
LOOP AT li_pdfdata INTO lwa_pdfdata.
TRANSLATE lwa_pdfdata USING ' ~'.
CONCATENATE lv_buffer lwa_pdfdata INTO lv_buffer.
CLEAR lwa_pdfdata.
ENDLOOP.
TRANSLATE lv_buffer USING '~ '.
DO.
lwa_mess_att = lv_buffer.
APPEND lwa_mess_att TO li_mess_att.
CLEAR lwa_mess_att.
SHIFT lv_buffer LEFT BY 255 PLACES.
IF lv_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Object with PDF.
REFRESH li_objbin.
li_objbin[] = li_mess_att[].
DESCRIBE TABLE li_objbin LINES lv_attachment.
Object with main text of the mail.
lwa_objtxt = space.
APPEND lwa_objtxt TO li_objtxt.
CLEAR lwa_objtxt.
DESCRIBE TABLE li_objtxt LINES lv_testo.
Create the document which is to be sent
lwa_doc_chng-obj_name = text-008.
lwa_doc_chng-obj_descr = text-008.
lwa_doc_chng-sensitivty = lc_0.
lwa_doc_chng-obj_prio = lc_1.
lwa_doc_chng-doc_size = lv_testo * 225.
Pack to main body.
CLEAR lwa_objpack-transf_bin.
header
lwa_objpack-head_start = 1.
The document needs no header (head_num = 0)
lwa_objpack-head_num = 0.
body
lwa_objpack-body_start = 1.
lwa_objpack-body_num = lv_testo.
lwa_objpack-doc_type = lc_raw.
APPEND lwa_objpack TO li_objpack.
CLEAR lwa_objpack.
Create the attachment.
Fill the fields of the packing_list for the attachment:
lwa_objpack-transf_bin = gc_x .
header
lwa_objpack-head_start = 1.
lwa_objpack-head_num = 1.
body
lwa_objpack-body_start = 1.
lwa_objpack-body_num = lv_attachment.
lwa_objpack-doc_type = lc_pdf.
lwa_objpack-obj_name = lc_attachment.
lwa_objpack-obj_descr = text-008.
lwa_objpack-doc_size = lv_attachment * 255.
APPEND lwa_objpack TO li_objpack.
CLEAR lwa_objpack.
lwa_reclist-receiver = pv_emailid.
lwa_reclist-rec_type = lc_u.
lwa_reclist-notif_del = gc_x.
lwa_reclist-notif_ndel = gc_x.
APPEND lwa_reclist TO li_reclist.
IF li_reclist IS NOT INITIAL.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = lwa_doc_chng
put_in_outbox = gc_x
TABLES
packing_list = li_objpack
object_header = li_objhead
contents_bin = li_objbin
contents_txt = li_objtxt
receivers = li_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF. -
Error with Function Module for Automatically Reversing FI Documents
We are trying to use BAPIACREV to automatically reverse a document as part of workflow but get an error with 2 of the import parameters stating they were never transferred:
1) OBJ_KEY_R
2) OBJ_SYS
Does anyone know how to resolve this?Hi,
OBJ_KEY : Reference Key
This key value must be created while posting the document and this key must be maintained in any of SAP tables
for example : If the it is Accounting document then all detail found in BKPF and BSEG table, you can find OBJ_KEY in BKPF-AWKEY field.
OBJ_SYS : Logical system of source document
Logical system may be maintained in some table.
for example : If the it is Accounting document then all detail found in BKPF and BSEG table, you can find OBJ_SYS in BKPF-AWSYS field.
or you can use following FM to get logical system
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
OWN_LOGICAL_SYSTEM = L_V_OWN_LOGICAL_SYSTEM
EXCEPTIONS
OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1
OTHERS = 2 -
BAPI or Function Module for Vendor Creation.
I have found a BAPI - "BAPI_VENDOR_CREATE" but it is of noe help for creating a vendor offline becuase it is simply calling Txn XK01.
There is also a FM "VENDOR_INSERT" which directly inserts an entry into vendor master tables but without any validations.
Can anyone please give me a way to create and update vendors WITHOUT using BDCs and which has all standard validations.
If anyone has made a similar Z-object / ZBAPI, will be a great help if you could share it.plz try folowing fm's
FI_WT_CREATE_VENDOR
RM_ONETIME_VENDOR_MAINTAIN Log.IV One time vendor data maintenance
kanishak -
Function Module for Get Price and Bonus in Sales Order
Hi.. ABAP Guru's..
I wanna make a function for get price and get Bonus for all material items in sales order.
Help me for solving it.. Please.
Thanks a lot before and after.
Rgds,
Asep SaepudinHi,
Welcome to SDN.
Refer
https://forums.sdn.sap.com/click.jspa?searchID=7085162&messageID=782207
https://forums.sdn.sap.com/click.jspa?searchID=7085162&messageID=950526
Regards
Maybe you are looking for
-
What's wrong with my Mac's disk drive?
I have a Macbook running OS X Mountain Lion (10.7.5). It has multiple users on it because I share it with other family members. A member of our family is getting a new computer and is giving me and those who share the computer with me, the old one. T
-
Table Needs 1 Pt. Side Strokes that End in Solid Circle Caps
I am working on a long document that has numerous (over 100) callout text boxes that must flow with the text. Because there will be a number of edits in the copy, I have put that text into a 1-column/1-row table. This allows the callout text to keep
-
Error while using PayloadZipBean module
hi, For sending the data in zipped format in JDBC Adapter i used "PayloadZipBean" module. While Communication channel Monitoring at Receiver end I am getting this Error:-- "Message processing failed. Cause: com.sap.engine.services.jndi.persistent.exc
-
Aperture not displaying MobileMe Galleries
I have a half-dozen MobileMe galleries that I am using to allow clients to view image proofs. They are password-protected and hidden from my Gallery page. When I opened Aperture this morning, it does not show the MobileMe item in the project pane. No
-
hi, i have a selection screen with partner function and partner number. not i need to validate the partner no against the entered partner function and partner number need not be a customer only so i cannot validate it from table kna1. Can anyone tell