/AFS/BAPI_SALESORD_CREATEDATA???
Hello All,
I am currently working on a SAP-IS implementation project. Installing the Apparel & Footwear Solution.
The client has a requirement to automate the creation of Sales Orders from sales agents and customers in the field.
The proposed solution is to use XML documents emailed into either XI or Business Connector.
Does anyone know of existing schema, xsl, amd xml documents for the bapi mentioned in the subject line?
Hoping to shorten the development time.
Also, does anyone know what tools can be used for the data entry?
Thanks
David Cooper
David,
I am not clear with your question, are you asking how do you import the strcture of the BAPI that you want to use in your integration. If that is the question, you would not need any XML, you can directly import the RFC using the Imported Objects in your Int. repository.
What are the tools you are talking about?
Please clarify your questions.
Regards,
Ravi
Note : Please reward the posts that help you.
Similar Messages
-
Hi!
I need report similar to /AFS/MD04 AFS stock req list but for all material of one sale order on onew screen.
User want to see statuses for allpositions of order at one time to make decision about delivery.
any standart report?
Andrey Garshin.Hi Andrey,
I don't see a benefit from seeing statuses in a sales order.
/AFS/MD04 is a stock/requirements list for the MRP conroller.
It does a complete different calculation than ARUN or ATP.
It will not help you to determine what can delivered.
You can have orders in B status and still be able to allocate and deliver it.
So explain your business requirements. What do you want to see?
Best Regards,
Markus
Edited by: Markus Doerr on Jun 8, 2010 10:16 AM -
Table for temporarily stock /requirement for tocde /afs/mdo4
Dear expart,
I developed a zreport for display STO number, Production order number, operation etc.
mainly I use here AFPO,AFRU, MSEG, MCHB & J_3ABDSI Table.
My problem is, when I compare with Tcode /afs/md04 tab-temporarily stock /requirement .
for some MATNR
data show properly.
and some MATNR are blank with message Last MRP run on 04.04.2011 or such date.
Hhow i can filter the in Z-report which MATNR are not in Tcode /afs/md04 tab-temporarily stock /requirement .
my code is.
SELECT j_3abdsiaufnr j_3abdsimatnr j_3abdsij_4krcat j_3abdsimbdat j_3abdsi~menge INTO TABLE it_eket FROM j_3abdsi
FOR ALL ENTRIES IN it_final1
WHERE
j_3abdsi~j_4krcat = it_final1-j_4ksca AND
j_3abdsi~matnr = it_final1-matnr AND
j_3abdsi~werks = it_final1-werks AND
j_3abdsi~bdart = 'TB' AND
j_3abdsi~plart = 'B' AND
j_3abdsi~bsart = 'UB'.
Pls help .
Rayhan
Edited by: Abu Rayhan on Apr 5, 2011 10:24 AMCLEAR i_data1.
REFRESH i_data1.
LOOP AT i_mara.
READ TABLE i_marc WITH KEY matnr = i_mara-matnr BINARY SEARCH .
IF sy-subrc = 0 .
CALL FUNCTION 'J_3AM_DISPOSITION_DISPL'
EXPORTING
i_matnr = i_mara-matnr
i_werks = p_werks
I_DIALOG = ' '
I_SPERR = ' '
I_AUFRUF = ' '
I_BANER = ' '
i_todate = todate
I_HEADER_ONLY = ' '
IMPORTING
ex_dbba = i_data3
E_MDKP =
EX_PBBD =
EX_MELD =
E_CM61M =
EXCEPTIONS
material_gesperrt = 1
wbz_fehler = 2
material_prgr = 3
dispo_gesperrt = 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.
ELSE.
IF i_data3[] IS NOT INITIAL.
LOOP AT i_data3 INTO i_data4 .
IF ( i_data4-j_3astat ='A' OR i_data4-j_3astat ='T') AND i_data4-j_3abskz ='C' .
READ TABLE i_t001l WITH KEY lgort = i_data4-lgonr BINARY SEARCH .
IF sy-subrc = 0 .
CLEAR i_data1str.
i_data1str-matnr = i_data4-matnr.
i_data1str-j_3asize = i_data4-j_3asize .
i_data1str-lgort = i_data4-lgonr.
i_data1str-menge = i_data4-menge .
COLLECT i_data1str INTO i_data1.
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDLOOP.
Questions
i_mara recordset 500 material
It take more than 3 house to finished this report.
do changed ?
do you help me ?
Think. -
Change of Item Categoy in Sales Order - AFS
Hi Gurus,
I am working on AFS. In the sales order for which delivery has not been created, system is not allowing to change the item category. From TAN to TAQ.
I have maintained the Manual item category in VOV4. Still the item category field in sales order is in grey mode.
Please let me now how to make it editable.
Regards,
Naren DevHi Naren,
Can you please check if that item has any associated Purchase Requisitions?
Standars SAP does allow change of item category if alternative item categories are configured and subsequent document are not yet created.
Thank you
Chaitanya -
Hi,
I have loaded data for the AFS based datasource 2LIS_AF_PABDSI of PP. But there is no data in the field -
J_3ARESM(reserved quantity) - only showing 0,000. Used RSA3 transaction to extract data.
I checked it after filling up the setup tables. Data is present for all other fields.
Using MB25 transaction, when I give a particular production order - it has reservation data.
But, no data is present for Reservation Quantity in 2LIS_AF_PABDSI.
Thanks & Regards
Shine Sasimohanan
+91-9632674245Hi
I think this standard datasource is not fit for this filed. J_3ARESM(reserved quantity) filed populate through J_3ABDSI this table try it once with z datsource mapping through
J_3ARESM- ZJ_3ARESM(AFS Fixed reserved quantity)
Hope its help.
By,
Praveen Yagnamurthy,
SAP BI Consultant,
Blue Marlin Systems-INDIA.
http://bluemarlinsys.com/bi -
End Routine to populate custom AFS field for Billing Item extractor
I have the following scenario for Billing 2LIS_13_VDITM datasource
Doc_No Item Material Item_Categ AFS_field
2000 11 XYZ 123
2000 12 XYZ 123 US1
3000 11 PQR 456
3000 12 PQR 456 CA1
I need to populate the AFS_field in the first row also for all Doc Nos for certain Item categories (eg 123 & 456). I need to do this on the first transformation from PSA to DSO. I was planning to write a SELECT statement in the Start Routine with the PSA table as the reference as seen below and then write an End Routine calling this reference table. But the PSA table name is different in Dev, QA and Prod so I cannot use this.
TYPES: BEGIN OF S_AFS,
VBELN TYPE C LENGTH 10,
PSTYV TYPE C LENGTH 4,
MATNR TYPE C LENGTH 18,
J_4KRCAT TYPE C LENGTH 16,
J_4KSCAT TYPE C LENGTH 16,
END OF S_AFS.
DATA: LT_AFS TYPE STANDARD TABLE OF S_AFS,
LS_AFS TYPE S_AFS.
DATA: LT_DATA TYPE tyt_SC_1.
LT_DATA[] = SOURCE_PACKAGE[].
SORT LT_DATA DESCENDING BY VBELN MATNR J_4KRCAT.
DELETE ADJACENT DUPLICATES FROM LT_DATA COMPARING VBELN MATNR.
SELECT VBELN MATNR J_4KRCAT J_4KSCAT
INTO CORRESPONDING FIELDS OF TABLE LT_AFS
FROM /BIC/B0000777001
FOR ALL ENTRIES IN LT_DATA WHERE VBELN = LT_DATA-VBELN AND MATNR =
LT_DATA-MATNR.
SORT LT_AFS BY VBELN MATNR.
I am not an expert in writing ABAP code. Any suggestions are greatly appreciated and points will be assigned. Thank you.Hi
why do want to select the data from PSA table ?Already your trying to load data from PSA to DSO.
you want to populate the AFS field value in DSO right?
1. First you have to add AFS field in ur DSO
2. Write the Start routine based on ur scenario(select the data based on ur scenario and put into internal table).
3. wirte AFS field leval transfer routine(Read the corresponding record based on docu num,item num) pass into RESULT.
Regards,
GR -
Open Purchase order (AFS)- LSMW
What is the message type and basic type used for AFS open purchase order or BAPI for LSMW.
Hello,
Business object BUS2012 Purchase Order
Method CREATEFROMDATA Create Purchase Order
Message type PORDCR Create purchase order
Basic type PORDCR04 Create purchase order
Best Regards, Murugesh AS -
Will MIM (Merchandize and inventory management) work with SAP AFS / SAP POS
We are implementing SAP AFS ERP at the head office and SAP POS at the retail stores.
We want to implement the MIM module for inventory management at retail store level. Does MIM work in conjunction with SAP AFS. A consultant was suggesting that MIM works only with SAP Retail and no other vertical SAP solution.
Can someone please clarify?
Regards
paddyMIM is linked to IS Retail, not to AFS.
Nevertheless, you can always link and AFS and a Retail system. SAP provides a very convincing ALE scheme for this.
Eric -
Hi all,
can someone give some explanation about the differences between a normal sale order in sd and a sales order in sd afs?
Do you have some documentations?
thanks in advanceDear CMM,
Please go through the link. It gives you an update on how the things are different in AFS.
http://www.sapafs.net/
Do let me know in case of any queries.
Hope this helps you.
Do award points if you found them useful.
Regards,
Rakesh -
AFS ship-to party problem in sale order
Hi!
We use AFS solution.
I use customer "0000087655" as sold-to party in sale order and try to set customer "0001000016" as ship-to party but get message
"Top node 0000087655 for ship-to 0001000016 not maintained or ship-to is not valid
Message no. 8W321"
How to Solve this error?
Thanks and Regards
SureshkumarEnsure that the ship to party 0001000016 is created with correct account group. Else change it via XD07.
thanks
G. Lakshmipathi -
i have to create an open slaes order in AFS, with multiple line items and then for each line item, there will be multiple schedule line items,,
can anybody help me with this,,
any sample program????Hi
If u're working in AFS, there are some special BAPIs here:
/AFS/BAPI_SALESORD_CREATEFDATA is to create the order in stead of BAPI_SALESORDER_CREATEFROMDAT2
Max -
How to display Base values (AFS Grid) in the Report
Hi Friends,
We ar using AFS, in that we have Grid value like 0003A34
(8 chars: first 4 chars colour (0003), A represents Cup, 34 represents size of the Material), in that we can able to store the Base values like for International or US,
and for size 34 equivalent to 70 like wise.
In our reports we are using ALV grids, and showing the existing grid value like 0003A34, but we need to show Base value list like INTL or US etc, based on the region / area, the report should show the equivalent grid value like 0003A70 etc.
Please help me how to do this.
Thanks
ShankarDear Shankar;
I think you will be able to achieve what you try to do using grid conversion in AFS. Base Grid values can be converted to other values based on the customer, vendor or material depending on your requirement. This need to be configured in IMG and then the ID must be assigned in the Vendor or the Material Master as per the requirement.
This is somewhat complex config. Please contact me if you need any more clarifications ([email protected])
Azwath Mohammad
http://www.sapafs.net -
Create a Sales Order with Reference to Contract using IDoc / LSMW ( AFS )
Hi Gurus,
I need to crate a Sales Order with reference to a Contract. I need to upload Sales Orders with reference to contract via LSMW.
So far, I've been able to create the Sales Order with ref to contract. But, the Sales Order Quantity is not getting deducted from the Original Qty in Referred Contract ( When try to create another Sales Order referring to the same Contract.) When a Sales Order is created manually, this is working fine.
Please tell me if I've missed some parameter which stopping it create the link to exact schedule line ( Sizes level )
The Details of the IDoc which is been created via LSMW are as follows;
Message Type: ORDERS
Basic Type : /AFS/ORDERS05
Process Code : ORDE / DELO
( Tried with both process codes. But the Identification is the same for both: IDOC_INPUT_ORDERS )
*_In Header;_
Segment : E1EDK02 - IDoc: Document header reference data *
Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
Contract Order is mapped for field BELNR
*_In Item;_
Segment : E1EDP02 - IDoc: Document Item Reference Data *
Qualifier : '043' - Vendor Contract Number ( Tried with ' 005' - Customer Contract, but it's not working )
Contract Order is mapped to field BELNR
Line Item of the Contract is mapped to field ZEILE
I also tried passing the Schedule line of Contract in Segment : E1J3P01 AFS IDoc: Doc.item general data
to following fields;
J_3AETENV
J_3AVGETE
/AFS/UETENR
Still its not getting updated in the VBEP also..
Please help me with regard to this. Points will be awarded for your valuable contribution.
Thanks.Hi,
This issue is been resolved.
One of my friend helped me with resolving this issue..
Once the below mentioned configurations were done on SPRO, the Sales Order was created with reference to Contract and the Qty was reflected when tried to create a new Order referring the same contract.;
u2022 SPRO --> SD -->Sales --> Sales Documents --> Sales Document Header --> Define Sales Document Types --> Field : Outline agreement message; from blank to u201CBu201D.
u2022 SPRO -->SD -->Sales --> Sales Documents --> Sales Document Header --> Maintain Sales Document Types for AFS --> Field : Outline agreement message; from blank to u201CAu201D -
Is there a shopping cart in ME21N schedule line tab in AFS ?
Hello Experts,
My problem is exactly same as mentioned in following [ link|;
As explained in this thread regarding shopping cart in delivery schedule line items, in my system there is no shopping cart appearing in delivery schedule line items however shopping cart is there at header level near document type field.
I have to consolidate the quantities of PR based on material and grid value.
I am using AFS module.
Is this scenario possible to implement in AFS module, if yes, how?
Please help.
Edited by: shubh_ag on Mar 9, 2012 4:30 PM
Edited by: Jürgen L. on Mar 9, 2012 4:52 PMThere isn't a cart or basket - you will need to buy each item individually.
-
Two storage location concept in EWM AFS ROD.
Hi Experts,
This post looks very old so opening a new thread.
http://forums.sdn.sap.com/thread.jspa?threadID=1563967
As mentioned I would like to know the working of AFS and ROD storage locations in EWM.
ROD -- F1 Unrestricted in putaway , AFS -- F2 -- Available for sale.
1. I can perform goods receipt for both the storage location using inbound delivery.
For ROD stock will go to stock type F1
For AFS stock will go to stock type F2.
2. As per the information I can not perform goods issue from ROD ie I can not create a Outbound delivery to issue the goods from ROD storage location.
3. If any goods issue is needed I should transfer the goods from ROD storage location Stock type F1 to AFS storage location in EWM, may be by transfer posting.
Does these points make sense ?
Regards
Shashank
Edited by: Shashank Balooni on Aug 11, 2011 2:47 AMSelf:
In EWM we have to use two storage locations : 0001 (ready on dock ) and 0002 (available for sale )...
In configuration ewm : availibility group 001 + 0001 and availibility group 002 + 0002
availibility group 001 + F1 and availibility group 002 + F2
Create delivery and confirm the warehouse task : stock moves to 001 F1 , Storage type maintained in Warehouse process type > and this will trigger receipt in 0001 at IM
Later when the goods receipt is posted in EWM from delivery the stock will move from 001 / F1 to 002/ F2 in 0002 store in IM
Hope this helps !
shashank
Maybe you are looking for
-
Why selecting text and hitting F1 doesn't go to specific help page anymore?
Hi. Up until a while ago I was able to, while working on some code, select a particular actionscript component such as a Class, function or property and hit the F1 key which would immediately bring up Adobe Help in my internet browser already show
-
Satellite P25: How to reinstall original software without original drive working?
I have a P25 which has lost its screen and dvd. Screen is black with a dim light (graphics control problem I am told by Toshiba repair - requires motherboard change = USD1000). The DVD (Mat****u UJ-809?) makes sounds but is not recognizable by Window
-
In Sapscript, print page 1 on printer 1 and page on printer 2 -(tray setup)
Hello Experts, We have a requirement in our cheque printing program wherein we need to print on different printers. I think this has something to do with trays in sapscript. Because for page 1, we need to print on a pre-printed form and for page 2 on
-
OS X Yosemite: Organizer Hangs During Launch (Elements 12)
I recently moved to an SSD drive, did a clean OS install and a new Photoshop Elements 12 install. Organizer hangs/freezes on launch now. The log file is below, and is the same for each launch attempt. Help would be appreciated! 0 Elements Organizer
-
Terrible Customer Service Experiences and
Things added to my order I knew nothing about. I spoke with someone last night., after being on hold for over 20 minutes. We decided to upgraded my modem. Today I see there is an appointment scheduled later this week for VOICE. I have not idea what t